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>
-
Field Summary
Fields inherited from class org.polyfrost.oneconfig.api.hypixel.v1.HypixelUtils.InfoBase
packet -
Method Summary
Modifier and TypeMethodDescriptionOptional<net.hypixel.data.type.GameType> Optional<net.hypixel.data.type.GameType> Optional<net.hypixel.data.type.ServerType> getMode()protected Class<net.hypixel.modapi.packet.impl.clientbound.event.ClientboundLocationPacket> Optional<net.hypixel.data.type.ServerType> booleaninGame()booleaninLobby()protected voidonPacket(net.hypixel.modapi.packet.impl.clientbound.event.ClientboundLocationPacket packet) voidupdate()booleanbooleanMethods inherited from class org.polyfrost.oneconfig.api.hypixel.v1.HypixelUtils.InfoBase
getPacket, toString
-
Method Details
-
update
public void update()- Specified by:
updatein classHypixelUtils.InfoBase<net.hypixel.modapi.packet.impl.clientbound.event.ClientboundLocationPacket>
-
onPacket
protected void onPacket(net.hypixel.modapi.packet.impl.clientbound.event.ClientboundLocationPacket packet) - Overrides:
onPacketin classHypixelUtils.InfoBase<net.hypixel.modapi.packet.impl.clientbound.event.ClientboundLocationPacket>
-
getLastServerName
-
getServerName
-
getLastLobbyName
-
getLobbyName
-
getLastMapName
-
getMapName
-
getLastMode
-
getMode
-
getLastServerType
-
getServerType
-
wasInLobby
public boolean wasInLobby() -
inLobby
public boolean inLobby() -
wasInGame
public boolean wasInGame() -
inGame
public boolean inGame() -
getLastGameType
-
getGameType
-
getPacketClass
protected Class<net.hypixel.modapi.packet.impl.clientbound.event.ClientboundLocationPacket> getPacketClass()- Specified by:
getPacketClassin classHypixelUtils.InfoBase<net.hypixel.modapi.packet.impl.clientbound.event.ClientboundLocationPacket>
-