Class Particle.ParticleData<T>

java.lang.Object
com.viaversion.viaversion.api.minecraft.Particle.ParticleData<T>
Enclosing class:
Particle

public static final class Particle.ParticleData<T> extends Object
  • Constructor Details

    • ParticleData

      public ParticleData(Type<T> type, T value)
  • Method Details

    • getType

      public Type<T> getType()
    • getValue

      public T getValue()
    • setValue

      public void setValue(T value)
    • write

      public void write(io.netty.buffer.ByteBuf buf)
    • write

      public void write(PacketWrapper wrapper)
    • copy

      public Particle.ParticleData<T> copy()
    • toString

      public String toString()
      Overrides:
      toString in class Object