mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-12-22 19:39:24 +01:00
Shock Suppressor texture, recipe and doc
This commit is contained in:
parent
8b3de70a20
commit
15c8fcc244
6 changed files with 32 additions and 2 deletions
|
@ -98,7 +98,7 @@ public class BlockShockSuppressor extends BlockContainerBase{
|
|||
|
||||
@Override
|
||||
public EnumRarity getRarity(ItemStack stack){
|
||||
return EnumRarity.RARE;
|
||||
return EnumRarity.EPIC;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -119,6 +119,7 @@ public final class InitBooklet{
|
|||
new BookletChapter("longRangeBreaker", ActuallyAdditionsAPI.entryFunctionalRF, new ItemStack(InitBlocks.blockDirectionalBreaker), new PageTextOnly(1).addTextReplacement("<rf>", TileEntityDirectionalBreaker.ENERGY_USE).addTextReplacement("<range>", TileEntityDirectionalBreaker.RANGE), new PageCrafting(2, BlockCrafting.recipeDirectionalBreaker).setPageStacksWildcard());
|
||||
new BookletChapter("playerInterface", ActuallyAdditionsAPI.entryFunctionalRF, new ItemStack(InitBlocks.blockPlayerInterface), new PageTextOnly(1).addTextReplacement("<range>", TileEntityPlayerInterface.DEFAULT_RANGE), new PageCrafting(2, BlockCrafting.recipePlayerInterface).setNoText()).setSpecial();
|
||||
new BookletChapter("displayStand", ActuallyAdditionsAPI.entryFunctionalRF, new ItemStack(InitBlocks.blockDisplayStand), new PageTextOnly(1), new PageTextOnly(2), new PageCrafting(3, BlockCrafting.recipeDisplayStand).setNoText()).setSpecial();
|
||||
new BookletChapter("shockSuppressor", ActuallyAdditionsAPI.entryFunctionalRF, new ItemStack(InitBlocks.blockShockSuppressor), new PageTextOnly(1).addTextReplacement("<range>", TileEntityShockSuppressor.RANGE).addTextReplacement("<rf>", TileEntityShockSuppressor.USE_PER), new PageCrafting(2, BlockCrafting.recipeShockSuppressor).setNoText());
|
||||
|
||||
//RF Generating Blocks
|
||||
new BookletChapter("solarPanel", ActuallyAdditionsAPI.entryGeneratingRF, new ItemStack(InitBlocks.blockFurnaceSolar), new PageTextOnly(1).addTextReplacement("<rf>", TileEntityFurnaceSolar.PRODUCE), new PageCrafting(2, BlockCrafting.recipeSolar).setNoText());
|
||||
|
|
|
@ -159,6 +159,7 @@ public enum ConfigCrafting{
|
|||
ATOMIC_RECONSTRUCTOR("Atomic Reconstructor", ConfigCategories.BLOCKS_CRAFTING),
|
||||
MINER("Miner", ConfigCategories.BLOCKS_CRAFTING),
|
||||
FIREWORK_BOX("Firework Box", ConfigCategories.BLOCKS_CRAFTING),
|
||||
SHOCK_SUPPRESSOR("Shock Absorber", ConfigCategories.BLOCKS_CRAFTING),
|
||||
ENDER_STAR("Ender Star", ConfigCategories.ITEMS_CRAFTING),
|
||||
SPAWNER_CHANGER("Spawner Changer", ConfigCategories.ITEMS_CRAFTING),
|
||||
ITEM_INTERFACE("Item Interface", ConfigCategories.BLOCKS_CRAFTING),
|
||||
|
|
|
@ -90,6 +90,7 @@ public final class BlockCrafting{
|
|||
public static IRecipe recipeBookStand;
|
||||
public static IRecipe recipePlayerInterface;
|
||||
public static IRecipe recipeDisplayStand;
|
||||
public static IRecipe recipeShockSuppressor;
|
||||
|
||||
public static void init(){
|
||||
|
||||
|
@ -107,6 +108,15 @@ public final class BlockCrafting{
|
|||
recipeFireworkBox = RecipeUtil.lastIRecipe();
|
||||
}
|
||||
|
||||
//Shock Suppressor
|
||||
if(ConfigCrafting.SHOCK_SUPPRESSOR.isEnabled()){
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockShockSuppressor),
|
||||
"OOO", "OCO", "OOO",
|
||||
'O', new ItemStack(Blocks.OBSIDIAN),
|
||||
'C', new ItemStack(InitItems.itemMisc, 1, TheMiscItems.COIL_ADVANCED.ordinal())));
|
||||
recipeShockSuppressor = RecipeUtil.lastIRecipe();
|
||||
}
|
||||
|
||||
//Display Stand
|
||||
if(ConfigCrafting.DISPLAY_STAND.isEnabled()){
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockDisplayStand),
|
||||
|
|
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
"forge_marker": 1,
|
||||
"defaults": {
|
||||
"model": "minecraft:cube_all",
|
||||
"textures": {
|
||||
"all": "actuallyadditions:blocks/blockShockAbsorber"
|
||||
},
|
||||
"transform": "forge:default-block"
|
||||
},
|
||||
"variants": {
|
||||
"normal": [{}],
|
||||
"inventory": [{}]
|
||||
}
|
||||
}
|
|
@ -212,6 +212,7 @@ tile.actuallyadditions.blockItemViewer.name=Item Interface
|
|||
tile.actuallyadditions.blockImpureIron.name=Impure Iron
|
||||
tile.actuallyadditions.blockBookletStand.name=Wall-Mount Manual
|
||||
tile.actuallyadditions.blockDisplayStand.name=Display Stand
|
||||
tile.actuallyadditions.blockShockSuppressor.name=Shock Absorber
|
||||
|
||||
#ESD
|
||||
tile.actuallyadditions.blockInputter.name=ESD
|
||||
|
@ -918,4 +919,7 @@ booklet.actuallyadditions.chapter.itemFilter.text.1=The <item>Item Filter<r> can
|
|||
|
||||
booklet.actuallyadditions.chapter.videoGuide.name=A Video Guide
|
||||
booklet.actuallyadditions.chapter.videoGuide.text.1=If you are a bit confused as to what is going on or just want to get a glimpse of what <imp>Actually Additions<r> has to offer, there is this <imp>brilliant video<r> by a guy called <item>Booty Toast<r> (yes, that is a weird name), that shows off what is possible in a really enjoyable way. <n>Just <imp>click the button<r> to have the video <imp>opened on YouTube<r>! <n><n><imp>Give it a watch!<r>
|
||||
booklet.actuallyadditions.chapter.videoGuide.page.1.button=Watch Video
|
||||
booklet.actuallyadditions.chapter.videoGuide.page.1.button=Watch Video
|
||||
|
||||
booklet.actuallyadditions.chapter.shockSuppressor.name=Shock Absorber
|
||||
booklet.actuallyadditions.chapter.shockSuppressor.text.1=The <item>Shock Absorber<r> is a block that, when supplied with <imp>RF<r>, it will protect an area of <imp>up to <range> blocks around it<r> from any type of <imp>Explosion<r>, be it ghasts, TNT or creepers. <n>Every block that is protected will result in a loss of <imp><rf> RF<r>.
|
Loading…
Reference in a new issue