Package net.minecraft.item
Class NetworkSyncedItem
java.lang.Object
net.minecraft.item.Item
net.minecraft.item.NetworkSyncedItem
- Direct Known Subclasses:
MapItem
- Mappings:
Namespace Name intermediary net/minecraft/class_561glue class_63server boclient cpnamed net/minecraft/item/NetworkSyncedItem
-
Field Summary
Fields inherited from class net.minecraft.item.Item
APPLE, ARROW, BED, BOAT, BONE, BOOK, BOW, BOWL, BREAD, BRICK, BUCKET, CAKE, CHAIN_BOOTS, CHAIN_CHESTPLATE, CHAIN_HELMET, CHAIN_LEGGINGS, CHEST_MINECART, CLAY, CLOCK, COAL, COMPASS, COOKED_FISH, COOKED_PORKCHOP, COOKIE, DIAMOND, DIAMOND_AXE, DIAMOND_BOOTS, DIAMOND_CHESTPLATE, DIAMOND_HELMET, DIAMOND_HOE, DIAMOND_LEGGINGS, DIAMOND_PICKAXE, DIAMOND_SHOVEL, DIAMOND_SWORD, DYE, EGG, FEATHER, FISHING_ROD, FLINT, FLINT_AND_STEEL, FURNACE_MINECART, GLOWSTONE_DUST, GOLD_INGOT, GOLDEN_APPLE, GOLDEN_AXE, GOLDEN_BOOTS, GOLDEN_CHESTPLATE, GOLDEN_HELMET, GOLDEN_HOE, GOLDEN_LEGGINGS, GOLDEN_PICKAXE, GOLDEN_SHOVEL, GOLDEN_SWORD, GUNPOWDER, handheld, hasSubtypes, id, IRON_AXE, IRON_BOOTS, IRON_CHESTPLATE, IRON_DOOR, IRON_HELMET, IRON_HOE, IRON_INGOT, IRON_LEGGINGS, IRON_PICKAXE, IRON_SHOVEL, IRON_SWORD, ITEMS, LAVA_BUCKET, LEATHER, LEATHER_BOOTS, LEATHER_CHESTPLATE, LEATHER_HELMET, LEATHER_LEGGINGS, MAP, maxCount, MILK_BUCKET, MINECART, MUSHROOM_STEW, PAINTING, PAPER, random, RAW_FISH, RAW_PORKCHOP, RECORD_CAT, RECORD_THIRTEEN, REDSTONE, REPEATER, SADDLE, SEEDS, SHEARS, SIGN, SLIMEBALL, SNOWBALL, STICK, STONE_AXE, STONE_HOE, STONE_PICKAXE, STONE_SHOVEL, STONE_SWORD, STRING, SUGAR, SUGAR_CANE, textureId, WATER_BUCKET, WHEAT, WOODEN_AXE, WOODEN_DOOR, WOODEN_HOE, WOODEN_PICKAXE, WOODEN_SHOVEL, WOODEN_SWORD -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetUpdatePacket(ItemStack stack, World world, PlayerEntity player) booleanMethods inherited from class net.minecraft.item.Item
getAttackDamage, getColorMultiplier, getCraftingReturnItem, getMaxCount, getMaxDamage, getMiningSpeedMultiplier, getPlacementMetadata, getTextureId, getTextureId, getTranslatedName, getTranslationKey, getTranslationKey, hasCraftingReturnItem, hasSubtypes, inventoryTick, isDamageable, isHandheld, isHandheldRod, isSuitableFor, onCraft, postHit, postMine, setCraftingReturnItem, setHandheld, setHasSubtypes, setMaxCount, setMaxDamage, setTextureId, setTexturePosition, setTranslationKey, use, useOnBlock, useOnEntity
-
Constructor Details
-
NetworkSyncedItem
protected NetworkSyncedItem(int id) - Mappings:
Namespace Name Mixin selector intermediary <init>Lnet/minecraft/class_124;<init>(I)Vglue <init>Lclass_166;<init>(I)Vserver <init>Lej;<init>(I)Vclient <init>Lgm;<init>(I)Vnamed <init>Lnet/minecraft/item/Item;<init>(I)V
-
-
Method Details
-
isNetworkSynced
- Overrides:
isNetworkSyncedin classItem- Mappings:
Namespace Name Mixin selector intermediary method_445Lnet/minecraft/class_124;method_445()Zglue method_199Lclass_166;method_199()Zserver bLej;b()Zclient method_445Lgm;method_445()Znamed isNetworkSyncedLnet/minecraft/item/Item;isNetworkSynced()Z
-
getUpdatePacket
@Environment(SERVER) public Packet getUpdatePacket(ItemStack stack, World world, PlayerEntity player) - Mappings:
Namespace Name Mixin selector intermediary method_1855Lnet/minecraft/class_561;method_1855(Lnet/minecraft/class_31;Lnet/minecraft/class_18;Lnet/minecraft/class_54;)Lnet/minecraft/class_169;glue method_200Lclass_63;method_200(Lclass_224;Lclass_129;Lclass_172;)Lclass_257;server bLbo;b(Lfy;Ldj;Lem;)Lgt;client method_1855Lcp;method_1855(Liz;Lfd;Lgs;)Lki;named getUpdatePacketLnet/minecraft/item/NetworkSyncedItem;getUpdatePacket(Lnet/minecraft/item/ItemStack;Lnet/minecraft/world/World;Lnet/minecraft/entity/player/PlayerEntity;)Lnet/minecraft/network/packet/Packet;
-