net.minecraft.core.particles

public class ItemParticleOption

implements ParticleOptions

lp
net.minecraft.core.particles.ItemParticleOption
net.minecraft.class_2392
net.minecraft.particle.ItemStackParticleEffect
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
private final ParticleType<ItemParticleOption>
b
type
field_11193
type
private final ItemStack
c
itemStack
field_11192
stack

Constructor summary

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

Method summary

Modifier and TypeMethod
public static com.mojang.serialization.MapCodec<ItemParticleOption>
a(ls<lp> arg0)
codec(ParticleType<ItemParticleOption> arg0)
method_29136(class_2396<class_2392> arg0)
createCodec(ParticleType<ItemStackParticleEffect> type)
public static StreamCodec<? super RegistryFriendlyByteBuf, ItemParticleOption>
b(ls<lp> arg0)
streamCodec(ParticleType<ItemParticleOption> arg0)
method_56178(class_2396<class_2392> arg0)
createPacketCodec(ParticleType<ItemStackParticleEffect> type)
public ParticleType<ItemParticleOption>
a()
getType()
method_10295()
getType()
public ItemStack
b()
getItem()
method_10289()
getItemStack()