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 TypeMethodDescriptionorg.joml.Vector3f
getColor()
float
getScale()
static org.joml.Vector3f
readVector3f
(com.mojang.brigadier.StringReader p_254560_) static org.joml.Vector3f
readVector3f
(FriendlyByteBuf p_254279_) 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:
-
MAX_SCALE
public static final float MAX_SCALE- See Also:
-
color
protected final org.joml.Vector3f color -
scale
protected final float scale
-
-
Constructor Details
-
DustParticleOptionsBase
public DustParticleOptionsBase(org.joml.Vector3f p_253672_, float p_253735_)
-
-
Method Details
-
readVector3f
public static org.joml.Vector3f readVector3f(com.mojang.brigadier.StringReader p_254560_) 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
public org.joml.Vector3f getColor() -
getScale
public float getScale()
-