public class StartGamePacket extends BedrockPacket
| Modifier and Type | Class and Description |
|---|---|
static class |
StartGamePacket.BlockPaletteEntry |
static class |
StartGamePacket.ItemEntry |
| Constructor and Description |
|---|
StartGamePacket() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
com.nukkitx.nbt.tag.ListTag<com.nukkitx.nbt.tag.CompoundTag> |
getBlockPalette() |
long |
getCurrentTick() |
int |
getDefaultPlayerPermission() |
com.nukkitx.math.vector.Vector3i |
getDefaultSpawn() |
int |
getDifficulty() |
int |
getDimensionId() |
int |
getEduEditionOffers() |
int |
getEnchantmentSeed() |
List<GameRule> |
getGamerules() |
int |
getGeneratorId() |
Collection<StartGamePacket.ItemEntry> |
getItemEntries() |
int |
getLevelGamemode() |
String |
getLevelId() |
float |
getLightningLevel() |
String |
getMultiplayerCorrelationId() |
GamePublishSetting |
getPlatformBroadcastMode() |
int |
getPlayerGamemode() |
com.nukkitx.math.vector.Vector3f |
getPlayerPosition() |
String |
getPremiumWorldTemplateId() |
float |
getRainLevel() |
com.nukkitx.math.vector.Vector2f |
getRotation() |
long |
getRuntimeEntityId() |
int |
getSeed() |
int |
getServerChunkTickRange() |
int |
getTime() |
long |
getUniqueEntityId() |
String |
getVanillaVersion() |
String |
getWorldName() |
GamePublishSetting |
getXblBroadcastMode() |
boolean |
handle(BedrockPacketHandler handler) |
int |
hashCode() |
boolean |
isAchievementsDisabled() |
boolean |
isBehaviorPackLocked() |
boolean |
isBonusChestEnabled() |
boolean |
isBroadcastingToLan() |
boolean |
isCommandsEnabled() |
boolean |
isEduFeaturesEnabled() |
boolean |
isFromLockedWorldTemplate() |
boolean |
isFromWorldTemplate() |
boolean |
isMovementServerAuthoritative() |
boolean |
isMultiplayerGame() |
boolean |
isOnlySpawningV1Villagers() |
boolean |
isPlatformLockedContentConfirmed() |
boolean |
isResourcePackLocked() |
boolean |
isStartingWithMap() |
boolean |
isTexturePacksRequired() |
boolean |
isTrial() |
boolean |
isTrustingPlayers() |
boolean |
isUsingMsaGamertagsOnly() |
boolean |
isWorldTemplateOptionLocked() |
void |
setAchievementsDisabled(boolean achievementsDisabled) |
void |
setBehaviorPackLocked(boolean behaviorPackLocked) |
void |
setBlockPalette(com.nukkitx.nbt.tag.ListTag<com.nukkitx.nbt.tag.CompoundTag> blockPalette) |
void |
setBonusChestEnabled(boolean bonusChestEnabled) |
void |
setBroadcastingToLan(boolean broadcastingToLan) |
void |
setCommandsEnabled(boolean commandsEnabled) |
void |
setCurrentTick(long currentTick) |
void |
setDefaultPlayerPermission(int defaultPlayerPermission) |
void |
setDefaultSpawn(com.nukkitx.math.vector.Vector3i defaultSpawn) |
void |
setDifficulty(int difficulty) |
void |
setDimensionId(int dimensionId) |
void |
setEduEditionOffers(int eduEditionOffers) |
void |
setEduFeaturesEnabled(boolean eduFeaturesEnabled) |
void |
setEnchantmentSeed(int enchantmentSeed) |
void |
setFromLockedWorldTemplate(boolean fromLockedWorldTemplate) |
void |
setFromWorldTemplate(boolean fromWorldTemplate) |
void |
setGeneratorId(int generatorId) |
void |
setItemEntries(Collection<StartGamePacket.ItemEntry> itemEntries) |
void |
setLevelGamemode(int levelGamemode) |
void |
setLevelId(String levelId) |
void |
setLightningLevel(float lightningLevel) |
void |
setMovementServerAuthoritative(boolean movementServerAuthoritative) |
void |
setMultiplayerCorrelationId(String multiplayerCorrelationId) |
void |
setMultiplayerGame(boolean multiplayerGame) |
void |
setOnlySpawningV1Villagers(boolean onlySpawningV1Villagers) |
void |
setPlatformBroadcastMode(GamePublishSetting platformBroadcastMode) |
void |
setPlatformLockedContentConfirmed(boolean platformLockedContentConfirmed) |
void |
setPlayerGamemode(int playerGamemode) |
void |
setPlayerPosition(com.nukkitx.math.vector.Vector3f playerPosition) |
void |
setPremiumWorldTemplateId(String premiumWorldTemplateId) |
void |
setRainLevel(float rainLevel) |
void |
setResourcePackLocked(boolean resourcePackLocked) |
void |
setRotation(com.nukkitx.math.vector.Vector2f rotation) |
void |
setRuntimeEntityId(long runtimeEntityId) |
void |
setSeed(int seed) |
void |
setServerChunkTickRange(int serverChunkTickRange) |
void |
setStartingWithMap(boolean startingWithMap) |
void |
setTexturePacksRequired(boolean texturePacksRequired) |
void |
setTime(int time) |
void |
setTrial(boolean trial) |
void |
setTrustingPlayers(boolean trustingPlayers) |
void |
setUniqueEntityId(long uniqueEntityId) |
void |
setUsingMsaGamertagsOnly(boolean usingMsaGamertagsOnly) |
void |
setVanillaVersion(String vanillaVersion) |
void |
setWorldName(String worldName) |
void |
setWorldTemplateOptionLocked(boolean worldTemplateOptionLocked) |
void |
setXblBroadcastMode(GamePublishSetting xblBroadcastMode) |
String |
toString() |
getHeader, setHeaderpublic final boolean handle(BedrockPacketHandler handler)
handle in class BedrockPacketpublic long getUniqueEntityId()
public long getRuntimeEntityId()
public int getPlayerGamemode()
public com.nukkitx.math.vector.Vector3f getPlayerPosition()
public com.nukkitx.math.vector.Vector2f getRotation()
public int getSeed()
public int getDimensionId()
public int getGeneratorId()
public int getLevelGamemode()
public int getDifficulty()
public com.nukkitx.math.vector.Vector3i getDefaultSpawn()
public boolean isAchievementsDisabled()
public int getTime()
public int getEduEditionOffers()
public boolean isEduFeaturesEnabled()
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 boolean isBonusChestEnabled()
public boolean isStartingWithMap()
public boolean isTrustingPlayers()
public int 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 String getVanillaVersion()
public String getLevelId()
public String getWorldName()
public String getPremiumWorldTemplateId()
public boolean isTrial()
public boolean isMovementServerAuthoritative()
public long getCurrentTick()
public int getEnchantmentSeed()
public com.nukkitx.nbt.tag.ListTag<com.nukkitx.nbt.tag.CompoundTag> getBlockPalette()
public Collection<StartGamePacket.ItemEntry> getItemEntries()
public String getMultiplayerCorrelationId()
public void setUniqueEntityId(long uniqueEntityId)
public void setRuntimeEntityId(long runtimeEntityId)
public void setPlayerGamemode(int playerGamemode)
public void setPlayerPosition(com.nukkitx.math.vector.Vector3f playerPosition)
public void setRotation(com.nukkitx.math.vector.Vector2f rotation)
public void setSeed(int seed)
public void setDimensionId(int dimensionId)
public void setGeneratorId(int generatorId)
public void setLevelGamemode(int levelGamemode)
public void setDifficulty(int difficulty)
public void setDefaultSpawn(com.nukkitx.math.vector.Vector3i defaultSpawn)
public void setAchievementsDisabled(boolean achievementsDisabled)
public void setTime(int time)
public void setEduEditionOffers(int eduEditionOffers)
public void setEduFeaturesEnabled(boolean eduFeaturesEnabled)
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 setBonusChestEnabled(boolean bonusChestEnabled)
public void setStartingWithMap(boolean startingWithMap)
public void setTrustingPlayers(boolean trustingPlayers)
public void setDefaultPlayerPermission(int 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(String vanillaVersion)
public void setLevelId(String levelId)
public void setWorldName(String worldName)
public void setPremiumWorldTemplateId(String premiumWorldTemplateId)
public void setTrial(boolean trial)
public void setMovementServerAuthoritative(boolean movementServerAuthoritative)
public void setCurrentTick(long currentTick)
public void setEnchantmentSeed(int enchantmentSeed)
public void setBlockPalette(com.nukkitx.nbt.tag.ListTag<com.nukkitx.nbt.tag.CompoundTag> blockPalette)
public void setItemEntries(Collection<StartGamePacket.ItemEntry> itemEntries)
public void setMultiplayerCorrelationId(String multiplayerCorrelationId)
protected boolean canEqual(Object other)
Copyright © 2018–2019 NukkitX. All rights reserved.