From 2e7405946a4af811fb732ec0effe2467cdbe45cb Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Fri, 25 Jan 2019 21:57:23 +0100 Subject: [PATCH] added golden stone bricks --- .../de/ellpeck/naturesaura/blocks/ModBlocks.java | 1 + .../naturesaura/blocks/multi/Multiblocks.java | 2 +- .../naturesaura/blockstates/gold_brick.json | 14 ++++++++++++++ .../resources/assets/naturesaura/lang/en_US.lang | 1 + .../book/en_us/entries/using/altar.json | 5 +++++ .../assets/naturesaura/recipes/gold_brick.json | 15 +++++++++++++++ .../naturesaura/textures/blocks/gold_brick.png | Bin 0 -> 633 bytes 7 files changed, 37 insertions(+), 1 deletion(-) create mode 100644 src/main/resources/assets/naturesaura/blockstates/gold_brick.json create mode 100644 src/main/resources/assets/naturesaura/recipes/gold_brick.json create mode 100644 src/main/resources/assets/naturesaura/textures/blocks/gold_brick.png diff --git a/src/main/java/de/ellpeck/naturesaura/blocks/ModBlocks.java b/src/main/java/de/ellpeck/naturesaura/blocks/ModBlocks.java index 5bdb4251..dff63dd9 100644 --- a/src/main/java/de/ellpeck/naturesaura/blocks/ModBlocks.java +++ b/src/main/java/de/ellpeck/naturesaura/blocks/ModBlocks.java @@ -42,4 +42,5 @@ public final class ModBlocks { public static final Block GRATED_CHUTE = new BlockGratedChute(); public static final Block ANIMAL_SPAWNER = new BlockAnimalSpawner(); public static final Block AUTO_CRAFTER = new BlockAutoCrafter(); + public static final Block GOLD_BRICK = new BlockImpl("gold_brick", Material.ROCK).setSoundType(SoundType.STONE).setHardness(2F); } diff --git a/src/main/java/de/ellpeck/naturesaura/blocks/multi/Multiblocks.java b/src/main/java/de/ellpeck/naturesaura/blocks/multi/Multiblocks.java index 78f9648f..f052cde6 100644 --- a/src/main/java/de/ellpeck/naturesaura/blocks/multi/Multiblocks.java +++ b/src/main/java/de/ellpeck/naturesaura/blocks/multi/Multiblocks.java @@ -25,7 +25,7 @@ public final class Multiblocks { 'C', Blocks.STONEBRICK.getDefaultState().withProperty(BlockStoneBrick.VARIANT, EnumType.CHISELED), 'B', Blocks.STONEBRICK.getDefaultState(), 'W', Matcher.oreDict(Blocks.PLANKS, "plankWood"), - 'M', Blocks.STONEBRICK.getDefaultState().withProperty(BlockStoneBrick.VARIANT, EnumType.MOSSY), + 'M', ModBlocks.GOLD_BRICK, '0', ModBlocks.NATURE_ALTAR, ' ', Matcher.wildcard()); public static final IMultiblock TREE_RITUAL = NaturesAuraAPI.instance().createMultiblock( diff --git a/src/main/resources/assets/naturesaura/blockstates/gold_brick.json b/src/main/resources/assets/naturesaura/blockstates/gold_brick.json new file mode 100644 index 00000000..65bc854e --- /dev/null +++ b/src/main/resources/assets/naturesaura/blockstates/gold_brick.json @@ -0,0 +1,14 @@ +{ + "forge_marker": 1, + "defaults": { + "model": "minecraft:cube_all", + "textures": { + "all": "naturesaura:blocks/gold_brick" + }, + "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 1c608127..9b90b057 100644 --- a/src/main/resources/assets/naturesaura/lang/en_US.lang +++ b/src/main/resources/assets/naturesaura/lang/en_US.lang @@ -39,6 +39,7 @@ tile.naturesaura.end_flower.name=Rose of Oblivion tile.naturesaura.grated_chute.name=Adept Hopper tile.naturesaura.animal_spawner.name=Altar of Birthing tile.naturesaura.auto_crafter.name=Automatic Constructor +tile.naturesaura.gold_brick.name=Golden Stone Bricks item.naturesaura.eye.name=Environmental Eye item.naturesaura.eye_improved.name=Environmental Ocular 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 5d4e6a1f..dbea623b 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 @@ -20,6 +20,11 @@ "text": "Creating the $(item)Natural Altar$() using the $(l:practices/tree_ritual)Ritual of the Forest$()", "recipe": "naturesaura:nature_altar" }, + { + "type": "crafting", + "recipe": "naturesaura:gold_brick", + "text": "Creating the $(item)Golden Stone Bricks$() that are used in the $(item)Natural Altar$()'s multiblock" + }, { "type": "text", "text": "When the $(item)Natural Altar$() has collected a sufficient amount of $(aura), it will be able to infuse items of certain materials, converting them into different, more powerful materials. To do this, simply place any material onto the altar and wait for the infusion to be completed.$(br2)The following pages list some useful materials that a botanist might frequently need." diff --git a/src/main/resources/assets/naturesaura/recipes/gold_brick.json b/src/main/resources/assets/naturesaura/recipes/gold_brick.json new file mode 100644 index 00000000..8113a036 --- /dev/null +++ b/src/main/resources/assets/naturesaura/recipes/gold_brick.json @@ -0,0 +1,15 @@ +{ + "type": "minecraft:crafting_shapeless", + "ingredients": [ + { + "item": "minecraft:stonebrick", + "data": 0 + }, + { + "item": "naturesaura:gold_fiber" + } + ], + "result": { + "item": "naturesaura:gold_brick" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/naturesaura/textures/blocks/gold_brick.png b/src/main/resources/assets/naturesaura/textures/blocks/gold_brick.png new file mode 100644 index 0000000000000000000000000000000000000000..60454fe866e26a25555781f7920f130419acc19b GIT binary patch literal 633 zcmV-<0*3vGP)N2bZe?^J zG%hhNG!sB*!~g&R_en%SR5(vvQr%C}a1{ML_~L^h1PsB%C&dJvniz-}dGz1tKAF<4 zw4MACb@JVdnEWk|asdh~Gc3!!Sgv)e_X}_4NBZT1Vi& zg6a4B@`H(dnY0>s)qN*EwTb%oH>lWKI6m5d8IQ-(rFnkeS(C0VGbvb5i!v?@4-tjC zIQ4d5xSIwLnxreNf{jip2U4I`tHH7?nBj1kj;~$*-%xm{y3Yme##7{SIV_h;G#Xzpo6Y0~?gj^PFN52C@C1zR=(*2C zo}{xTO#8kso!Ni{(nn~#!YISy_*;N4?H^|u8J99Ep;Um4JZJk~0sTqb-h7Z`ev?41 zpqEM&R0&SPR|;q)YR>`$ZQHif6=-V{jaTW@325lm{p!A!0%V?dqH8jaFJp8n!$1Yc z=7CUW-bLu|pwrwF?V~6X?HNO8jv-M*A(xSz6&#;B^UY?n=?yThRLY3ovMl@oE~rvj TKP_~B00000NkvXXu0mjfr_moL literal 0 HcmV?d00001