Package net.minecraft.core.particles
Class DustParticleOptionsBase
java.lang.Object
net.minecraft.core.particles.DustParticleOptionsBase
- All Implemented Interfaces:
ParticleOptions
- Direct Known Subclasses:
DustColorTransitionOptions
,DustParticleOptions
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.core.particles.ParticleOptions
ParticleOptions.Deserializer<T extends ParticleOptions>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetColor()
float
getScale()
static Vector3f
readVector3f(com.mojang.brigadier.StringReader p_175807_)
static Vector3f
readVector3f(FriendlyByteBuf p_175811_)
void
writeToNetwork(FriendlyByteBuf p_175809_)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.core.particles.ParticleOptions
getType
-
Field Details
-
MIN_SCALE
public static final float MIN_SCALE- See Also:
- Constant Field Values
-
MAX_SCALE
public static final float MAX_SCALE- See Also:
- Constant Field Values
-
color
-
scale
protected final float scale
-
-
Constructor Details
-
DustParticleOptionsBase
-
-
Method Details
-
readVector3f
public static Vector3f readVector3f(com.mojang.brigadier.StringReader p_175807_) throws com.mojang.brigadier.exceptions.CommandSyntaxException- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
readVector3f
-
writeToNetwork
- Specified by:
writeToNetwork
in interfaceParticleOptions
-
writeToString
- Specified by:
writeToString
in interfaceParticleOptions
-
getColor
-
getScale
public float getScale()
-