Class HypixelUtils.Location

java.lang.Object
org.polyfrost.oneconfig.api.hypixel.v1.HypixelUtils.InfoBase<net.hypixel.modapi.packet.impl.clientbound.event.ClientboundLocationPacket>
org.polyfrost.oneconfig.api.hypixel.v1.HypixelUtils.Location
Enclosing class:
HypixelUtils

public static final class HypixelUtils.Location extends HypixelUtils.InfoBase<net.hypixel.modapi.packet.impl.clientbound.event.ClientboundLocationPacket>
  • Method Details

    • update

      public void update()
      Specified by:
      update in class HypixelUtils.InfoBase<net.hypixel.modapi.packet.impl.clientbound.event.ClientboundLocationPacket>
    • onPacket

      protected void onPacket(net.hypixel.modapi.packet.impl.clientbound.event.ClientboundLocationPacket packet)
      Overrides:
      onPacket in class HypixelUtils.InfoBase<net.hypixel.modapi.packet.impl.clientbound.event.ClientboundLocationPacket>
    • getLastServerName

      public Optional<String> getLastServerName()
    • getServerName

      public Optional<String> getServerName()
    • getLastLobbyName

      public Optional<String> getLastLobbyName()
    • getLobbyName

      public Optional<String> getLobbyName()
    • getLastMapName

      public Optional<String> getLastMapName()
    • getMapName

      public Optional<String> getMapName()
    • getLastMode

      public Optional<String> getLastMode()
    • getMode

      public Optional<String> getMode()
    • getLastServerType

      public Optional<net.hypixel.data.type.ServerType> getLastServerType()
    • getServerType

      public Optional<net.hypixel.data.type.ServerType> getServerType()
    • wasInLobby

      public boolean wasInLobby()
    • inLobby

      public boolean inLobby()
    • wasInGame

      public boolean wasInGame()
    • inGame

      public boolean inGame()
    • getLastGameType

      public Optional<net.hypixel.data.type.GameType> getLastGameType()
    • getGameType

      public Optional<net.hypixel.data.type.GameType> getGameType()
    • getPacketClass

      protected Class<net.hypixel.modapi.packet.impl.clientbound.event.ClientboundLocationPacket> getPacketClass()
      Specified by:
      getPacketClass in class HypixelUtils.InfoBase<net.hypixel.modapi.packet.impl.clientbound.event.ClientboundLocationPacket>