diff --git a/src/main/java/de/ellpeck/naturesaura/blocks/ModBlocks.java b/src/main/java/de/ellpeck/naturesaura/blocks/ModBlocks.java index 13ebaf65..bf3ddb4b 100644 --- a/src/main/java/de/ellpeck/naturesaura/blocks/ModBlocks.java +++ b/src/main/java/de/ellpeck/naturesaura/blocks/ModBlocks.java @@ -33,4 +33,5 @@ public final class ModBlocks { public static final Block HOPPER_UPGRADE = new BlockHopperUpgrade(); public static final Block FIELD_CREATOR = new BlockFieldCreator(); public static final Block OAK_GENERATOR = new BlockOakGenerator(); + public static final Block INFUSED_IRON = new BlockImpl("infused_iron_block", Material.IRON).setSoundType(SoundType.METAL).setHardness(3F); } diff --git a/src/main/java/de/ellpeck/naturesaura/recipes/ModRecipes.java b/src/main/java/de/ellpeck/naturesaura/recipes/ModRecipes.java index 896a6ff1..4f8fcd3a 100644 --- a/src/main/java/de/ellpeck/naturesaura/recipes/ModRecipes.java +++ b/src/main/java/de/ellpeck/naturesaura/recipes/ModRecipes.java @@ -59,6 +59,9 @@ public final class ModRecipes { new AltarRecipe(new ResourceLocation(NaturesAura.MOD_ID, "infused_iron"), new ItemStack(Items.IRON_INGOT), new ItemStack(ModItems.INFUSED_IRON), null, 300, 80).register(); + new AltarRecipe(new ResourceLocation(NaturesAura.MOD_ID, "infused_iron_block"), + new ItemStack(Blocks.IRON_BLOCK), new ItemStack(ModBlocks.INFUSED_IRON), + null, 2700, 700).register(); new AltarRecipe(new ResourceLocation(NaturesAura.MOD_ID, "infused_stone"), new ItemStack(Blocks.STONE), new ItemStack(ModBlocks.INFUSED_STONE), null, 150, 40).register(); diff --git a/src/main/resources/assets/naturesaura/blockstates/infused_iron_block.json b/src/main/resources/assets/naturesaura/blockstates/infused_iron_block.json new file mode 100644 index 00000000..fabb2d7e --- /dev/null +++ b/src/main/resources/assets/naturesaura/blockstates/infused_iron_block.json @@ -0,0 +1,14 @@ +{ + "forge_marker": 1, + "defaults": { + "model": "minecraft:cube_all", + "textures": { + "all": "naturesaura:blocks/infused_iron_block" + }, + "transform": "forge:default-block" + }, + "variants": { + "normal": [{}], + "inventory": [{}] + } +} \ No newline at end of file diff --git a/src/main/resources/assets/naturesaura/lang/en_US.lang b/src/main/resources/assets/naturesaura/lang/en_US.lang index ff6d26ac..98599282 100644 --- a/src/main/resources/assets/naturesaura/lang/en_US.lang +++ b/src/main/resources/assets/naturesaura/lang/en_US.lang @@ -30,6 +30,7 @@ tile.naturesaura.placer.name=Imperceptible Builder tile.naturesaura.hopper_upgrade.name=Hopper Enhancement tile.naturesaura.field_creator.name=Aura Field Creator tile.naturesaura.oak_generator.name=Canopy Diminisher +tile.naturesaura.infused_iron_block.name=Infused Iron Block item.naturesaura.eye.name=Environmental Eye item.naturesaura.gold_fiber.name=Brilliant Fiber diff --git a/src/main/resources/assets/naturesaura/patchouli_books/book/en_us/entries/using/altar.json b/src/main/resources/assets/naturesaura/patchouli_books/book/en_us/entries/using/altar.json index 807c1b3b..fbb17f49 100644 --- a/src/main/resources/assets/naturesaura/patchouli_books/book/en_us/entries/using/altar.json +++ b/src/main/resources/assets/naturesaura/patchouli_books/book/en_us/entries/using/altar.json @@ -11,7 +11,7 @@ }, { "type": "naturesaura:altar", - "text": "Creating $(item)Infused Iron$(), a material blessed with the powers of $(aura), allowing it to be used in several magical $(thing)natural items$().", + "text": "Creating $(item)Infused Iron$(), a material blessed with the powers of $(aura), allowing it to be used in several magical $(thing)natural items$().$(br)Note that the same infusion is possible using the materials' block form.", "recipe": "naturesaura:infused_iron" }, { diff --git a/src/main/resources/assets/naturesaura/recipes/infused_iron.json b/src/main/resources/assets/naturesaura/recipes/infused_iron.json new file mode 100644 index 00000000..f8805045 --- /dev/null +++ b/src/main/resources/assets/naturesaura/recipes/infused_iron.json @@ -0,0 +1,15 @@ +{ + "type": "forge:ore_shaped", + "pattern": [ + "I" + ], + "key": { + "I": { + "item": "naturesaura:infused_iron_block" + } + }, + "result": { + "item": "naturesaura:infused_iron", + "count": 9 + } +} \ No newline at end of file diff --git a/src/main/resources/assets/naturesaura/recipes/infused_iron_block.json b/src/main/resources/assets/naturesaura/recipes/infused_iron_block.json new file mode 100644 index 00000000..0ec2a701 --- /dev/null +++ b/src/main/resources/assets/naturesaura/recipes/infused_iron_block.json @@ -0,0 +1,16 @@ +{ + "type": "forge:ore_shaped", + "pattern": [ + "III", + "III", + "III" + ], + "key": { + "I": { + "item": "naturesaura:infused_iron" + } + }, + "result": { + "item": "naturesaura:infused_iron_block" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/naturesaura/textures/blocks/infused_iron_block.png b/src/main/resources/assets/naturesaura/textures/blocks/infused_iron_block.png new file mode 100644 index 00000000..ff1daa3b Binary files /dev/null and b/src/main/resources/assets/naturesaura/textures/blocks/infused_iron_block.png differ