From cc54b6f2b2c3e59e35053811ccb24eaee3065393 Mon Sep 17 00:00:00 2001 From: wdfaESfaef <2622389575@qq.com> Date: Tue, 11 Jun 2024 16:31:12 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E7=89=A9=E5=93=81=E6=8F=90?= =?UTF-8?q?=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../data/generator/lang/ItemTooltipLang.java | 1 + .../event/TooltipEventListener.java | 22 ++++++ .../dev/dubhe/anvilcraft/init/ModBlocks.java | 13 +++- .../dubhe/anvilcraft/init/ModItemTags.java | 1 + .../assets/anvilcraft/lang/en_ud.json | 13 ++++ .../assets/anvilcraft/lang/en_us.json | 13 ++++ .../tags/items/reinforced_concrete.json | 69 +++++++++++++++++++ .../assets/anvilcraft/lang/en_ud.json | 13 ++++ .../assets/anvilcraft/lang/en_us.json | 13 ++++ .../tags/items/reinforced_concrete.json | 69 +++++++++++++++++++ 10 files changed, 224 insertions(+), 3 deletions(-) create mode 100644 fabric/src/generated/resources/data/anvilcraft/tags/items/reinforced_concrete.json create mode 100644 forge/src/generated/resources/data/anvilcraft/tags/items/reinforced_concrete.json diff --git a/common/src/main/java/dev/dubhe/anvilcraft/data/generator/lang/ItemTooltipLang.java b/common/src/main/java/dev/dubhe/anvilcraft/data/generator/lang/ItemTooltipLang.java index 96e5c6a77..5e7404231 100644 --- a/common/src/main/java/dev/dubhe/anvilcraft/data/generator/lang/ItemTooltipLang.java +++ b/common/src/main/java/dev/dubhe/anvilcraft/data/generator/lang/ItemTooltipLang.java @@ -14,5 +14,6 @@ public static void init(@NotNull RegistrateLangProvider provider) { TooltipEventListener.NEED_TOOLTIP_ITEM.forEach( (item, s) -> provider.add(TooltipEventListener.getTranslationKey(item), s) ); + provider.add("tooltip.anvilcraft.item.reinforced_concrete", "Creeper proof"); } } diff --git a/common/src/main/java/dev/dubhe/anvilcraft/event/TooltipEventListener.java b/common/src/main/java/dev/dubhe/anvilcraft/event/TooltipEventListener.java index 0d5442f4c..902a57115 100644 --- a/common/src/main/java/dev/dubhe/anvilcraft/event/TooltipEventListener.java +++ b/common/src/main/java/dev/dubhe/anvilcraft/event/TooltipEventListener.java @@ -2,6 +2,7 @@ import com.google.common.collect.Maps; import dev.dubhe.anvilcraft.init.ModBlocks; +import dev.dubhe.anvilcraft.init.ModItemTags; import dev.dubhe.anvilcraft.init.ModItems; import net.minecraft.ChatFormatting; import net.minecraft.core.registries.BuiltInRegistries; @@ -55,6 +56,20 @@ public class TooltipEventListener { map.put(ModBlocks.CUT_ROYAL_STEEL_SLAB.asItem(), "Creeper proof"); map.put(ModBlocks.TEMPERING_GLASS.asItem(), "Creeper proof, No tools required on collect"); map.put(ModBlocks.REMOTE_TRANSMISSION_POLE.asItem(), "Build a power grid with a transmission distance of 8"); + map.put(ModBlocks.HEAVY_IRON_BLOCK.asItem(), "Explosion proof"); + map.put(ModBlocks.POLISHED_HEAVY_IRON_BLOCK.asItem(), "Explosion proof"); + map.put(ModBlocks.POLISHED_HEAVY_IRON_SLAB.asItem(), "Explosion proof"); + map.put(ModBlocks.POLISHED_HEAVY_IRON_STAIRS.asItem(), "Explosion proof"); + map.put(ModBlocks.CUT_HEAVY_IRON_BLOCK.asItem(), "Explosion proof"); + map.put(ModBlocks.CUT_HEAVY_IRON_SLAB.asItem(), "Explosion proof"); + map.put(ModBlocks.CUT_HEAVY_IRON_STAIRS.asItem(), "Explosion proof"); + map.put(ModBlocks.HEAVY_IRON_PLATE.asItem(), "Explosion proof"); + map.put(ModBlocks.HEAVY_IRON_COLUMN.asItem(), "Explosion proof"); + map.put(ModBlocks.HEAVY_IRON_BEAM.asItem(), "Explosion proof"); + map.put(ModBlocks.INDUCTION_LIGHT.asItem(), "Catalyze crop growth, consumes 1 KW"); + map.put(ModBlocks.ITEM_COLLECTOR.asItem(), + "Adjust power consumption based on range and cooling" + + ", from 30KW to 150KW"); } public static final Map NEED_TOOLTIP_ITEM = Collections.unmodifiableMap(map); @@ -70,6 +85,13 @@ public static void addTooltip(ItemStack stack, List tooltip) { if (NEED_TOOLTIP_ITEM.containsKey(item)) { tooltip.add(1, getItemTooltip(item)); } + if (stack.is(ModItemTags.REINFORCED_CONCRETE)) { + ResourceLocation key = BuiltInRegistries.ITEM.getKey(item); + tooltip.add(1, + Component.translatable("tooltip.%s.item.reinforced_concrete".formatted(key.getNamespace())) + .withStyle(ChatFormatting.GRAY) + ); + } } private static Component getItemTooltip(Item item) { diff --git a/common/src/main/java/dev/dubhe/anvilcraft/init/ModBlocks.java b/common/src/main/java/dev/dubhe/anvilcraft/init/ModBlocks.java index f330d86a5..5a08f130a 100644 --- a/common/src/main/java/dev/dubhe/anvilcraft/init/ModBlocks.java +++ b/common/src/main/java/dev/dubhe/anvilcraft/init/ModBlocks.java @@ -2244,7 +2244,9 @@ public class ModBlocks { .block("reinforced_concrete_" + color, ReinforcedConcreteBlock::new) .initialProperties(() -> Blocks.TERRACOTTA) .properties(properties -> properties.explosionResistance(15.0f)) - .simpleItem() + .item() + .tag(ModItemTags.REINFORCED_CONCRETE) + .build() .blockstate((ctx, provider) -> { provider.models().getBuilder("reinforced_concrete_" + color) .parent(DangerUtil.genUncheckedModelFile("minecraft", "block/cube_all").get()) @@ -2278,7 +2280,9 @@ public class ModBlocks { .block("reinforced_concrete_" + color + "_slab", SlabBlock::new) .initialProperties(() -> Blocks.TERRACOTTA) .properties(properties -> properties.explosionResistance(15.0f)) - .simpleItem() + .item() + .tag(ModItemTags.REINFORCED_CONCRETE) + .build() .blockstate((ctx, provider) -> provider.slabBlock(ctx.get(), AnvilCraft.of("block/reinforced_concrete_" + color), AnvilCraft.of("block/reinforced_concrete_" + color))) @@ -2306,7 +2310,9 @@ public class ModBlocks { new StairBlock(parent.getDefaultState(), properties)) .initialProperties(() -> Blocks.TERRACOTTA) .properties(properties -> properties.explosionResistance(15.0f)) - .simpleItem() + .item() + .tag(ModItemTags.REINFORCED_CONCRETE) + .build() .blockstate((ctx, provider) -> provider.stairsBlock(ctx.get(), AnvilCraft.of("block/reinforced_concrete_" + color))) .tag(BlockTags.MINEABLE_WITH_PICKAXE) @@ -2352,6 +2358,7 @@ public class ModBlocks { "reinforced_concrete_" + color + "_wall", AnvilCraft.of("block/reinforced_concrete_" + color + "_wall") )) + .tag(ModItemTags.REINFORCED_CONCRETE) .build() .register(); } diff --git a/common/src/main/java/dev/dubhe/anvilcraft/init/ModItemTags.java b/common/src/main/java/dev/dubhe/anvilcraft/init/ModItemTags.java index 5fbc7c3a6..3668caefe 100644 --- a/common/src/main/java/dev/dubhe/anvilcraft/init/ModItemTags.java +++ b/common/src/main/java/dev/dubhe/anvilcraft/init/ModItemTags.java @@ -87,6 +87,7 @@ public class ModItemTags { public static final TagKey FORGE_RAW_ORES = bindForge("raw_materials"); public static final TagKey ORES = bindC("ores"); public static final TagKey FORGE_ORES = bindForge("ores"); + public static final TagKey REINFORCED_CONCRETE = bind("reinforced_concrete"); private static @NotNull TagKey bindC(String id) { diff --git a/fabric/src/generated/resources/assets/anvilcraft/lang/en_ud.json b/fabric/src/generated/resources/assets/anvilcraft/lang/en_ud.json index 6d5bc7380..8a0f02eea 100644 --- a/fabric/src/generated/resources/assets/anvilcraft/lang/en_ud.json +++ b/fabric/src/generated/resources/assets/anvilcraft/lang/en_ud.json @@ -374,19 +374,32 @@ "tooltip.anvilcraft.item.cursed_gold_block": "pǝsɹnɔ ǝq ןןıʍ sɹǝıɹɹɐƆ", "tooltip.anvilcraft.item.cursed_gold_ingot": "pǝsɹnɔ ǝq ןןıʍ sɹǝıɹɹɐƆ", "tooltip.anvilcraft.item.cursed_gold_nugget": "pǝsɹnɔ ǝq ןןıʍ sɹǝıɹɹɐƆ", + "tooltip.anvilcraft.item.cut_heavy_iron_block": "ɟooɹd uoısoןdxƎ", + "tooltip.anvilcraft.item.cut_heavy_iron_slab": "ɟooɹd uoısoןdxƎ", + "tooltip.anvilcraft.item.cut_heavy_iron_stairs": "ɟooɹd uoısoןdxƎ", "tooltip.anvilcraft.item.cut_royal_steel_block": "ɟooɹd ɹǝdǝǝɹƆ", "tooltip.anvilcraft.item.cut_royal_steel_slab": "ɟooɹd ɹǝdǝǝɹƆ", "tooltip.anvilcraft.item.cut_royal_steel_stairs": "ɟooɹd ɹǝdǝǝɹƆ", "tooltip.anvilcraft.item.ferrite_core_magnet_block": "sǝbɹɐɥɔ ǝʇɐɹǝuǝb oʇ sʞɔoןq ɹǝddoɔ ʇuǝɔɐظpɐ sǝsnɐɔ 'uoʇsıd ǝɥʇ ʎq pǝןןnd puɐ pǝɥsnd uǝɥʍ 'ʍoןǝq ןıʌuɐ ǝɥʇ buıʇɔɐɹʇʇⱯ", "tooltip.anvilcraft.item.geode": "ʇı buısn uǝɥʍ ǝpoǝ⅁ ʇsʎɥʇǝɯⱯ buıpunoɹɹns ǝɥʇ puıℲ", "tooltip.anvilcraft.item.heater": "Mʞ 8 sǝɯnsuoɔ 'ǝʌoqɐ ʞɔoןq ǝɥʇ buıʇɐǝH", + "tooltip.anvilcraft.item.heavy_iron_beam": "ɟooɹd uoısoןdxƎ", + "tooltip.anvilcraft.item.heavy_iron_block": "ɟooɹd uoısoןdxƎ", + "tooltip.anvilcraft.item.heavy_iron_column": "ɟooɹd uoısoןdxƎ", + "tooltip.anvilcraft.item.heavy_iron_plate": "ɟooɹd uoısoןdxƎ", "tooltip.anvilcraft.item.hollow_magnet_block": "sǝbɹɐɥɔ ǝʇɐɹǝuǝb oʇ sʞɔoןq ɹǝddoɔ ʇuǝɔɐظpɐ sǝsnɐɔ 'uoʇsıd ǝɥʇ ʎq pǝןןnd puɐ pǝɥsnd uǝɥʍ 'ʍoןǝq ןıʌuɐ ǝɥʇ buıʇɔɐɹʇʇⱯ", + "tooltip.anvilcraft.item.induction_light": "Mʞ Ɩ sǝɯnsuoɔ 'ɥʇʍoɹb doɹɔ ǝzʎןɐʇɐƆ", + "tooltip.anvilcraft.item.item_collector": "Mʞ0ϛƖ oʇ Mʞ0Ɛ ɯoɹɟ 'buıןooɔ puɐ ǝbuɐɹ uo pǝsɐq uoıʇdɯnsuoɔ ɹǝʍod ʇsnظpⱯ", "tooltip.anvilcraft.item.magnet": "ǝsn uǝɥʍ sɯǝʇı buıpunoɹɹns ʇɔɐɹʇʇⱯ", "tooltip.anvilcraft.item.magnet_block": "sǝbɹɐɥɔ ǝʇɐɹǝuǝb oʇ sʞɔoןq ɹǝddoɔ ʇuǝɔɐظpɐ sǝsnɐɔ 'uoʇsıd ǝɥʇ ʎq pǝןןnd puɐ pǝɥsnd uǝɥʍ 'ʍoןǝq ןıʌuɐ ǝɥʇ buıʇɔɐɹʇʇⱯ", "tooltip.anvilcraft.item.piezoelectric_crystal": "ʇı uo ןןɐɟ ןıʌuɐ uɐ ʎq pǝʇɐɹǝuǝb ǝbɹɐɥƆ", + "tooltip.anvilcraft.item.polished_heavy_iron_block": "ɟooɹd uoısoןdxƎ", + "tooltip.anvilcraft.item.polished_heavy_iron_slab": "ɟooɹd uoısoןdxƎ", + "tooltip.anvilcraft.item.polished_heavy_iron_stairs": "ɟooɹd uoısoןdxƎ", "tooltip.anvilcraft.item.power_converter_big": "Mʞ 6 sǝɯnsuoɔ 'ƎℲ oʇuı ɹǝʍod ʇɹǝʌuoƆ", "tooltip.anvilcraft.item.power_converter_middle": "Mʞ Ɛ sǝɯnsuoɔ 'ƎℲ oʇuı ɹǝʍod ʇɹǝʌuoƆ", "tooltip.anvilcraft.item.power_converter_small": "Mʞ Ɩ sǝɯnsuoɔ 'ƎℲ oʇuı ɹǝʍod ʇɹǝʌuoƆ", + "tooltip.anvilcraft.item.reinforced_concrete": "ɟooɹd ɹǝdǝǝɹƆ", "tooltip.anvilcraft.item.remote_transmission_pole": "8 ɟo ǝɔuɐʇsıp uoıssıɯsuɐɹʇ ɐ ɥʇıʍ pıɹb ɹǝʍod ɐ pןınᗺ", "tooltip.anvilcraft.item.resin_block": "ʎʇıʇuƎbuıʌıꞀ sǝɹnʇɐǝɹɔ ǝןıʇsoɥ ʞɐǝʍ ɹo ʎןpuǝıɹɟ ǝɹnʇdɐɔ oʇ ǝs∩", "tooltip.anvilcraft.item.royal_anvil": "ʎʇıןıqıʇɐdɯoɔ ןnɟɹǝʍod puɐ ǝןqɐʞɐǝɹqu∩", diff --git a/fabric/src/generated/resources/assets/anvilcraft/lang/en_us.json b/fabric/src/generated/resources/assets/anvilcraft/lang/en_us.json index 15c0e65cb..f43061e70 100644 --- a/fabric/src/generated/resources/assets/anvilcraft/lang/en_us.json +++ b/fabric/src/generated/resources/assets/anvilcraft/lang/en_us.json @@ -374,19 +374,32 @@ "tooltip.anvilcraft.item.cursed_gold_block": "Carriers will be cursed", "tooltip.anvilcraft.item.cursed_gold_ingot": "Carriers will be cursed", "tooltip.anvilcraft.item.cursed_gold_nugget": "Carriers will be cursed", + "tooltip.anvilcraft.item.cut_heavy_iron_block": "Explosion proof", + "tooltip.anvilcraft.item.cut_heavy_iron_slab": "Explosion proof", + "tooltip.anvilcraft.item.cut_heavy_iron_stairs": "Explosion proof", "tooltip.anvilcraft.item.cut_royal_steel_block": "Creeper proof", "tooltip.anvilcraft.item.cut_royal_steel_slab": "Creeper proof", "tooltip.anvilcraft.item.cut_royal_steel_stairs": "Creeper proof", "tooltip.anvilcraft.item.ferrite_core_magnet_block": "Attracting the anvil below, when pushed and pulled by the piston, causes adjacent copper blocks to generate charges", "tooltip.anvilcraft.item.geode": "Find the surrounding Amethyst Geode when using it", "tooltip.anvilcraft.item.heater": "Heating the block above, consumes 8 KW", + "tooltip.anvilcraft.item.heavy_iron_beam": "Explosion proof", + "tooltip.anvilcraft.item.heavy_iron_block": "Explosion proof", + "tooltip.anvilcraft.item.heavy_iron_column": "Explosion proof", + "tooltip.anvilcraft.item.heavy_iron_plate": "Explosion proof", "tooltip.anvilcraft.item.hollow_magnet_block": "Attracting the anvil below, when pushed and pulled by the piston, causes adjacent copper blocks to generate charges", + "tooltip.anvilcraft.item.induction_light": "Catalyze crop growth, consumes 1 KW", + "tooltip.anvilcraft.item.item_collector": "Adjust power consumption based on range and cooling, from 30KW to 150KW", "tooltip.anvilcraft.item.magnet": "Attract surrounding items when use", "tooltip.anvilcraft.item.magnet_block": "Attracting the anvil below, when pushed and pulled by the piston, causes adjacent copper blocks to generate charges", "tooltip.anvilcraft.item.piezoelectric_crystal": "Charge generated by an anvil fall on it", + "tooltip.anvilcraft.item.polished_heavy_iron_block": "Explosion proof", + "tooltip.anvilcraft.item.polished_heavy_iron_slab": "Explosion proof", + "tooltip.anvilcraft.item.polished_heavy_iron_stairs": "Explosion proof", "tooltip.anvilcraft.item.power_converter_big": "Convert power into FE, consumes 9 KW", "tooltip.anvilcraft.item.power_converter_middle": "Convert power into FE, consumes 3 KW", "tooltip.anvilcraft.item.power_converter_small": "Convert power into FE, consumes 1 KW", + "tooltip.anvilcraft.item.reinforced_concrete": "Creeper proof", "tooltip.anvilcraft.item.remote_transmission_pole": "Build a power grid with a transmission distance of 8", "tooltip.anvilcraft.item.resin_block": "Use to capture friendly or weak hostile creatures LivingEntity", "tooltip.anvilcraft.item.royal_anvil": "Unbreakable and powerful compatibility", diff --git a/fabric/src/generated/resources/data/anvilcraft/tags/items/reinforced_concrete.json b/fabric/src/generated/resources/data/anvilcraft/tags/items/reinforced_concrete.json new file mode 100644 index 000000000..22e0f7415 --- /dev/null +++ b/fabric/src/generated/resources/data/anvilcraft/tags/items/reinforced_concrete.json @@ -0,0 +1,69 @@ +{ + "replace": false, + "values": [ + "anvilcraft:reinforced_concrete_black", + "anvilcraft:reinforced_concrete_blue", + "anvilcraft:reinforced_concrete_brown", + "anvilcraft:reinforced_concrete_cyan", + "anvilcraft:reinforced_concrete_gray", + "anvilcraft:reinforced_concrete_green", + "anvilcraft:reinforced_concrete_light_blue", + "anvilcraft:reinforced_concrete_light_gray", + "anvilcraft:reinforced_concrete_lime", + "anvilcraft:reinforced_concrete_magenta", + "anvilcraft:reinforced_concrete_orange", + "anvilcraft:reinforced_concrete_pink", + "anvilcraft:reinforced_concrete_purple", + "anvilcraft:reinforced_concrete_red", + "anvilcraft:reinforced_concrete_white", + "anvilcraft:reinforced_concrete_yellow", + "anvilcraft:reinforced_concrete_black_slab", + "anvilcraft:reinforced_concrete_blue_slab", + "anvilcraft:reinforced_concrete_brown_slab", + "anvilcraft:reinforced_concrete_cyan_slab", + "anvilcraft:reinforced_concrete_gray_slab", + "anvilcraft:reinforced_concrete_green_slab", + "anvilcraft:reinforced_concrete_light_blue_slab", + "anvilcraft:reinforced_concrete_light_gray_slab", + "anvilcraft:reinforced_concrete_lime_slab", + "anvilcraft:reinforced_concrete_magenta_slab", + "anvilcraft:reinforced_concrete_orange_slab", + "anvilcraft:reinforced_concrete_pink_slab", + "anvilcraft:reinforced_concrete_purple_slab", + "anvilcraft:reinforced_concrete_red_slab", + "anvilcraft:reinforced_concrete_white_slab", + "anvilcraft:reinforced_concrete_yellow_slab", + "anvilcraft:reinforced_concrete_black_stair", + "anvilcraft:reinforced_concrete_blue_stair", + "anvilcraft:reinforced_concrete_brown_stair", + "anvilcraft:reinforced_concrete_cyan_stair", + "anvilcraft:reinforced_concrete_gray_stair", + "anvilcraft:reinforced_concrete_green_stair", + "anvilcraft:reinforced_concrete_light_blue_stair", + "anvilcraft:reinforced_concrete_light_gray_stair", + "anvilcraft:reinforced_concrete_lime_stair", + "anvilcraft:reinforced_concrete_magenta_stair", + "anvilcraft:reinforced_concrete_orange_stair", + "anvilcraft:reinforced_concrete_pink_stair", + "anvilcraft:reinforced_concrete_purple_stair", + "anvilcraft:reinforced_concrete_red_stair", + "anvilcraft:reinforced_concrete_white_stair", + "anvilcraft:reinforced_concrete_yellow_stair", + "anvilcraft:reinforced_concrete_black_wall", + "anvilcraft:reinforced_concrete_blue_wall", + "anvilcraft:reinforced_concrete_brown_wall", + "anvilcraft:reinforced_concrete_cyan_wall", + "anvilcraft:reinforced_concrete_gray_wall", + "anvilcraft:reinforced_concrete_green_wall", + "anvilcraft:reinforced_concrete_light_blue_wall", + "anvilcraft:reinforced_concrete_light_gray_wall", + "anvilcraft:reinforced_concrete_lime_wall", + "anvilcraft:reinforced_concrete_magenta_wall", + "anvilcraft:reinforced_concrete_orange_wall", + "anvilcraft:reinforced_concrete_pink_wall", + "anvilcraft:reinforced_concrete_purple_wall", + "anvilcraft:reinforced_concrete_red_wall", + "anvilcraft:reinforced_concrete_white_wall", + "anvilcraft:reinforced_concrete_yellow_wall" + ] +} \ No newline at end of file diff --git a/forge/src/generated/resources/assets/anvilcraft/lang/en_ud.json b/forge/src/generated/resources/assets/anvilcraft/lang/en_ud.json index 6d5bc7380..8a0f02eea 100644 --- a/forge/src/generated/resources/assets/anvilcraft/lang/en_ud.json +++ b/forge/src/generated/resources/assets/anvilcraft/lang/en_ud.json @@ -374,19 +374,32 @@ "tooltip.anvilcraft.item.cursed_gold_block": "pǝsɹnɔ ǝq ןןıʍ sɹǝıɹɹɐƆ", "tooltip.anvilcraft.item.cursed_gold_ingot": "pǝsɹnɔ ǝq ןןıʍ sɹǝıɹɹɐƆ", "tooltip.anvilcraft.item.cursed_gold_nugget": "pǝsɹnɔ ǝq ןןıʍ sɹǝıɹɹɐƆ", + "tooltip.anvilcraft.item.cut_heavy_iron_block": "ɟooɹd uoısoןdxƎ", + "tooltip.anvilcraft.item.cut_heavy_iron_slab": "ɟooɹd uoısoןdxƎ", + "tooltip.anvilcraft.item.cut_heavy_iron_stairs": "ɟooɹd uoısoןdxƎ", "tooltip.anvilcraft.item.cut_royal_steel_block": "ɟooɹd ɹǝdǝǝɹƆ", "tooltip.anvilcraft.item.cut_royal_steel_slab": "ɟooɹd ɹǝdǝǝɹƆ", "tooltip.anvilcraft.item.cut_royal_steel_stairs": "ɟooɹd ɹǝdǝǝɹƆ", "tooltip.anvilcraft.item.ferrite_core_magnet_block": "sǝbɹɐɥɔ ǝʇɐɹǝuǝb oʇ sʞɔoןq ɹǝddoɔ ʇuǝɔɐظpɐ sǝsnɐɔ 'uoʇsıd ǝɥʇ ʎq pǝןןnd puɐ pǝɥsnd uǝɥʍ 'ʍoןǝq ןıʌuɐ ǝɥʇ buıʇɔɐɹʇʇⱯ", "tooltip.anvilcraft.item.geode": "ʇı buısn uǝɥʍ ǝpoǝ⅁ ʇsʎɥʇǝɯⱯ buıpunoɹɹns ǝɥʇ puıℲ", "tooltip.anvilcraft.item.heater": "Mʞ 8 sǝɯnsuoɔ 'ǝʌoqɐ ʞɔoןq ǝɥʇ buıʇɐǝH", + "tooltip.anvilcraft.item.heavy_iron_beam": "ɟooɹd uoısoןdxƎ", + "tooltip.anvilcraft.item.heavy_iron_block": "ɟooɹd uoısoןdxƎ", + "tooltip.anvilcraft.item.heavy_iron_column": "ɟooɹd uoısoןdxƎ", + "tooltip.anvilcraft.item.heavy_iron_plate": "ɟooɹd uoısoןdxƎ", "tooltip.anvilcraft.item.hollow_magnet_block": "sǝbɹɐɥɔ ǝʇɐɹǝuǝb oʇ sʞɔoןq ɹǝddoɔ ʇuǝɔɐظpɐ sǝsnɐɔ 'uoʇsıd ǝɥʇ ʎq pǝןןnd puɐ pǝɥsnd uǝɥʍ 'ʍoןǝq ןıʌuɐ ǝɥʇ buıʇɔɐɹʇʇⱯ", + "tooltip.anvilcraft.item.induction_light": "Mʞ Ɩ sǝɯnsuoɔ 'ɥʇʍoɹb doɹɔ ǝzʎןɐʇɐƆ", + "tooltip.anvilcraft.item.item_collector": "Mʞ0ϛƖ oʇ Mʞ0Ɛ ɯoɹɟ 'buıןooɔ puɐ ǝbuɐɹ uo pǝsɐq uoıʇdɯnsuoɔ ɹǝʍod ʇsnظpⱯ", "tooltip.anvilcraft.item.magnet": "ǝsn uǝɥʍ sɯǝʇı buıpunoɹɹns ʇɔɐɹʇʇⱯ", "tooltip.anvilcraft.item.magnet_block": "sǝbɹɐɥɔ ǝʇɐɹǝuǝb oʇ sʞɔoןq ɹǝddoɔ ʇuǝɔɐظpɐ sǝsnɐɔ 'uoʇsıd ǝɥʇ ʎq pǝןןnd puɐ pǝɥsnd uǝɥʍ 'ʍoןǝq ןıʌuɐ ǝɥʇ buıʇɔɐɹʇʇⱯ", "tooltip.anvilcraft.item.piezoelectric_crystal": "ʇı uo ןןɐɟ ןıʌuɐ uɐ ʎq pǝʇɐɹǝuǝb ǝbɹɐɥƆ", + "tooltip.anvilcraft.item.polished_heavy_iron_block": "ɟooɹd uoısoןdxƎ", + "tooltip.anvilcraft.item.polished_heavy_iron_slab": "ɟooɹd uoısoןdxƎ", + "tooltip.anvilcraft.item.polished_heavy_iron_stairs": "ɟooɹd uoısoןdxƎ", "tooltip.anvilcraft.item.power_converter_big": "Mʞ 6 sǝɯnsuoɔ 'ƎℲ oʇuı ɹǝʍod ʇɹǝʌuoƆ", "tooltip.anvilcraft.item.power_converter_middle": "Mʞ Ɛ sǝɯnsuoɔ 'ƎℲ oʇuı ɹǝʍod ʇɹǝʌuoƆ", "tooltip.anvilcraft.item.power_converter_small": "Mʞ Ɩ sǝɯnsuoɔ 'ƎℲ oʇuı ɹǝʍod ʇɹǝʌuoƆ", + "tooltip.anvilcraft.item.reinforced_concrete": "ɟooɹd ɹǝdǝǝɹƆ", "tooltip.anvilcraft.item.remote_transmission_pole": "8 ɟo ǝɔuɐʇsıp uoıssıɯsuɐɹʇ ɐ ɥʇıʍ pıɹb ɹǝʍod ɐ pןınᗺ", "tooltip.anvilcraft.item.resin_block": "ʎʇıʇuƎbuıʌıꞀ sǝɹnʇɐǝɹɔ ǝןıʇsoɥ ʞɐǝʍ ɹo ʎןpuǝıɹɟ ǝɹnʇdɐɔ oʇ ǝs∩", "tooltip.anvilcraft.item.royal_anvil": "ʎʇıןıqıʇɐdɯoɔ ןnɟɹǝʍod puɐ ǝןqɐʞɐǝɹqu∩", diff --git a/forge/src/generated/resources/assets/anvilcraft/lang/en_us.json b/forge/src/generated/resources/assets/anvilcraft/lang/en_us.json index 15c0e65cb..f43061e70 100644 --- a/forge/src/generated/resources/assets/anvilcraft/lang/en_us.json +++ b/forge/src/generated/resources/assets/anvilcraft/lang/en_us.json @@ -374,19 +374,32 @@ "tooltip.anvilcraft.item.cursed_gold_block": "Carriers will be cursed", "tooltip.anvilcraft.item.cursed_gold_ingot": "Carriers will be cursed", "tooltip.anvilcraft.item.cursed_gold_nugget": "Carriers will be cursed", + "tooltip.anvilcraft.item.cut_heavy_iron_block": "Explosion proof", + "tooltip.anvilcraft.item.cut_heavy_iron_slab": "Explosion proof", + "tooltip.anvilcraft.item.cut_heavy_iron_stairs": "Explosion proof", "tooltip.anvilcraft.item.cut_royal_steel_block": "Creeper proof", "tooltip.anvilcraft.item.cut_royal_steel_slab": "Creeper proof", "tooltip.anvilcraft.item.cut_royal_steel_stairs": "Creeper proof", "tooltip.anvilcraft.item.ferrite_core_magnet_block": "Attracting the anvil below, when pushed and pulled by the piston, causes adjacent copper blocks to generate charges", "tooltip.anvilcraft.item.geode": "Find the surrounding Amethyst Geode when using it", "tooltip.anvilcraft.item.heater": "Heating the block above, consumes 8 KW", + "tooltip.anvilcraft.item.heavy_iron_beam": "Explosion proof", + "tooltip.anvilcraft.item.heavy_iron_block": "Explosion proof", + "tooltip.anvilcraft.item.heavy_iron_column": "Explosion proof", + "tooltip.anvilcraft.item.heavy_iron_plate": "Explosion proof", "tooltip.anvilcraft.item.hollow_magnet_block": "Attracting the anvil below, when pushed and pulled by the piston, causes adjacent copper blocks to generate charges", + "tooltip.anvilcraft.item.induction_light": "Catalyze crop growth, consumes 1 KW", + "tooltip.anvilcraft.item.item_collector": "Adjust power consumption based on range and cooling, from 30KW to 150KW", "tooltip.anvilcraft.item.magnet": "Attract surrounding items when use", "tooltip.anvilcraft.item.magnet_block": "Attracting the anvil below, when pushed and pulled by the piston, causes adjacent copper blocks to generate charges", "tooltip.anvilcraft.item.piezoelectric_crystal": "Charge generated by an anvil fall on it", + "tooltip.anvilcraft.item.polished_heavy_iron_block": "Explosion proof", + "tooltip.anvilcraft.item.polished_heavy_iron_slab": "Explosion proof", + "tooltip.anvilcraft.item.polished_heavy_iron_stairs": "Explosion proof", "tooltip.anvilcraft.item.power_converter_big": "Convert power into FE, consumes 9 KW", "tooltip.anvilcraft.item.power_converter_middle": "Convert power into FE, consumes 3 KW", "tooltip.anvilcraft.item.power_converter_small": "Convert power into FE, consumes 1 KW", + "tooltip.anvilcraft.item.reinforced_concrete": "Creeper proof", "tooltip.anvilcraft.item.remote_transmission_pole": "Build a power grid with a transmission distance of 8", "tooltip.anvilcraft.item.resin_block": "Use to capture friendly or weak hostile creatures LivingEntity", "tooltip.anvilcraft.item.royal_anvil": "Unbreakable and powerful compatibility", diff --git a/forge/src/generated/resources/data/anvilcraft/tags/items/reinforced_concrete.json b/forge/src/generated/resources/data/anvilcraft/tags/items/reinforced_concrete.json new file mode 100644 index 000000000..22e0f7415 --- /dev/null +++ b/forge/src/generated/resources/data/anvilcraft/tags/items/reinforced_concrete.json @@ -0,0 +1,69 @@ +{ + "replace": false, + "values": [ + "anvilcraft:reinforced_concrete_black", + "anvilcraft:reinforced_concrete_blue", + "anvilcraft:reinforced_concrete_brown", + "anvilcraft:reinforced_concrete_cyan", + "anvilcraft:reinforced_concrete_gray", + "anvilcraft:reinforced_concrete_green", + "anvilcraft:reinforced_concrete_light_blue", + "anvilcraft:reinforced_concrete_light_gray", + "anvilcraft:reinforced_concrete_lime", + "anvilcraft:reinforced_concrete_magenta", + "anvilcraft:reinforced_concrete_orange", + "anvilcraft:reinforced_concrete_pink", + "anvilcraft:reinforced_concrete_purple", + "anvilcraft:reinforced_concrete_red", + "anvilcraft:reinforced_concrete_white", + "anvilcraft:reinforced_concrete_yellow", + "anvilcraft:reinforced_concrete_black_slab", + "anvilcraft:reinforced_concrete_blue_slab", + "anvilcraft:reinforced_concrete_brown_slab", + "anvilcraft:reinforced_concrete_cyan_slab", + "anvilcraft:reinforced_concrete_gray_slab", + "anvilcraft:reinforced_concrete_green_slab", + "anvilcraft:reinforced_concrete_light_blue_slab", + "anvilcraft:reinforced_concrete_light_gray_slab", + "anvilcraft:reinforced_concrete_lime_slab", + "anvilcraft:reinforced_concrete_magenta_slab", + "anvilcraft:reinforced_concrete_orange_slab", + "anvilcraft:reinforced_concrete_pink_slab", + "anvilcraft:reinforced_concrete_purple_slab", + "anvilcraft:reinforced_concrete_red_slab", + "anvilcraft:reinforced_concrete_white_slab", + "anvilcraft:reinforced_concrete_yellow_slab", + "anvilcraft:reinforced_concrete_black_stair", + "anvilcraft:reinforced_concrete_blue_stair", + "anvilcraft:reinforced_concrete_brown_stair", + "anvilcraft:reinforced_concrete_cyan_stair", + "anvilcraft:reinforced_concrete_gray_stair", + "anvilcraft:reinforced_concrete_green_stair", + "anvilcraft:reinforced_concrete_light_blue_stair", + "anvilcraft:reinforced_concrete_light_gray_stair", + "anvilcraft:reinforced_concrete_lime_stair", + "anvilcraft:reinforced_concrete_magenta_stair", + "anvilcraft:reinforced_concrete_orange_stair", + "anvilcraft:reinforced_concrete_pink_stair", + "anvilcraft:reinforced_concrete_purple_stair", + "anvilcraft:reinforced_concrete_red_stair", + "anvilcraft:reinforced_concrete_white_stair", + "anvilcraft:reinforced_concrete_yellow_stair", + "anvilcraft:reinforced_concrete_black_wall", + "anvilcraft:reinforced_concrete_blue_wall", + "anvilcraft:reinforced_concrete_brown_wall", + "anvilcraft:reinforced_concrete_cyan_wall", + "anvilcraft:reinforced_concrete_gray_wall", + "anvilcraft:reinforced_concrete_green_wall", + "anvilcraft:reinforced_concrete_light_blue_wall", + "anvilcraft:reinforced_concrete_light_gray_wall", + "anvilcraft:reinforced_concrete_lime_wall", + "anvilcraft:reinforced_concrete_magenta_wall", + "anvilcraft:reinforced_concrete_orange_wall", + "anvilcraft:reinforced_concrete_pink_wall", + "anvilcraft:reinforced_concrete_purple_wall", + "anvilcraft:reinforced_concrete_red_wall", + "anvilcraft:reinforced_concrete_white_wall", + "anvilcraft:reinforced_concrete_yellow_wall" + ] +} \ No newline at end of file