Package net.minecraft.core.particles
Class BlockParticleOption
java.lang.Object
net.minecraft.core.particles.BlockParticleOption
- All Implemented Interfaces:
ParticleOptions
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.core.particles.ParticleOptions
ParticleOptions.Deserializer<T extends ParticleOptions>
-
Field Summary
Modifier and TypeFieldDescriptionprivate BlockPos
private BlockState
private ParticleType<BlockParticleOption>
-
Constructor Summary
ConstructorDescriptionBlockParticleOption(ParticleType<BlockParticleOption> p_123629_, BlockState p_123630_)
-
Method Summary
Modifier and TypeMethodDescriptionstatic com.mojang.serialization.Codec<BlockParticleOption>
codec(ParticleType<BlockParticleOption> p_123635_)
getPos()
getState()
getType()
void
writeToNetwork(FriendlyByteBuf p_123640_)
-
Field Details
-
DESERIALIZER
-
type
-
state
-
pos
-
-
Constructor Details
-
BlockParticleOption
-
-
Method Details
-
codec
public static com.mojang.serialization.Codec<BlockParticleOption> codec(ParticleType<BlockParticleOption> p_123635_) -
writeToNetwork
- Specified by:
writeToNetwork
in interfaceParticleOptions
-
writeToString
- Specified by:
writeToString
in interfaceParticleOptions
-
getType
- Specified by:
getType
in interfaceParticleOptions
-
getState
-
setPos
-
getPos
-