Package net.minecraft.item
Class NetworkSyncedItem
java.lang.Object
net.minecraft.item.Item
net.minecraft.item.NetworkSyncedItem
- Direct Known Subclasses:
EmptyMapItem,FilledMapItem
- Mappings:
Namespace Name official ahointermediary net/minecraft/class_1040named net/minecraft/item/NetworkSyncedItem
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.item.Item
Item.ToolMaterialType -
Field Summary
Fields inherited from class net.minecraft.item.Item
ATTACK_DAMAGE_MODIFIER_UUID, ATTACK_SPEED_MODIFIER, damageable, handheld, maxCount, RANDOM, REGISTRY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionPacket<?>createSyncPacket(ItemStack stack, World world, PlayerEntity player) booleanMethods inherited from class net.minecraft.item.Item
addProperty, appendToItemGroup, appendTooltips, byRawId, canAddTo, canRepair, fromBlock, getBlockBreakingSpeed, getDefaultStack, getDisplayName, getEnchantability, getFromId, getItemGroup, getItemstackTranslatedName, getMaxCount, getMaxDamage, getMaxUseTime, getMeta, getProperty, getRarity, getRawId, getRecipeRemainder, getTranslationKey, getTranslationKey, getUseAction, hasEnchantmentGlint, hasProperties, hasSubTypes, inventoryTick, isDamageable, isEnchantable, isFood, isHandheld, isUnbreakable, method_13649, method_3346, method_3353, method_3356, method_3359, method_3367, method_6326, onCraft, onEntityHit, onHit, postProcessNbt, registerBlockItem, setHandheld, setItemGroup, setMaxCount, setMaxDamage, setRecipeRemainder, setTranslationKey, setUnbreakable, setup, shouldRotate, shouldSyncNbtToClient, use
-
Constructor Details
-
NetworkSyncedItem
protected NetworkSyncedItem()- Mappings:
Namespace Name Mixin selector official <init>Lain;<init>()Vintermediary <init>Lnet/minecraft/class_1069;<init>()Vnamed <init>Lnet/minecraft/item/Item;<init>()V
-
-
Method Details
-
isNetworkSynced
public boolean isNetworkSynced()- Overrides:
isNetworkSyncedin classItem- Mappings:
Namespace Name Mixin selector official fLain;f()Zintermediary method_3388Lnet/minecraft/class_1069;method_3388()Znamed isNetworkSyncedLnet/minecraft/item/Item;isNetworkSynced()Z
-
createSyncPacket
- Mappings:
Namespace Name Mixin selector official aLaho;a(Laip;Lamu;Laed;)Lht;intermediary method_3314Lnet/minecraft/class_1040;method_3314(Lnet/minecraft/class_1071;Lnet/minecraft/class_1150;Lnet/minecraft/class_988;)Lnet/minecraft/class_700;named createSyncPacketLnet/minecraft/item/NetworkSyncedItem;createSyncPacket(Lnet/minecraft/item/ItemStack;Lnet/minecraft/world/World;Lnet/minecraft/entity/player/PlayerEntity;)Lnet/minecraft/network/Packet;
-