Package net.minecraft.core.particles
Class DustColorTransitionOptions
java.lang.Object
net.minecraft.core.particles.DustParticleOptionsBase
net.minecraft.core.particles.DustColorTransitionOptions
- All Implemented Interfaces:
ParticleOptions
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.core.particles.ParticleOptions
ParticleOptions.Deserializer<T extends ParticleOptions>
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<DustColorTransitionOptions>
static final ParticleOptions.Deserializer<DustColorTransitionOptions>
static final org.joml.Vector3f
static final DustColorTransitionOptions
private final org.joml.Vector3f
Fields inherited from class net.minecraft.core.particles.DustParticleOptionsBase
color, MAX_SCALE, MIN_SCALE, scale
-
Constructor Summary
ConstructorsConstructorDescriptionDustColorTransitionOptions
(org.joml.Vector3f p_254199_, org.joml.Vector3f p_254529_, float p_254178_) -
Method Summary
Modifier and TypeMethodDescriptionorg.joml.Vector3f
org.joml.Vector3f
getType()
void
writeToNetwork
(FriendlyByteBuf p_175767_) Methods inherited from class net.minecraft.core.particles.DustParticleOptionsBase
getColor, getScale, readVector3f, readVector3f
-
Field Details
-
SCULK_PARTICLE_COLOR
public static final org.joml.Vector3f SCULK_PARTICLE_COLOR -
SCULK_TO_REDSTONE
-
CODEC
-
DESERIALIZER
-
toColor
private final org.joml.Vector3f toColor
-
-
Constructor Details
-
DustColorTransitionOptions
public DustColorTransitionOptions(org.joml.Vector3f p_254199_, org.joml.Vector3f p_254529_, float p_254178_)
-
-
Method Details
-
getFromColor
public org.joml.Vector3f getFromColor() -
getToColor
public org.joml.Vector3f getToColor() -
writeToNetwork
- Specified by:
writeToNetwork
in interfaceParticleOptions
- Overrides:
writeToNetwork
in classDustParticleOptionsBase
-
writeToString
- Specified by:
writeToString
in interfaceParticleOptions
- Overrides:
writeToString
in classDustParticleOptionsBase
-
getType
-