Package net.minecraft.particles
Class BlockParticleData
java.lang.Object
net.minecraft.particles.BlockParticleData
- All Implemented Interfaces:
IParticleData
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.particles.IParticleData
IParticleData.IDeserializer<T extends IParticleData>
-
Field Summary
Modifier and TypeFieldDescriptionstatic final IParticleData.IDeserializer<BlockParticleData>
private BlockPos
private final BlockState
private final ParticleType<BlockParticleData>
-
Constructor Summary
ConstructorDescriptionBlockParticleData
(ParticleType<BlockParticleData> p_i47953_1_, BlockState p_i47953_2_) -
Method Summary
Modifier and TypeMethodDescriptionstatic com.mojang.serialization.Codec<BlockParticleData>
codec
(ParticleType<BlockParticleData> p_239800_0_) getPos()
getState()
getType()
void
writeToNetwork
(PacketBuffer p_197553_1_)
-
Field Details
-
DESERIALIZER
-
type
-
state
-
pos
-
-
Constructor Details
-
BlockParticleData
-
-
Method Details
-
codec
public static com.mojang.serialization.Codec<BlockParticleData> codec(ParticleType<BlockParticleData> p_239800_0_) -
writeToNetwork
- Specified by:
writeToNetwork
in interfaceIParticleData
-
writeToString
- Specified by:
writeToString
in interfaceIParticleData
-
getType
- Specified by:
getType
in interfaceIParticleData
-
getState
-
setPos
-
getPos
-