Class AlarmClock

java.lang.Object
zombie.inventory.InventoryItem
zombie.inventory.types.AlarmClock

public class AlarmClock
extends InventoryItem
  • Field Details

    • PacketPlayer

      public static short PacketPlayer
    • PacketWorld

      public static short PacketWorld
  • Constructor Details

    • AlarmClock

      public AlarmClock​(java.lang.String string, java.lang.String string2, java.lang.String string3, java.lang.String string4)
    • AlarmClock

      public AlarmClock​(java.lang.String string, java.lang.String string2, java.lang.String string3, Item item)
  • Method Details

    • getAlarmSquare

      public IsoGridSquare getAlarmSquare()
    • shouldUpdateInWorld

      public boolean shouldUpdateInWorld()
      Overrides:
      shouldUpdateInWorld in class InventoryItem
    • update

      public void update()
      Overrides:
      update in class InventoryItem
    • updateSound

      public void updateSound​(BaseSoundEmitter baseSoundEmitter)
      Overrides:
      updateSound in class InventoryItem
    • isRinging

      public boolean isRinging()
    • finishupdate

      public boolean finishupdate()
      Overrides:
      finishupdate in class InventoryItem
    • DoTooltip

      public void DoTooltip​(ObjectTooltip objectTooltip, ObjectTooltip.Layout layout)
      Overrides:
      DoTooltip in class InventoryItem
    • save

      public void save​(java.nio.ByteBuffer byteBuffer, boolean boolean1) throws java.io.IOException
      Overrides:
      save in class InventoryItem
      Throws:
      java.io.IOException
    • load

      public void load​(java.nio.ByteBuffer byteBuffer, int int1, boolean boolean1) throws java.io.IOException
      Overrides:
      load in class InventoryItem
      Throws:
      java.io.IOException
    • getSaveType

      public int getSaveType()
      Overrides:
      getSaveType in class InventoryItem
    • getCategory

      public java.lang.String getCategory()
      Overrides:
      getCategory in class InventoryItem
    • setAlarmSet

      public void setAlarmSet​(boolean boolean1)
    • isAlarmSet

      public boolean isAlarmSet()
    • setHour

      public void setHour​(int int1)
    • setMinute

      public void setMinute​(int int1)
    • getHour

      public int getHour()
    • getMinute

      public int getMinute()
    • syncAlarmClock

      public void syncAlarmClock()
    • syncAlarmClock_Player

      public void syncAlarmClock_Player​(IsoPlayer player)
    • syncAlarmClock_World

      public void syncAlarmClock_World()
    • syncStopRinging

      public void syncStopRinging()
    • stopRinging

      public void stopRinging()
    • getAlarmSound

      public java.lang.String getAlarmSound()
    • setAlarmSound

      public void setAlarmSound​(java.lang.String string)
    • getSoundRadius

      public int getSoundRadius()
    • setSoundRadius

      public void setSoundRadius​(int int1)