diff --git a/src/main/java/me/ellieis/Sabotage/game/custom/items/DetectiveShears.java b/src/main/java/me/ellieis/Sabotage/game/custom/items/DetectiveShears.java index d3c55f7..f02e50f 100644 --- a/src/main/java/me/ellieis/Sabotage/game/custom/items/DetectiveShears.java +++ b/src/main/java/me/ellieis/Sabotage/game/custom/items/DetectiveShears.java @@ -11,6 +11,7 @@ import net.minecraft.server.network.ServerPlayerEntity; import net.minecraft.util.ActionResult; import net.minecraft.util.Hand; +import net.minecraft.util.Identifier; import net.minecraft.world.World; import xyz.nucleoid.packettweaker.PacketContext; @@ -38,4 +39,9 @@ public ActionResult useOnEntity(ItemStack item, PlayerEntity plr, LivingEntity e public Item getPolymerItem(ItemStack itemStack, PacketContext context) { return Items.SHEARS; } + + @Override + public Identifier getPolymerItemModel(ItemStack stack, PacketContext context) { + return null; + } } diff --git a/src/main/java/me/ellieis/Sabotage/game/custom/items/TesterSign.java b/src/main/java/me/ellieis/Sabotage/game/custom/items/TesterSign.java index fd0254a..d34b58c 100644 --- a/src/main/java/me/ellieis/Sabotage/game/custom/items/TesterSign.java +++ b/src/main/java/me/ellieis/Sabotage/game/custom/items/TesterSign.java @@ -3,6 +3,7 @@ import eu.pb4.polymer.core.api.item.PolymerItem; import net.minecraft.block.Block; import net.minecraft.item.*; +import net.minecraft.util.Identifier; import xyz.nucleoid.packettweaker.PacketContext; public class TesterSign extends SignItem implements PolymerItem { @@ -15,4 +16,9 @@ public TesterSign(Settings settings, Block standingBlock, Block wallBlock) { public Item getPolymerItem(ItemStack itemStack, PacketContext context) { return Items.OAK_SIGN; } + + @Override + public Identifier getPolymerItemModel(ItemStack stack, PacketContext context) { + return null; + } } diff --git a/src/main/resources/data/sabotage/lang/en_us.json b/src/main/resources/data/sabotage/lang/en_us.json index e19cd02..76a109f 100644 --- a/src/main/resources/data/sabotage/lang/en_us.json +++ b/src/main/resources/data/sabotage/lang/en_us.json @@ -1,8 +1,8 @@ { "gameType.sabotage.sabotage": "Sabotage", - "block.sabotage.sabotage_chest": "Sabotage Chest", - "block.sabotage.tester_wool": "Tester Wool", - "block.sabotage.tester_sign": "Tester Sign", + "item.sabotage.sabotage_chest": "Sabotage Chest", + "item.sabotage.tester_wool": "Tester Wool", + "item.sabotage.tester_sign": "Tester Sign", "item.sabotage.detective_shears": "Portable Tester", "map.sabotage.random": "Random",