Class ParticleDustColorTransitionData

java.lang.Object
com.github.retrooper.packetevents.protocol.particle.data.ParticleData
com.github.retrooper.packetevents.protocol.particle.data.ParticleDustColorTransitionData

public class ParticleDustColorTransitionData extends ParticleData
  • Constructor Details

    • ParticleDustColorTransitionData

      public ParticleDustColorTransitionData(float scale, float startRed, float startGreen, float startBlue, float endRed, float endGreen, float endBlue)
    • ParticleDustColorTransitionData

      public ParticleDustColorTransitionData(float scale, float[] startRGB, float[] endRGB)
    • ParticleDustColorTransitionData

      public ParticleDustColorTransitionData(float scale, Vector3f startRGB, Vector3f endRGB)
    • ParticleDustColorTransitionData

      public ParticleDustColorTransitionData(float scale, Color start, Color end)
  • Method Details

    • read

      public static ParticleDustColorTransitionData read(PacketWrapper<?> wrapper)
    • write

      public static void write(PacketWrapper<?> wrapper, ParticleDustColorTransitionData data)
    • decode

      public static ParticleDustColorTransitionData decode(NBTCompound compound, ClientVersion version)
    • encode

      public static void encode(ParticleDustColorTransitionData data, ClientVersion version, NBTCompound compound)
    • isEmpty

      public boolean isEmpty()
      Overrides:
      isEmpty in class ParticleData
    • getStartRed

      public float getStartRed()
    • setStartRed

      public void setStartRed(float startRed)
    • getStartGreen

      public float getStartGreen()
    • setStartGreen

      public void setStartGreen(float startGreen)
    • getStartBlue

      public float getStartBlue()
    • setStartBlue

      public void setStartBlue(float startBlue)
    • getEndRed

      public float getEndRed()
    • setEndRed

      public void setEndRed(float endRed)
    • getEndGreen

      public float getEndGreen()
    • setEndGreen

      public void setEndGreen(float endGreen)
    • getEndBlue

      public float getEndBlue()
    • setEndBlue

      public void setEndBlue(float endBlue)
    • getScale

      public float getScale()
    • setScale

      public void setScale(float scale)
    • getStart

      public Color getStart()
    • setStart

      public void setStart(Color start)
    • getEnd

      public Color getEnd()
    • setEnd

      public void setEnd(Color end)