Class StartGamePacket

All Implemented Interfaces:
Cloneable

public class StartGamePacket extends DataPacket
Since:
15-10-13
  • Field Details

    • NETWORK_ID

      public static final byte NETWORK_ID
      See Also:
    • GAME_PUBLISH_SETTING_NO_MULTI_PLAY

      public static final int GAME_PUBLISH_SETTING_NO_MULTI_PLAY
      See Also:
    • GAME_PUBLISH_SETTING_INVITE_ONLY

      public static final int GAME_PUBLISH_SETTING_INVITE_ONLY
      See Also:
    • GAME_PUBLISH_SETTING_FRIENDS_ONLY

      public static final int GAME_PUBLISH_SETTING_FRIENDS_ONLY
      See Also:
    • GAME_PUBLISH_SETTING_FRIENDS_OF_FRIENDS

      public static final int GAME_PUBLISH_SETTING_FRIENDS_OF_FRIENDS
      See Also:
    • GAME_PUBLISH_SETTING_PUBLIC

      public static final int GAME_PUBLISH_SETTING_PUBLIC
      See Also:
    • entityUniqueId

      public long entityUniqueId
    • entityRuntimeId

      public long entityRuntimeId
    • playerGamemode

      public int playerGamemode
    • x

      public float x
    • y

      public float y
    • z

      public float z
    • yaw

      public float yaw
    • pitch

      public float pitch
    • seed

      public long seed
    • dimension

      public byte dimension
    • generator

      public int generator
    • worldGamemode

      public int worldGamemode
    • difficulty

      public int difficulty
    • spawnX

      public int spawnX
    • spawnY

      public int spawnY
    • spawnZ

      public int spawnZ
    • hasAchievementsDisabled

      public boolean hasAchievementsDisabled
    • worldEditor

      public boolean worldEditor
    • dayCycleStopTime

      public int dayCycleStopTime
    • eduEditionOffer

      public int eduEditionOffer
    • hasEduFeaturesEnabled

      public boolean hasEduFeaturesEnabled
    • rainLevel

      public float rainLevel
    • lightningLevel

      public float lightningLevel
    • hasConfirmedPlatformLockedContent

      public boolean hasConfirmedPlatformLockedContent
    • multiplayerGame

      public boolean multiplayerGame
    • broadcastToLAN

      public boolean broadcastToLAN
    • xblBroadcastIntent

      public int xblBroadcastIntent
    • platformBroadcastIntent

      public int platformBroadcastIntent
    • commandsEnabled

      public boolean commandsEnabled
    • isTexturePacksRequired

      public boolean isTexturePacksRequired
    • gameRules

      public GameRules gameRules
    • bonusChest

      public boolean bonusChest
    • hasStartWithMapEnabled

      public boolean hasStartWithMapEnabled
    • permissionLevel

      public int permissionLevel
    • serverChunkTickRange

      public int serverChunkTickRange
    • hasLockedBehaviorPack

      public boolean hasLockedBehaviorPack
    • hasLockedResourcePack

      public boolean hasLockedResourcePack
    • isFromLockedWorldTemplate

      public boolean isFromLockedWorldTemplate
    • isUsingMsaGamertagsOnly

      public boolean isUsingMsaGamertagsOnly
    • isFromWorldTemplate

      public boolean isFromWorldTemplate
    • isWorldTemplateOptionLocked

      public boolean isWorldTemplateOptionLocked
    • isOnlySpawningV1Villagers

      public boolean isOnlySpawningV1Villagers
    • vanillaVersion

      public String vanillaVersion
    • playerPropertyData

      public CompoundTag playerPropertyData
    • levelId

      public String levelId
    • worldName

      public String worldName
    • premiumWorldTemplateId

      public String premiumWorldTemplateId
    • isTrial

      public boolean isTrial
    • isMovementServerAuthoritative

      @Deprecated public boolean isMovementServerAuthoritative
      Deprecated.
    • serverAuthoritativeMovement

      @PowerNukkitXOnly @Since("1.19.40-r3") public Integer serverAuthoritativeMovement
    • isInventoryServerAuthoritative

      @Since("1.3.0.0-PN") public boolean isInventoryServerAuthoritative
    • currentTick

      public long currentTick
    • enchantmentSeed

      public int enchantmentSeed
    • blockProperties

      public final List<CustomBlockDefinition> blockProperties
    • multiplayerCorrelationId

      public String multiplayerCorrelationId
    • isDisablingPersonas

      public boolean isDisablingPersonas
    • isDisablingCustomSkins

      public boolean isDisablingCustomSkins
    • clientSideGenerationEnabled

      public boolean clientSideGenerationEnabled
    • emoteChatMuted

      public boolean emoteChatMuted
      Since:
      v567
    • blockNetworkIdsHashed

      public boolean blockNetworkIdsHashed
      Whether block runtime IDs should be replaced by 32-bit integer hashes of the NBT block state. Unlike runtime IDs, this hashes should be persistent across versions and should make support for data-driven/custom blocks easier.
      Since:
      v582
    • createdInEditor

      public boolean createdInEditor
      Since:
      v582
    • exportedFromEditor

      public boolean exportedFromEditor
      Since:
      v582
    • chatRestrictionLevel

      public byte chatRestrictionLevel
    • disablePlayerInteractions

      public boolean disablePlayerInteractions
    • isSoundsServerAuthoritative

      public boolean isSoundsServerAuthoritative
      Since:
      v589
  • Constructor Details

    • StartGamePacket

      public StartGamePacket()
  • Method Details