net.minecraft.core.particles

public class ItemParticleOption

implements ParticleOptions

li
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
private static final com.mojang.serialization.Codec<ItemStack>
a
ITEM_CODEC
field_51464
ITEM_STACK_CODEC
f_314946_
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.MapCodec<ItemParticleOption>
a(ll<li> arg0)
codec(ParticleType<ItemParticleOption> arg0)
method_29136(class_2396<class_2392> arg0)
createCodec(ParticleType<ItemStackParticleEffect> type)
m_123710_(C_4758_<C_4754_> p_123711_)
public static StreamCodec<? super RegistryFriendlyByteBuf, ItemParticleOption>
b(ll<li> arg0)
streamCodec(ParticleType<ItemParticleOption> arg0)
method_56178(class_2396<class_2392> arg0)
createPacketCodec(ParticleType<ItemStackParticleEffect> type)
m_322965_(C_4758_<C_4754_> p_332819_)
public ParticleType<ItemParticleOption>
a()
getType()
method_10295()
getType()
m_6012_()
public ItemStack
b()
getItem()
method_10289()
getItemStack()
m_123718_()