public class ItemParticleData extends java.lang.Object implements IParticleData
IParticleData.IDeserializer<T extends IParticleData>
Modifier and Type | Field and Description |
---|---|
static IParticleData.IDeserializer<ItemParticleData> |
DESERIALIZER |
private ItemStack |
itemStack |
private ParticleType<ItemParticleData> |
particleType |
Constructor and Description |
---|
ItemParticleData(ParticleType<ItemParticleData> p_i47952_1_,
ItemStack p_i47952_2_) |
Modifier and Type | Method and Description |
---|---|
ItemStack |
getItemStack() |
java.lang.String |
getParameters() |
ParticleType<ItemParticleData> |
getType() |
void |
write(PacketBuffer buffer) |
public static final IParticleData.IDeserializer<ItemParticleData> DESERIALIZER
private final ParticleType<ItemParticleData> particleType
private final ItemStack itemStack
public ItemParticleData(ParticleType<ItemParticleData> p_i47952_1_, ItemStack p_i47952_2_)
public void write(PacketBuffer buffer)
write
in interface IParticleData
public java.lang.String getParameters()
getParameters
in interface IParticleData
public ParticleType<ItemParticleData> getType()
getType
in interface IParticleData
public ItemStack getItemStack()