Class SculkVibrationSignal

All Implemented Interfaces:
SendablePacket, ServerPacket, Writeable

public class SculkVibrationSignal extends Object implements ServerPacket
  • Field Details

    • position

      public Point position
    • destinationIdentifier

      public String destinationIdentifier
    • arrivalTicks

      public int arrivalTicks
  • Constructor Details

    • SculkVibrationSignal

      public SculkVibrationSignal()
  • Method Details

    • write

      public void write(@NotNull @NotNull BinaryWriter writer)
      Description copied from interface: Writeable
      Writes into a BinaryWriter.
      Specified by:
      write in interface Writeable
      writer - the writer to write to
    • getId

      public int getId()
      Description copied from interface: ServerPacket
      Gets the id of this packet.

      Written in the final buffer header so it needs to match the client id.

      Specified by:
      getId in interface ServerPacket
      the id of this packet