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

  • Constructor Details

    • DustParticleOptionsBase

      public DustParticleOptionsBase(Vector3f p_175803_, float p_175804_)
  • 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

      public static Vector3f readVector3f(FriendlyByteBuf p_175811_)
    • 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 Vector3f getColor()
    • getScale

      public float getScale()