Package net.minecraft.item
Class NetworkSyncedItem
java.lang.Object
net.minecraft.item.Item
net.minecraft.item.NetworkSyncedItem
- Direct Known Subclasses:
EmptyMapItem,FilledMapItem
public class NetworkSyncedItem extends Item
- Mappings:
Namespace Name official yyintermediary net/minecraft/class_2028named 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, damageable, handheld, maxCount, RANDOM, REGISTRY -
Constructor Summary
Constructors Modifier Constructor Description protectedNetworkSyncedItem() -
Method Summary
Modifier and Type Method Description PacketcreateSyncPacket(ItemStack stack, World world, PlayerEntity player)booleanisNetworkSynced()Methods inherited from class net.minecraft.item.Item
appendItemStacks, appendTooltip, byRawId, canRepair, canUseOnEntity, fromBlock, getAttributeModifierMap, getDisplayColor, getDisplayName, getEnchantability, getFromId, getItemGroup, getItemstackTranslatedName, getMaxCount, getMaxDamage, getMaxUseTime, getMeta, getMiningSpeedMultiplier, getRarity, getRawId, getRecipeRemainder, getStatusEffectString, getTranslationKey, getTranslationKey, getUseAction, hasEnchantmentGlint, hasStatusEffectString, hasSubTypes, inventoryTick, isDamageable, isEffectiveOn, isEnchantable, isFood, isHandheld, isUnbreakable, onBlockBroken, onCraft, onEntityHit, onFinishUse, onHit, onStartUse, onUseStopped, postProcessTag, registerBlockItem, setHandheld, setItemGroup, setMaxCount, setMaxDamage, setRecipeRemainder, setStatusEffectString, setTranslationKey, setUnbreakable, setup, shouldRotate, shouldSyncTagToClient, use
-
Constructor Details
-
NetworkSyncedItem
protected NetworkSyncedItem()- Mappings:
Namespace Name Mixin selector official <init>Lzw;<init>()Vintermediary <init>Lnet/minecraft/class_2054;<init>()Vnamed <init>Lnet/minecraft/item/Item;<init>()V
-
-
Method Details
-
isNetworkSynced
public boolean isNetworkSynced()- Overrides:
isNetworkSyncedin classItem- Mappings:
Namespace Name Mixin selector official fLzw;f()Zintermediary method_8287Lnet/minecraft/class_2054;method_8287()Znamed isNetworkSyncedLnet/minecraft/item/Item;isNetworkSynced()Z
-
createSyncPacket
- Mappings:
Namespace Name Mixin selector official cLyy;c(Lzx;Ladm;Lwn;)Lff;intermediary method_8188Lnet/minecraft/class_2028;method_8188(Lnet/minecraft/class_2056;Lnet/minecraft/class_99;Lnet/minecraft/class_1963;)Lnet/minecraft/class_1457;named createSyncPacketLnet/minecraft/item/NetworkSyncedItem;createSyncPacket(Lnet/minecraft/item/ItemStack;Lnet/minecraft/world/World;Lnet/minecraft/entity/player/PlayerEntity;)Lnet/minecraft/network/Packet;
-