net.minecraft.core.particles

public class BlockParticleOption

implements ParticleOptions

la
net.minecraft.core.particles.BlockParticleOption
net.minecraft.class_2388
net.minecraft.particle.BlockStateParticleEffect
net.minecraft.src.C_4750_
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
f_315570_
private final ParticleType<BlockParticleOption>
b
type
field_11183
type
f_123625_
private final BlockState
c
state
field_11182
blockState
f_123626_

Constructor summary

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

Method summary

Modifier and TypeMethod
public static com.mojang.serialization.MapCodec<BlockParticleOption>
a(lh<la> arg0)
codec(ParticleType<BlockParticleOption> arg0)
method_29128(class_2396<class_2388> arg0)
createCodec(ParticleType<BlockStateParticleEffect> type)
m_123634_(C_4758_<C_4750_> p_123635_)
public static StreamCodec<? super RegistryFriendlyByteBuf, BlockParticleOption>
b(lh<la> arg0)
streamCodec(ParticleType<BlockParticleOption> arg0)
method_56170(class_2396<class_2388> arg0)
createPacketCodec(ParticleType<BlockStateParticleEffect> type)
m_320731_(C_4758_<C_4750_> p_328414_)
public ParticleType<BlockParticleOption>
a()
getType()
method_10295()
getType()
m_6012_()
public BlockState
b()
getState()
method_10278()
getBlockState()
m_123642_()