Package net.minecraft.particles
Class RedstoneParticleData
java.lang.Object
net.minecraft.particles.RedstoneParticleData
- 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 TypeFieldDescriptionprivate final float
static final com.mojang.serialization.Codec<RedstoneParticleData>
static final IParticleData.IDeserializer<RedstoneParticleData>
private final float
private final float
static final RedstoneParticleData
private final float
-
Constructor Summary
ConstructorDescriptionRedstoneParticleData
(float p_i47950_1_, float p_i47950_2_, float p_i47950_3_, float p_i47950_4_) -
Method Summary
Modifier and TypeMethodDescriptionfloat
getB()
float
getG()
float
getR()
float
getScale()
getType()
void
writeToNetwork
(PacketBuffer p_197553_1_)
-
Field Details
-
REDSTONE
-
CODEC
-
DESERIALIZER
-
r
private final float r -
g
private final float g -
b
private final float b -
scale
private final float scale
-
-
Constructor Details
-
RedstoneParticleData
public RedstoneParticleData(float p_i47950_1_, float p_i47950_2_, float p_i47950_3_, float p_i47950_4_)
-
-
Method Details
-
writeToNetwork
- Specified by:
writeToNetwork
in interfaceIParticleData
-
writeToString
- Specified by:
writeToString
in interfaceIParticleData
-
getType
- Specified by:
getType
in interfaceIParticleData
-
getR
public float getR() -
getG
public float getG() -
getB
public float getB() -
getScale
public float getScale()
-