Package net.minecraft.particles
Class RedstoneParticleData
- java.lang.Object
-
- net.minecraft.particles.RedstoneParticleData
-
- All Implemented Interfaces:
IParticleData
public class RedstoneParticleData extends java.lang.Object implements IParticleData
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface net.minecraft.particles.IParticleData
IParticleData.IDeserializer<T extends IParticleData>
-
-
Field Summary
Fields Modifier and Type Field Description private float
b
static com.mojang.serialization.Codec<RedstoneParticleData>
CODEC
static IParticleData.IDeserializer<RedstoneParticleData>
DESERIALIZER
private float
g
private float
r
static RedstoneParticleData
REDSTONE
private float
scale
-
Constructor Summary
Constructors Constructor Description RedstoneParticleData(float p_i47950_1_, float p_i47950_2_, float p_i47950_3_, float p_i47950_4_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description float
getB()
float
getG()
float
getR()
float
getScale()
ParticleType<RedstoneParticleData>
getType()
void
writeToNetwork(PacketBuffer p_197553_1_)
java.lang.String
writeToString()
-
-
-
Field Detail
-
REDSTONE
public static final RedstoneParticleData REDSTONE
-
CODEC
public static final com.mojang.serialization.Codec<RedstoneParticleData> CODEC
-
DESERIALIZER
public static final IParticleData.IDeserializer<RedstoneParticleData> DESERIALIZER
-
r
private final float r
-
g
private final float g
-
b
private final float b
-
scale
private final float scale
-
-
Method Detail
-
writeToNetwork
public void writeToNetwork(PacketBuffer p_197553_1_)
- Specified by:
writeToNetwork
in interfaceIParticleData
-
writeToString
public java.lang.String writeToString()
- Specified by:
writeToString
in interfaceIParticleData
-
getType
public ParticleType<RedstoneParticleData> getType()
- Specified by:
getType
in interfaceIParticleData
-
getR
public float getR()
-
getG
public float getG()
-
getB
public float getB()
-
getScale
public float getScale()
-
-