public class ItemData
extends Object
-
Constructor Summary
Constructors
ItemData(net.minecraft.world.item.ItemStack itemStack)
-
Method Summary
deocde(net.minecraft.network.FriendlyByteBuf buffer)
void
encode(net.minecraft.network.FriendlyByteBuf buffer)
boolean
net.minecraft.world.item.ItemStack
int
-
Constructor Details
-
ItemData
public ItemData(net.minecraft.world.item.ItemStack itemStack)
-
Method Details
-
getItemStack
public net.minecraft.world.item.ItemStack getItemStack()
-
encode
public void encode(net.minecraft.network.FriendlyByteBuf buffer)
-
deocde
public static ItemData deocde(net.minecraft.network.FriendlyByteBuf buffer)
-
-