public class StartGamePacket extends java.lang.Object implements BedrockPacket
| Constructor and Description |
|---|
StartGamePacket() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canEqual(java.lang.Object other) |
boolean |
equals(java.lang.Object o) |
AuthoritativeMovementMode |
getAuthoritativeMovementMode() |
org.cloudburstmc.nbt.NbtList<org.cloudburstmc.nbt.NbtMap> |
getBlockPalette() |
java.util.List<BlockPropertyData> |
getBlockProperties() |
long |
getBlockRegistryChecksum()
A XXHash64 of all block states by their compound tag.
|
ChatRestrictionLevel |
getChatRestrictionLevel() |
long |
getCurrentTick() |
java.lang.String |
getCustomBiomeName() |
int |
getDayCycleStopTime() |
PlayerPermission |
getDefaultPlayerPermission() |
org.cloudburstmc.math.vector.Vector3i |
getDefaultSpawn() |
int |
getDifficulty() |
int |
getDimensionId() |
java.lang.String |
getEducationProductionId() |
int |
getEduEditionOffers() |
EduSharedUriResource |
getEduSharedUriResource() |
int |
getEnchantmentSeed() |
java.util.List<ExperimentData> |
getExperiments() |
org.cloudburstmc.protocol.common.util.OptionalBoolean |
getForceExperimentalGameplay() |
java.util.List<GameRuleData<?>> |
getGamerules() |
int |
getGeneratorId() |
java.util.List<ItemDefinition> |
getItemDefinitions() |
GameType |
getLevelGameType() |
java.lang.String |
getLevelId() |
java.lang.String |
getLevelName() |
float |
getLightningLevel() |
int |
getLimitedWorldHeight() |
int |
getLimitedWorldWidth() |
java.lang.String |
getMultiplayerCorrelationId() |
NetworkPermissions |
getNetworkPermissions() |
BedrockPacketType |
getPacketType() |
GamePublishSetting |
getPlatformBroadcastMode() |
GameType |
getPlayerGameType() |
org.cloudburstmc.math.vector.Vector3f |
getPlayerPosition() |
org.cloudburstmc.nbt.NbtMap |
getPlayerPropertyData() |
java.lang.String |
getPremiumWorldTemplateId() |
float |
getRainLevel() |
int |
getRewindHistorySize() |
org.cloudburstmc.math.vector.Vector2f |
getRotation() |
long |
getRuntimeEntityId() |
long |
getSeed() |
int |
getServerChunkTickRange() |
java.lang.String |
getServerEngine()
The name of the server software.
|
SpawnBiomeType |
getSpawnBiomeType() |
long |
getUniqueEntityId() |
java.lang.String |
getVanillaVersion() |
java.util.UUID |
getWorldTemplateId() |
GamePublishSetting |
getXblBroadcastMode() |
org.cloudburstmc.protocol.common.PacketSignal |
handle(BedrockPacketHandler handler) |
int |
hashCode() |
boolean |
isAchievementsDisabled() |
boolean |
isBehaviorPackLocked() |
boolean |
isBlockNetworkIdsHashed()
Whether block runtime IDs should be replaced by 32-bit integer hashes of NBT block state.
|
boolean |
isBonusChestEnabled() |
boolean |
isBroadcastingToLan() |
boolean |
isClientSideGenerationEnabled()
Enables client side chunk generation
|
boolean |
isCommandsEnabled() |
boolean |
isCreatedInEditor() |
boolean |
isDisablingCustomSkins() |
boolean |
isDisablingPersonas() |
boolean |
isDisablingPlayerInteractions() |
boolean |
isEduFeaturesEnabled() |
boolean |
isEmoteChatMuted() |
boolean |
isExperimentsPreviouslyToggled() |
boolean |
isExportedFromEditor() |
boolean |
isFromLockedWorldTemplate() |
boolean |
isFromWorldTemplate() |
boolean |
isHardcore() |
boolean |
isInventoriesServerAuthoritative() |
boolean |
isMultiplayerGame() |
boolean |
isNetherType() |
boolean |
isOnlySpawningV1Villagers() |
boolean |
isPlatformLockedContentConfirmed() |
boolean |
isResourcePackLocked() |
boolean |
isServerAuthoritativeBlockBreaking() |
boolean |
isStartingWithMap() |
boolean |
isTexturePacksRequired() |
boolean |
isTrial() |
boolean |
isTrustingPlayers() |
boolean |
isUsingMsaGamertagsOnly() |
boolean |
isWorldEditor() |
boolean |
isWorldTemplateOptionLocked() |
void |
setAchievementsDisabled(boolean achievementsDisabled) |
void |
setAuthoritativeMovementMode(AuthoritativeMovementMode authoritativeMovementMode) |
void |
setBehaviorPackLocked(boolean behaviorPackLocked) |
void |
setBlockNetworkIdsHashed(boolean blockNetworkIdsHashed)
Whether block runtime IDs should be replaced by 32-bit integer hashes of NBT block state.
|
void |
setBlockPalette(org.cloudburstmc.nbt.NbtList<org.cloudburstmc.nbt.NbtMap> blockPalette) |
void |
setBlockRegistryChecksum(long blockRegistryChecksum)
A XXHash64 of all block states by their compound tag.
|
void |
setBonusChestEnabled(boolean bonusChestEnabled) |
void |
setBroadcastingToLan(boolean broadcastingToLan) |
void |
setChatRestrictionLevel(ChatRestrictionLevel chatRestrictionLevel) |
void |
setClientSideGenerationEnabled(boolean clientSideGenerationEnabled)
Enables client side chunk generation
|
void |
setCommandsEnabled(boolean commandsEnabled) |
void |
setCreatedInEditor(boolean createdInEditor) |
void |
setCurrentTick(long currentTick) |
void |
setCustomBiomeName(java.lang.String customBiomeName) |
void |
setDayCycleStopTime(int dayCycleStopTime) |
void |
setDefaultPlayerPermission(PlayerPermission defaultPlayerPermission) |
void |
setDefaultSpawn(org.cloudburstmc.math.vector.Vector3i defaultSpawn) |
void |
setDifficulty(int difficulty) |
void |
setDimensionId(int dimensionId) |
void |
setDisablingCustomSkins(boolean disablingCustomSkins) |
void |
setDisablingPersonas(boolean disablingPersonas) |
void |
setDisablingPlayerInteractions(boolean disablingPlayerInteractions) |
void |
setEducationProductionId(java.lang.String educationProductionId) |
void |
setEduEditionOffers(int eduEditionOffers) |
void |
setEduFeaturesEnabled(boolean eduFeaturesEnabled) |
void |
setEduSharedUriResource(EduSharedUriResource eduSharedUriResource) |
void |
setEmoteChatMuted(boolean emoteChatMuted) |
void |
setEnchantmentSeed(int enchantmentSeed) |
void |
setExperimentsPreviouslyToggled(boolean experimentsPreviouslyToggled) |
void |
setExportedFromEditor(boolean exportedFromEditor) |
void |
setForceExperimentalGameplay(org.cloudburstmc.protocol.common.util.OptionalBoolean forceExperimentalGameplay) |
void |
setFromLockedWorldTemplate(boolean fromLockedWorldTemplate) |
void |
setFromWorldTemplate(boolean fromWorldTemplate) |
void |
setGeneratorId(int generatorId) |
void |
setHardcore(boolean hardcore) |
void |
setInventoriesServerAuthoritative(boolean inventoriesServerAuthoritative) |
void |
setItemDefinitions(java.util.List<ItemDefinition> itemDefinitions) |
void |
setLevelGameType(GameType levelGameType) |
void |
setLevelId(java.lang.String levelId) |
void |
setLevelName(java.lang.String levelName) |
void |
setLightningLevel(float lightningLevel) |
void |
setLimitedWorldHeight(int limitedWorldHeight) |
void |
setLimitedWorldWidth(int limitedWorldWidth) |
void |
setMultiplayerCorrelationId(java.lang.String multiplayerCorrelationId) |
void |
setMultiplayerGame(boolean multiplayerGame) |
void |
setNetherType(boolean netherType) |
void |
setNetworkPermissions(NetworkPermissions networkPermissions) |
void |
setOnlySpawningV1Villagers(boolean onlySpawningV1Villagers) |
void |
setPlatformBroadcastMode(GamePublishSetting platformBroadcastMode) |
void |
setPlatformLockedContentConfirmed(boolean platformLockedContentConfirmed) |
void |
setPlayerGameType(GameType playerGameType) |
void |
setPlayerPosition(org.cloudburstmc.math.vector.Vector3f playerPosition) |
void |
setPlayerPropertyData(org.cloudburstmc.nbt.NbtMap playerPropertyData) |
void |
setPremiumWorldTemplateId(java.lang.String premiumWorldTemplateId) |
void |
setRainLevel(float rainLevel) |
void |
setResourcePackLocked(boolean resourcePackLocked) |
void |
setRewindHistorySize(int rewindHistorySize) |
void |
setRotation(org.cloudburstmc.math.vector.Vector2f rotation) |
void |
setRuntimeEntityId(long runtimeEntityId) |
void |
setSeed(long seed) |
void |
setServerAuthoritativeBlockBreaking(boolean serverAuthoritativeBlockBreaking) |
void |
setServerChunkTickRange(int serverChunkTickRange) |
void |
setServerEngine(java.lang.String serverEngine)
The name of the server software.
|
void |
setSpawnBiomeType(SpawnBiomeType spawnBiomeType) |
void |
setStartingWithMap(boolean startingWithMap) |
void |
setTexturePacksRequired(boolean texturePacksRequired) |
void |
setTrial(boolean trial) |
void |
setTrustingPlayers(boolean trustingPlayers) |
void |
setUniqueEntityId(long uniqueEntityId) |
void |
setUsingMsaGamertagsOnly(boolean usingMsaGamertagsOnly) |
void |
setVanillaVersion(java.lang.String vanillaVersion) |
void |
setWorldEditor(boolean worldEditor) |
void |
setWorldTemplateId(java.util.UUID worldTemplateId) |
void |
setWorldTemplateOptionLocked(boolean worldTemplateOptionLocked) |
void |
setXblBroadcastMode(GamePublishSetting xblBroadcastMode) |
java.lang.String |
toString() |
public final org.cloudburstmc.protocol.common.PacketSignal handle(BedrockPacketHandler handler)
handle in interface BedrockPacketpublic BedrockPacketType getPacketType()
getPacketType in interface BedrockPacketpublic java.util.List<GameRuleData<?>> getGamerules()
public long getUniqueEntityId()
public long getRuntimeEntityId()
public GameType getPlayerGameType()
public org.cloudburstmc.math.vector.Vector3f getPlayerPosition()
public org.cloudburstmc.math.vector.Vector2f getRotation()
public long getSeed()
public SpawnBiomeType getSpawnBiomeType()
public java.lang.String getCustomBiomeName()
public int getDimensionId()
public int getGeneratorId()
public GameType getLevelGameType()
public int getDifficulty()
public org.cloudburstmc.math.vector.Vector3i getDefaultSpawn()
public boolean isAchievementsDisabled()
public int getDayCycleStopTime()
public int getEduEditionOffers()
public boolean isEduFeaturesEnabled()
public java.lang.String getEducationProductionId()
public float getRainLevel()
public float getLightningLevel()
public boolean isPlatformLockedContentConfirmed()
public boolean isMultiplayerGame()
public boolean isBroadcastingToLan()
public GamePublishSetting getXblBroadcastMode()
public GamePublishSetting getPlatformBroadcastMode()
public boolean isCommandsEnabled()
public boolean isTexturePacksRequired()
public java.util.List<ExperimentData> getExperiments()
public boolean isExperimentsPreviouslyToggled()
public boolean isBonusChestEnabled()
public boolean isStartingWithMap()
public boolean isTrustingPlayers()
public PlayerPermission getDefaultPlayerPermission()
public int getServerChunkTickRange()
public boolean isBehaviorPackLocked()
public boolean isResourcePackLocked()
public boolean isFromLockedWorldTemplate()
public boolean isUsingMsaGamertagsOnly()
public boolean isFromWorldTemplate()
public boolean isWorldTemplateOptionLocked()
public boolean isOnlySpawningV1Villagers()
public java.lang.String getVanillaVersion()
public int getLimitedWorldWidth()
public int getLimitedWorldHeight()
public boolean isNetherType()
public EduSharedUriResource getEduSharedUriResource()
public org.cloudburstmc.protocol.common.util.OptionalBoolean getForceExperimentalGameplay()
public ChatRestrictionLevel getChatRestrictionLevel()
public boolean isDisablingPlayerInteractions()
public boolean isDisablingPersonas()
public boolean isDisablingCustomSkins()
public java.lang.String getLevelId()
public java.lang.String getLevelName()
public java.lang.String getPremiumWorldTemplateId()
public boolean isTrial()
public AuthoritativeMovementMode getAuthoritativeMovementMode()
public int getRewindHistorySize()
public boolean isServerAuthoritativeBlockBreaking()
public long getCurrentTick()
public int getEnchantmentSeed()
public org.cloudburstmc.nbt.NbtList<org.cloudburstmc.nbt.NbtMap> getBlockPalette()
public java.util.List<BlockPropertyData> getBlockProperties()
public java.util.List<ItemDefinition> getItemDefinitions()
public java.lang.String getMultiplayerCorrelationId()
public boolean isInventoriesServerAuthoritative()
public java.lang.String getServerEngine()
public org.cloudburstmc.nbt.NbtMap getPlayerPropertyData()
public long getBlockRegistryChecksum()
A value of 0 will not be validated by the client.
public java.util.UUID getWorldTemplateId()
public boolean isWorldEditor()
public boolean isClientSideGenerationEnabled()
public boolean isEmoteChatMuted()
public boolean isBlockNetworkIdsHashed()
public boolean isCreatedInEditor()
public boolean isExportedFromEditor()
public NetworkPermissions getNetworkPermissions()
public boolean isHardcore()
public void setUniqueEntityId(long uniqueEntityId)
public void setRuntimeEntityId(long runtimeEntityId)
public void setPlayerGameType(GameType playerGameType)
public void setPlayerPosition(org.cloudburstmc.math.vector.Vector3f playerPosition)
public void setRotation(org.cloudburstmc.math.vector.Vector2f rotation)
public void setSeed(long seed)
public void setSpawnBiomeType(SpawnBiomeType spawnBiomeType)
public void setCustomBiomeName(java.lang.String customBiomeName)
public void setDimensionId(int dimensionId)
public void setGeneratorId(int generatorId)
public void setLevelGameType(GameType levelGameType)
public void setDifficulty(int difficulty)
public void setDefaultSpawn(org.cloudburstmc.math.vector.Vector3i defaultSpawn)
public void setAchievementsDisabled(boolean achievementsDisabled)
public void setDayCycleStopTime(int dayCycleStopTime)
public void setEduEditionOffers(int eduEditionOffers)
public void setEduFeaturesEnabled(boolean eduFeaturesEnabled)
public void setEducationProductionId(java.lang.String educationProductionId)
public void setRainLevel(float rainLevel)
public void setLightningLevel(float lightningLevel)
public void setPlatformLockedContentConfirmed(boolean platformLockedContentConfirmed)
public void setMultiplayerGame(boolean multiplayerGame)
public void setBroadcastingToLan(boolean broadcastingToLan)
public void setXblBroadcastMode(GamePublishSetting xblBroadcastMode)
public void setPlatformBroadcastMode(GamePublishSetting platformBroadcastMode)
public void setCommandsEnabled(boolean commandsEnabled)
public void setTexturePacksRequired(boolean texturePacksRequired)
public void setExperimentsPreviouslyToggled(boolean experimentsPreviouslyToggled)
public void setBonusChestEnabled(boolean bonusChestEnabled)
public void setStartingWithMap(boolean startingWithMap)
public void setTrustingPlayers(boolean trustingPlayers)
public void setDefaultPlayerPermission(PlayerPermission defaultPlayerPermission)
public void setServerChunkTickRange(int serverChunkTickRange)
public void setBehaviorPackLocked(boolean behaviorPackLocked)
public void setResourcePackLocked(boolean resourcePackLocked)
public void setFromLockedWorldTemplate(boolean fromLockedWorldTemplate)
public void setUsingMsaGamertagsOnly(boolean usingMsaGamertagsOnly)
public void setFromWorldTemplate(boolean fromWorldTemplate)
public void setWorldTemplateOptionLocked(boolean worldTemplateOptionLocked)
public void setOnlySpawningV1Villagers(boolean onlySpawningV1Villagers)
public void setVanillaVersion(java.lang.String vanillaVersion)
public void setLimitedWorldWidth(int limitedWorldWidth)
public void setLimitedWorldHeight(int limitedWorldHeight)
public void setNetherType(boolean netherType)
public void setEduSharedUriResource(EduSharedUriResource eduSharedUriResource)
public void setForceExperimentalGameplay(org.cloudburstmc.protocol.common.util.OptionalBoolean forceExperimentalGameplay)
public void setChatRestrictionLevel(ChatRestrictionLevel chatRestrictionLevel)
public void setDisablingPlayerInteractions(boolean disablingPlayerInteractions)
public void setDisablingPersonas(boolean disablingPersonas)
public void setDisablingCustomSkins(boolean disablingCustomSkins)
public void setLevelId(java.lang.String levelId)
public void setLevelName(java.lang.String levelName)
public void setPremiumWorldTemplateId(java.lang.String premiumWorldTemplateId)
public void setTrial(boolean trial)
public void setAuthoritativeMovementMode(AuthoritativeMovementMode authoritativeMovementMode)
public void setRewindHistorySize(int rewindHistorySize)
public void setServerAuthoritativeBlockBreaking(boolean serverAuthoritativeBlockBreaking)
public void setCurrentTick(long currentTick)
public void setEnchantmentSeed(int enchantmentSeed)
public void setBlockPalette(org.cloudburstmc.nbt.NbtList<org.cloudburstmc.nbt.NbtMap> blockPalette)
public void setItemDefinitions(java.util.List<ItemDefinition> itemDefinitions)
public void setMultiplayerCorrelationId(java.lang.String multiplayerCorrelationId)
public void setInventoriesServerAuthoritative(boolean inventoriesServerAuthoritative)
public void setServerEngine(java.lang.String serverEngine)
public void setPlayerPropertyData(org.cloudburstmc.nbt.NbtMap playerPropertyData)
public void setBlockRegistryChecksum(long blockRegistryChecksum)
A value of 0 will not be validated by the client.
public void setWorldTemplateId(java.util.UUID worldTemplateId)
public void setWorldEditor(boolean worldEditor)
public void setClientSideGenerationEnabled(boolean clientSideGenerationEnabled)
public void setEmoteChatMuted(boolean emoteChatMuted)
public void setBlockNetworkIdsHashed(boolean blockNetworkIdsHashed)
public void setCreatedInEditor(boolean createdInEditor)
public void setExportedFromEditor(boolean exportedFromEditor)
public void setNetworkPermissions(NetworkPermissions networkPermissions)
public void setHardcore(boolean hardcore)
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectprotected boolean canEqual(java.lang.Object other)
public int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object