From 157ace896c4254a22ffcb8af0bd01de53e82a55a Mon Sep 17 00:00:00 2001 From: xanthian Date: Fri, 7 Jan 2022 14:02:01 +0000 Subject: [PATCH] Added Amethyst dust. Thanks to Xanthian. * Create amethyst_dust_alt * Update amethyst_dust_alt * Update and rename amethyst_dust_alt to amethyst_dust_alt.json * implements grinding of amethyst blocks to dust 1 Block = 2 Dust implements production of amethyst shards from dust + tnt in implosion compressor. 8 Dust + 16 TNT = 16 Shards Conversion ratio = 1 Stack of Amethyst Block + 1 Stack of TNT = 1 Stack of Shard * Update amethyst_dust_alt.json noticed small mistake chrome dust > quartz dust --- src/main/java/techreborn/init/TRContent.java | 2 +- .../assets/techreborn/lang/en_us.json | 1 + .../techreborn/models/item/amethyst_dust.json | 6 ++++ .../textures/item/dust/amethyst_dust.png | Bin 0 -> 244 bytes .../data/c/tags/items/amethyst_dusts.json | 6 ++++ .../recipes/grinder/amethyst_dust.json | 16 +++++++++++ .../implosion_compressor/amethyst_dust.json | 25 +++++++++++++++++ .../amethyst_dust_alt.json | 26 ++++++++++++++++++ 8 files changed, 81 insertions(+), 1 deletion(-) create mode 100644 src/main/resources/assets/techreborn/models/item/amethyst_dust.json create mode 100644 src/main/resources/assets/techreborn/textures/item/dust/amethyst_dust.png create mode 100644 src/main/resources/data/c/tags/items/amethyst_dusts.json create mode 100644 src/main/resources/data/techreborn/recipes/grinder/amethyst_dust.json create mode 100644 src/main/resources/data/techreborn/recipes/implosion_compressor/amethyst_dust.json create mode 100644 src/main/resources/data/techreborn/recipes/implosion_compressor/amethyst_dust_alt.json diff --git a/src/main/java/techreborn/init/TRContent.java b/src/main/java/techreborn/init/TRContent.java index 7cf7c671a..cde3c033e 100644 --- a/src/main/java/techreborn/init/TRContent.java +++ b/src/main/java/techreborn/init/TRContent.java @@ -616,7 +616,7 @@ public class TRContent { } public enum Dusts implements ItemConvertible { - ALMANDINE, ALUMINUM, ANDESITE, ANDRADITE, ASHES, BASALT, BAUXITE, BRASS, BRONZE, CALCITE, CHARCOAL, CHROME, + ALMANDINE, ALUMINUM, AMETHYST, ANDESITE, ANDRADITE, ASHES, BASALT, BAUXITE, BRASS, BRONZE, CALCITE, CHARCOAL, CHROME, CINNABAR, CLAY, COAL, DARK_ASHES, DIAMOND, DIORITE, ELECTRUM, EMERALD, ENDER_EYE, ENDER_PEARL, ENDSTONE, FLINT, GALENA, GRANITE, GROSSULAR, INVAR, LAZURITE, MAGNESIUM, MANGANESE, MARBLE, NETHERRACK, NICKEL, OBSIDIAN, OLIVINE, PERIDOT, PHOSPHOROUS, PLATINUM, PYRITE, PYROPE, QUARTZ, RED_GARNET, RUBY, SALTPETER, diff --git a/src/main/resources/assets/techreborn/lang/en_us.json b/src/main/resources/assets/techreborn/lang/en_us.json index e8e02d28b..e5ed659ad 100644 --- a/src/main/resources/assets/techreborn/lang/en_us.json +++ b/src/main/resources/assets/techreborn/lang/en_us.json @@ -377,6 +377,7 @@ "_comment7": "Dusts", "item.techreborn.almandine_dust": "Almandine Dust", "item.techreborn.aluminum_dust": "Aluminium Dust", + "item.techreborn.amethyst_dust": "Amethyst Dust", "item.techreborn.andesite_dust": "Andesite Dust", "item.techreborn.andradite_dust": "Andradite Dust", "item.techreborn.ashes_dust": "Ashes", diff --git a/src/main/resources/assets/techreborn/models/item/amethyst_dust.json b/src/main/resources/assets/techreborn/models/item/amethyst_dust.json new file mode 100644 index 000000000..c35d13841 --- /dev/null +++ b/src/main/resources/assets/techreborn/models/item/amethyst_dust.json @@ -0,0 +1,6 @@ +{ + "parent": "minecraft:item/generated", + "textures": { + "layer0": "techreborn:item/dust/amethyst_dust" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/techreborn/textures/item/dust/amethyst_dust.png b/src/main/resources/assets/techreborn/textures/item/dust/amethyst_dust.png new file mode 100644 index 0000000000000000000000000000000000000000..5dcd71722cbe54f63e2ca66113309d71dafdb136 GIT binary patch literal 244 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!63?wyl`GbKJV{wqX6T`Z5GB1G~mUKs7M+SzC z{oH>NS%G}f0G|-os_3n~S!Yg6`0(%avskNHDem)tGO`P_@@94e z3UL;AL>4nJ@ErzW#^d=bQh=I!Gq1{K)Q=VEoVjQf;*gVcsW cvEz5{hOI199vxPd0$RY}>FVdQ&MBb@0H+X8iU0rr literal 0 HcmV?d00001 diff --git a/src/main/resources/data/c/tags/items/amethyst_dusts.json b/src/main/resources/data/c/tags/items/amethyst_dusts.json new file mode 100644 index 000000000..4eaad3058 --- /dev/null +++ b/src/main/resources/data/c/tags/items/amethyst_dusts.json @@ -0,0 +1,6 @@ +{ + "replace": false, + "values": [ + "techreborn:amethyst_dust" + ] +} \ No newline at end of file diff --git a/src/main/resources/data/techreborn/recipes/grinder/amethyst_dust.json b/src/main/resources/data/techreborn/recipes/grinder/amethyst_dust.json new file mode 100644 index 000000000..4cffe4dc0 --- /dev/null +++ b/src/main/resources/data/techreborn/recipes/grinder/amethyst_dust.json @@ -0,0 +1,16 @@ +{ + "type": "techreborn:grinder", + "power": 4, + "time": 270, + "ingredients": [ + { + "item": "minecraft:amethyst_block" + } + ], + "results": [ + { + "item": "techreborn:amethyst_dust", + "count": 2 + } + ] +} \ No newline at end of file diff --git a/src/main/resources/data/techreborn/recipes/implosion_compressor/amethyst_dust.json b/src/main/resources/data/techreborn/recipes/implosion_compressor/amethyst_dust.json new file mode 100644 index 000000000..0227a0411 --- /dev/null +++ b/src/main/resources/data/techreborn/recipes/implosion_compressor/amethyst_dust.json @@ -0,0 +1,25 @@ +{ + "type": "techreborn:implosion_compressor", + "power": 30, + "time": 2000, + "ingredients": [ + { + "count": 8, + "tag": "c:amethyst_dusts" + }, + { + "item": "minecraft:tnt", + "count": 16 + } + ], + "results": [ + { + "item": "minecraft:amethyst_shard", + "count": 16 + }, + { + "item": "techreborn:quartz_dust", + "count": 1 + } + ] +} \ No newline at end of file diff --git a/src/main/resources/data/techreborn/recipes/implosion_compressor/amethyst_dust_alt.json b/src/main/resources/data/techreborn/recipes/implosion_compressor/amethyst_dust_alt.json new file mode 100644 index 000000000..5ba190acb --- /dev/null +++ b/src/main/resources/data/techreborn/recipes/implosion_compressor/amethyst_dust_alt.json @@ -0,0 +1,26 @@ + +{ + "type": "techreborn:implosion_compressor", + "power": 30, + "time": 2000, + "ingredients": [ + { + "count": 8, + "tag": "c:amethyst_dusts" + }, + { + "item": "minecraft:end_crystal", + "count": 4 + } + ], + "results": [ + { + "item": "minecraft:amethyst_shard", + "count": 16 + }, + { + "item": "techreborn:quartz_dust", + "count": 1 + } + ] +}