Class JoinGameMessage
java.lang.Object
net.glowstone.net.message.play.game.JoinGameMessage
- All Implemented Interfaces:
com.flowpowered.network.Message
-
Constructor Summary
ConstructorDescriptionJoinGameMessage
(int id, boolean hardcore, int mode, int previousMode, List<org.bukkit.NamespacedKey> worlds, CompoundTag registryCodec, org.bukkit.NamespacedKey worldType, org.bukkit.NamespacedKey currentWorld, byte[] seedHash, int maxPlayers, int viewDistance, int simulationDistance, boolean reducedDebugInfo, boolean enableRespawnScreen, boolean debug, boolean flat, GlobalPosition lastDeathLocation) -
Method Summary
-
Constructor Details
-
JoinGameMessage
public JoinGameMessage(int id, boolean hardcore, int mode, int previousMode, List<org.bukkit.NamespacedKey> worlds, CompoundTag registryCodec, org.bukkit.NamespacedKey worldType, org.bukkit.NamespacedKey currentWorld, byte[] seedHash, int maxPlayers, int viewDistance, int simulationDistance, boolean reducedDebugInfo, boolean enableRespawnScreen, boolean debug, boolean flat, GlobalPosition lastDeathLocation)
-
-
Method Details
-
getId
public int getId() -
isHardcore
public boolean isHardcore() -
getMode
public int getMode() -
getPreviousMode
public int getPreviousMode() -
getWorlds
-
getRegistryCodec
-
getWorldType
public org.bukkit.NamespacedKey getWorldType() -
getCurrentWorld
public org.bukkit.NamespacedKey getCurrentWorld() -
getSeedHash
public byte[] getSeedHash() -
getMaxPlayers
public int getMaxPlayers() -
getViewDistance
public int getViewDistance() -
getSimulationDistance
public int getSimulationDistance() -
isReducedDebugInfo
public boolean isReducedDebugInfo() -
isEnableRespawnScreen
public boolean isEnableRespawnScreen() -
isDebug
public boolean isDebug() -
isFlat
public boolean isFlat() -
getLastDeathLocation
-
equals
-
hashCode
public int hashCode() -
toString
-