Class ExplosionMessage

java.lang.Object
net.glowstone.net.message.play.game.ExplosionMessage
All Implemented Interfaces:
com.flowpowered.network.Message

public class ExplosionMessage extends Object implements com.flowpowered.network.Message
  • Constructor Details

    • ExplosionMessage

      public ExplosionMessage(float x, float y, float z, float radius, float playerMotionX, float playerMotionY, float playerMotionZ, Collection<ExplosionMessage.Record> records)
  • Method Details

    • toString

      public String toString()
      Specified by:
      toString in interface com.flowpowered.network.Message
      Overrides:
      toString in class Object
    • getX

      public float getX()
    • getY

      public float getY()
    • getZ

      public float getZ()
    • getRadius

      public float getRadius()
    • getPlayerMotionX

      public float getPlayerMotionX()
    • getPlayerMotionY

      public float getPlayerMotionY()
    • getPlayerMotionZ

      public float getPlayerMotionZ()
    • getRecords

      public Collection<ExplosionMessage.Record> getRecords()
    • equals

      public boolean equals(Object o)
      Specified by:
      equals in interface com.flowpowered.network.Message
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.flowpowered.network.Message
      Overrides:
      hashCode in class Object