Class SetPassengerMessage

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

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

    • SetPassengerMessage

      public SetPassengerMessage(int entityId, int[] passengers)
  • Method Details

    • getEntityId

      public int getEntityId()
    • getPassengers

      public int[] getPassengers()
    • 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
    • toString

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