net.minecraft.core.particles

public class ItemParticleOption

implements ParticleOptions

hr
net.minecraft.core.particles.ItemParticleOption
net.minecraft.class_2392
net.minecraft.particle.ItemStackParticleEffect
net.minecraft.src.C_4754_
net.minecraft.core.particles.ParticleParamItem

Field summary

Modifier and TypeField
public static final ParticleOptions$Deserializer<ItemParticleOption>
a
DESERIALIZER
field_11191
PARAMETERS_FACTORY
f_123700_
private final ParticleType<ItemParticleOption>
b
type
field_11193
type
f_123701_
private final ItemStack
c
itemStack
field_11192
stack
f_123702_

Constructor summary

ModifierConstructor
public (ParticleType<ItemParticleOption> type, ItemStack stack)

Method summary

Modifier and TypeMethod
public static com.mojang.serialization.Codec<ItemParticleOption>
a(hu<hr> arg0)
codec(ParticleType<ItemParticleOption> arg0)
method_29136(class_2396<class_2392> arg0)
method_29136(ParticleType<ItemStackParticleEffect> arg0)
m_123710_(C_4758_<C_4754_> p_123711_)
public void
a(og arg0)
writeToNetwork(FriendlyByteBuf arg0)
method_10294(class_2540 arg0)
write(PacketByteBuf arg0)
m_7711_(C_4983_ arg0)
public String
a()
writeToString()
method_10293()
asString()
m_5942_()
public ParticleType<ItemParticleOption>
b()
getType()
method_10295()
getType()
m_6012_()
getParticle()
public ItemStack
c()
getItem()
method_10289()
getItemStack()
m_123718_()