public class ItemData
extends java.lang.Object
Constructor and Description |
---|
ItemData(net.minecraft.item.ItemStack itemStack) |
Modifier and Type | Method and Description |
---|---|
static ItemData |
deocde(net.minecraft.network.PacketBuffer buffer) |
void |
encode(net.minecraft.network.PacketBuffer buffer) |
boolean |
equals(java.lang.Object o) |
net.minecraft.item.ItemStack |
getItemStack() |
int |
hashCode() |
public net.minecraft.item.ItemStack getItemStack()
public void encode(net.minecraft.network.PacketBuffer buffer)
public static ItemData deocde(net.minecraft.network.PacketBuffer buffer)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object