diff --git a/mappings/net/minecraft/item/Item.mapping b/mappings/net/minecraft/item/Item.mapping index 9cee933c92..5cb270f189 100644 --- a/mappings/net/minecraft/item/Item.mapping +++ b/mappings/net/minecraft/item/Item.mapping @@ -52,6 +52,7 @@ CLASS net/minecraft/class_1792 net/minecraft/item/Item ARG 4 remainingUseTicks METHOD method_7841 getMaxDamage ()I METHOD method_7843 onCraft (Lnet/minecraft/class_1799;Lnet/minecraft/class_1937;Lnet/minecraft/class_1657;)V + COMMENT Called when a player acquires the item by crafting, smelting, smithing, etc. ARG 1 stack ARG 2 world ARG 3 player @@ -151,11 +152,15 @@ CLASS net/minecraft/class_1792 net/minecraft/item/Item ARG 1 context COMMENT the usage context METHOD method_7885 canMine (Lnet/minecraft/class_2680;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_1657;)Z + COMMENT Checks if a player can break a block while holding the item. ARG 1 state ARG 2 world ARG 3 pos ARG 4 miner METHOD method_7886 hasGlint (Lnet/minecraft/class_1799;)Z + COMMENT Checks if the glint effect should be applied when the item is rendered. + COMMENT + COMMENT

By default, returns true if the item has enchantments. ARG 1 stack METHOD method_7887 shouldSyncTagToClient ()Z COMMENT Checks if an item should have its NBT data stored in {@link #tag} sent to the client.