Package net.minecraft.core.particles
Class BlockParticleOption
java.lang.Object
net.minecraft.core.particles.BlockParticleOption
- All Implemented Interfaces:
ParticleOptions
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final com.mojang.serialization.Codec
<BlockState> private BlockPos
private final BlockState
private final ParticleType
<BlockParticleOption> -
Constructor Summary
ConstructorDescriptionBlockParticleOption
(ParticleType<BlockParticleOption> p_123629_, BlockState p_123630_) -
Method Summary
Modifier and TypeMethodDescriptionstatic com.mojang.serialization.MapCodec
<BlockParticleOption> codec
(ParticleType<BlockParticleOption> p_123635_) getPos()
getState()
getType()
static StreamCodec
<? super RegistryFriendlyByteBuf, BlockParticleOption> streamCodec
(ParticleType<BlockParticleOption> p_328414_)
-
Field Details
-
BLOCK_STATE_CODEC
-
type
-
state
-
pos
-
-
Constructor Details
-
BlockParticleOption
-
-
Method Details
-
codec
public static com.mojang.serialization.MapCodec<BlockParticleOption> codec(ParticleType<BlockParticleOption> p_123635_) -
streamCodec
public static StreamCodec<? super RegistryFriendlyByteBuf,BlockParticleOption> streamCodec(ParticleType<BlockParticleOption> p_328414_) -
getType
- Specified by:
getType
in interfaceParticleOptions
-
getState
-
setPos
-
getPos
-