Class DustParticleOptionsBase

java.lang.Object
net.minecraft.core.particles.DustParticleOptionsBase
All Implemented Interfaces:
ParticleOptions
Direct Known Subclasses:
DustColorTransitionOptions, DustParticleOptions

public abstract class DustParticleOptionsBase extends Object implements ParticleOptions
  • 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

      public static org.joml.Vector3f readVector3f(FriendlyByteBuf p_254279_)
    • writeToNetwork

      public void writeToNetwork(FriendlyByteBuf p_175809_)
      Specified by:
      writeToNetwork in interface ParticleOptions
    • writeToString

      public String writeToString()
      Specified by:
      writeToString in interface ParticleOptions
    • getColor

      public org.joml.Vector3f getColor()
    • getScale

      public float getScale()