net.minecraft.core.particles

public class BlockParticleOption

implements ParticleOptions

lk
net.minecraft.core.particles.BlockParticleOption
net.minecraft.class_2388
net.minecraft.particle.BlockStateParticleEffect
net.minecraft.core.particles.ParticleParamBlock

Field summary

Modifier and TypeField
private static final com.mojang.serialization.Codec<BlockState>
a
BLOCK_STATE_CODEC
field_51463
BLOCK_STATE_CODEC
private final ParticleType<BlockParticleOption>
b
type
field_11183
type
private final BlockState
c
state
field_11182
blockState

Constructor summary

ModifierConstructor
public (ParticleType<BlockParticleOption> type, BlockState blockState)

Method summary

Modifier and TypeMethod
public static com.mojang.serialization.MapCodec<BlockParticleOption>
a(lr<lk> arg0)
codec(ParticleType<BlockParticleOption> arg0)
method_29128(class_2396<class_2388> arg0)
createCodec(ParticleType<BlockStateParticleEffect> type)
public static StreamCodec<? super RegistryFriendlyByteBuf, BlockParticleOption>
b(lr<lk> arg0)
streamCodec(ParticleType<BlockParticleOption> arg0)
method_56170(class_2396<class_2388> arg0)
createPacketCodec(ParticleType<BlockStateParticleEffect> type)
public ParticleType<BlockParticleOption>
a()
getType()
method_10295()
getType()
public BlockState
b()
getState()
method_10278()
getBlockState()