From 55aac31bb9b9e9f256ab8ec70454209fb6e63cf4 Mon Sep 17 00:00:00 2001 From: Sen Date: Sat, 21 Jun 2025 20:29:40 +0200 Subject: [PATCH] change charged golden apple --- .../{golden_apple_powered.png => charged_apple.png} | Bin .../src/main/java/common/init/CraftingRegistry.java | 2 +- common/src/main/java/common/init/ItemRegistry.java | 4 ++-- common/src/main/java/common/init/Items.java | 2 +- .../java/common/tileentity/TileEntityBanner.java | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) rename client/src/main/resources/textures/items/{golden_apple_powered.png => charged_apple.png} (100%) diff --git a/client/src/main/resources/textures/items/golden_apple_powered.png b/client/src/main/resources/textures/items/charged_apple.png similarity index 100% rename from client/src/main/resources/textures/items/golden_apple_powered.png rename to client/src/main/resources/textures/items/charged_apple.png diff --git a/common/src/main/java/common/init/CraftingRegistry.java b/common/src/main/java/common/init/CraftingRegistry.java index 1b5c9726..cbe4afd6 100755 --- a/common/src/main/java/common/init/CraftingRegistry.java +++ b/common/src/main/java/common/init/CraftingRegistry.java @@ -323,7 +323,7 @@ public abstract class CraftingRegistry add(new ItemStack(Blocks.sandstone_stairs, 4), "# ", "## ", "###", '#', Blocks.sandstone); add(new ItemStack(Blocks.quartz_stairs, 4), "# ", "## ", "###", '#', Blocks.quartz_block); add(new ItemStack(Items.golden_apple, 1), "###", "#X#", "###", '#', Items.gold_ingot, 'X', Items.apple); - add(new ItemStack(Items.golden_apple_powered, 1), "###", "#X#", "###", '#', Blocks.gold_block, 'X', Items.apple); + add(new ItemStack(Items.charged_apple, 1), "###", "#X#", "###", '#', Blocks.gold_block, 'X', Items.apple); add(new ItemStack(Items.golden_carrot, 1), "###", "#X#", "###", '#', Items.gold_nugget, 'X', Items.carrot); add(new ItemStack(Items.speckled_melon, 1), "###", "#X#", "###", '#', Items.gold_nugget, 'X', Items.melon); add(new ItemStack(Blocks.lever, 1), "X", "#", '#', Blocks.cobblestone, 'X', Items.stick); diff --git a/common/src/main/java/common/init/ItemRegistry.java b/common/src/main/java/common/init/ItemRegistry.java index d3e33a1e..1aded2e9 100755 --- a/common/src/main/java/common/init/ItemRegistry.java +++ b/common/src/main/java/common/init/ItemRegistry.java @@ -359,8 +359,8 @@ public abstract class ItemRegistry { registerItem("cooked_porkchop", (new ItemFood(8, true)).setDisplay("Gebratenes Schweinefleisch")); registerItem("golden_apple", (new ItemAppleGold(4, false)).setPotionEffect(Potion.REGENERATION, 5, 1, 1.0F) .setDisplay("Goldener Apfel")); - registerItem("golden_apple_powered", (new ItemAppleGold(4, true)).setPotionEffect(Potion.REGENERATION, 5, 1, 1.0F) - .setDisplay("Goldener Apfel")); + registerItem("charged_apple", (new ItemAppleGold(4, true)).setPotionEffect(Potion.REGENERATION, 5, 1, 1.0F) + .setDisplay("Geladener Apfel")); registerItem((new ItemSign()).setDisplay("Schild")); registerItem("saddle", (new ItemSaddle()).setDisplay("Sattel")); registerItem((new ItemRedstone()).setDisplay("Redstone").setPotionEffect(PotionHelper.redstoneEffect).setMaxAmount(256)); diff --git a/common/src/main/java/common/init/Items.java b/common/src/main/java/common/init/Items.java index a64f32b1..f4500027 100755 --- a/common/src/main/java/common/init/Items.java +++ b/common/src/main/java/common/init/Items.java @@ -347,7 +347,7 @@ public abstract class Items { public static final ItemShovel gold_shovel = get("gold_shovel"); public static final ItemSword gold_sword = get("gold_sword"); public static final ItemAppleGold golden_apple = get("golden_apple"); - public static final ItemAppleGold golden_apple_powered = get("golden_apple_powered"); + public static final ItemAppleGold charged_apple = get("charged_apple"); public static final ItemFood golden_carrot = get("golden_carrot"); public static final ItemBlock golden_rail = get("golden_rail"); public static final ItemBucket goo_bucket = get("goo_bucket"); diff --git a/common/src/main/java/common/tileentity/TileEntityBanner.java b/common/src/main/java/common/tileentity/TileEntityBanner.java index 7664cbff..be5d13b0 100755 --- a/common/src/main/java/common/tileentity/TileEntityBanner.java +++ b/common/src/main/java/common/tileentity/TileEntityBanner.java @@ -254,7 +254,7 @@ public class TileEntityBanner extends TileEntity BRICKS("bricks", "bri", "Feld %s gemauert", null, true, new ItemStack(Blocks.brick_block)), SKULL("skull", "sku", "%s Schädel", 1, false, new ItemStack(Items.skull)), FLOWER("flower", "flo", "%s Blume", -1, false, new ItemStack(Items.daisy)), - THING("thing", "thi", "%s ", 0, false, new ItemStack(Items.golden_apple_powered)); + THING("thing", "thi", "%s ", 0, false, new ItemStack(Items.charged_apple)); private String patternName; private String patternID;