Class WrapperPlayServerParticle

java.lang.Object
com.github.retrooper.packetevents.wrapper.PacketWrapper<WrapperPlayServerParticle>
com.github.retrooper.packetevents.wrapper.play.server.WrapperPlayServerParticle

public class WrapperPlayServerParticle extends PacketWrapper<WrapperPlayServerParticle>
  • Constructor Details

    • WrapperPlayServerParticle

      public WrapperPlayServerParticle(PacketSendEvent event)
    • WrapperPlayServerParticle

      public WrapperPlayServerParticle(Particle<?> particle, boolean longDistance, Vector3d position, Vector3f offset, float maxSpeed, int particleCount)
    • WrapperPlayServerParticle

      public WrapperPlayServerParticle(Particle<?> particle, boolean longDistance, Vector3d position, Vector3f offset, float maxSpeed, int particleCount, boolean alwaysShow)
  • Method Details

    • read

      public void read()
      Overrides:
      read in class PacketWrapper<WrapperPlayServerParticle>
    • write

      public void write()
      Overrides:
      write in class PacketWrapper<WrapperPlayServerParticle>
    • copy

      public void copy(WrapperPlayServerParticle wrapper)
      Overrides:
      copy in class PacketWrapper<WrapperPlayServerParticle>
    • getParticle

      public Particle<?> getParticle()
    • setParticle

      public void setParticle(Particle<?> particle)
    • isLongDistance

      public boolean isLongDistance()
    • setLongDistance

      public void setLongDistance(boolean longDistance)
    • getPosition

      public Vector3d getPosition()
    • setPosition

      public void setPosition(Vector3d position)
    • getOffset

      public Vector3f getOffset()
    • setOffset

      public void setOffset(Vector3f offset)
    • getMaxSpeed

      public float getMaxSpeed()
    • setMaxSpeed

      public void setMaxSpeed(float maxSpeed)
    • getParticleCount

      public int getParticleCount()
    • setParticleCount

      public void setParticleCount(int particleCount)
    • isAlwaysShow

      public boolean isAlwaysShow()
      Added with 1.21.4
    • setAlwaysShow

      public void setAlwaysShow(boolean alwaysShow)
      Added with 1.21.4