## Uses of Class
net.minecraft.world.EnumGameType

- Packages that use EnumGameType
  Package | Description
  --- | ---
  net.minecraft.client.multiplayer |
  net.minecraft.entity.player |
  net.minecraft.item |
  net.minecraft.network.packet |
  net.minecraft.server |
  net.minecraft.server.dedicated |
  net.minecraft.server.integrated |
  net.minecraft.server.management |
  net.minecraft.world |
  net.minecraft.world.storage |
  net.minecraftforge.client |

- - ### Uses of EnumGameType in net.minecraft.client.multiplayer

    Methods in net.minecraft.client.multiplayer with parameters of type EnumGameType
    Modifier and Type | Method and Description
    --- | ---
    `void` | PlayerControllerMP.`setGameType(EnumGameType par1EnumGameType)` Sets the game type for the player.

  - ### Uses of EnumGameType in net.minecraft.entity.player

    Methods in net.minecraft.entity.player with parameters of type EnumGameType
    Modifier and Type | Method and Description
    --- | ---
    `void` | EntityPlayer.`setGameType(EnumGameType par1EnumGameType)` Sets the player's game mode and sends it to them.
    `void` | EntityPlayerMP.`setGameType(EnumGameType par1EnumGameType)` Sets the player's game mode and sends it to them.

  - ### Uses of EnumGameType in net.minecraft.item

    Methods in net.minecraft.item that return EnumGameType
    Modifier and Type | Method and Description
    --- | ---
    `EnumGameType` | ItemInWorldManager.`getGameType()`

    Methods in net.minecraft.item with parameters of type EnumGameType
    Modifier and Type | Method and Description
    --- | ---
    `void` | ItemInWorldManager.`initializeGameType(EnumGameType par1EnumGameType)` if the gameType is currently NOT_SET then change it to par1
    `void` | ItemInWorldManager.`setGameType(EnumGameType par1EnumGameType)`

  - ### Uses of EnumGameType in net.minecraft.network.packet

    Fields in net.minecraft.network.packet declared as EnumGameType
    Modifier and Type | Field and Description
    --- | ---
    `EnumGameType` | Packet9Respawn.`gameType`
    `EnumGameType` | Packet1Login.`gameType`

    Constructors in net.minecraft.network.packet with parameters of type EnumGameType
    Constructor and Description
    `Packet1Login(int par1, WorldType par2WorldType, EnumGameType par3EnumGameType, boolean par4, int par5, int par6, int par7, int par8)`
    `Packet9Respawn(int par1, byte par2, WorldType par3WorldType, int par4, EnumGameType par5EnumGameType)`

  - ### Uses of EnumGameType in net.minecraft.server

    Methods in net.minecraft.server that return EnumGameType
    Modifier and Type | Method and Description
    --- | ---
    `abstract EnumGameType` | MinecraftServer.`getGameType()`

    Methods in net.minecraft.server with parameters of type EnumGameType
    Modifier and Type | Method and Description
    --- | ---
    `void` | MinecraftServer.`setGameType(EnumGameType par1EnumGameType)` Sets the game type for all worlds.
    `abstract String` | MinecraftServer.`shareToLAN(EnumGameType enumgametype, boolean flag)` On dedicated does nothing.

  - ### Uses of EnumGameType in net.minecraft.server.dedicated

    Methods in net.minecraft.server.dedicated that return EnumGameType
    Modifier and Type | Method and Description
    --- | ---
    `EnumGameType` | DedicatedServer.`getGameType()`

    Methods in net.minecraft.server.dedicated with parameters of type EnumGameType
    Modifier and Type | Method and Description
    --- | ---
    `String` | DedicatedServer.`shareToLAN(EnumGameType par1EnumGameType, boolean par2)` On dedicated does nothing.

  - ### Uses of EnumGameType in net.minecraft.server.integrated

    Methods in net.minecraft.server.integrated that return EnumGameType
    Modifier and Type | Method and Description
    --- | ---
    `EnumGameType` | IntegratedServer.`getGameType()`

    Methods in net.minecraft.server.integrated with parameters of type EnumGameType
    Modifier and Type | Method and Description
    --- | ---
    `void` | IntegratedServer.`setGameType(EnumGameType par1EnumGameType)` Sets the game type for all worlds.
    `String` | IntegratedServer.`shareToLAN(EnumGameType par1EnumGameType, boolean par2)` On dedicated does nothing.

  - ### Uses of EnumGameType in net.minecraft.server.management

    Methods in net.minecraft.server.management with parameters of type EnumGameType
    Modifier and Type | Method and Description
    --- | ---
    `void` | ServerConfigurationManager.`setGameType(EnumGameType par1EnumGameType)`

  - ### Uses of EnumGameType in net.minecraft.world

    Methods in net.minecraft.world that return EnumGameType
    Modifier and Type | Method and Description
    --- | ---
    `static EnumGameType` | EnumGameType.`getByID(int par0)` Returns the game type with the specified ID, or SURVIVAL if none found.
    `static EnumGameType` | EnumGameType.`getByName(String par0Str)`
    `EnumGameType` | WorldSettings.`getGameType()` Gets the game type.
    `static EnumGameType` | WorldSettings.`getGameTypeById(int par0)` Gets the GameType by ID
    `static EnumGameType` | EnumGameType.`valueOf(String name)` Returns the enum constant of this type with the specified name.
    `static EnumGameType[]` | EnumGameType.`values()` Returns an array containing the constants of this enum type, in the order they are declared.

    Constructors in net.minecraft.world with parameters of type EnumGameType
    Constructor and Description
    `WorldSettings(long par1, EnumGameType par3EnumGameType, boolean par4, boolean par5, WorldType par6WorldType)`

  - ### Uses of EnumGameType in net.minecraft.world.storage

    Methods in net.minecraft.world.storage that return EnumGameType
    Modifier and Type | Method and Description
    --- | ---
    `EnumGameType` | SaveFormatComparator.`getEnumGameType()` Gets the EnumGameType.
    `EnumGameType` | DerivedWorldInfo.`getGameType()` Gets the GameType.
    `EnumGameType` | WorldInfo.`getGameType()` Gets the GameType.

    Methods in net.minecraft.world.storage with parameters of type EnumGameType
    Modifier and Type | Method and Description
    --- | ---
    `void` | WorldInfo.`setGameType(EnumGameType par1EnumGameType)` Sets the GameType.

    Constructors in net.minecraft.world.storage with parameters of type EnumGameType
    Constructor and Description
    `SaveFormatComparator(String par1Str, String par2Str, long par3, long par5, EnumGameType par7EnumGameType, boolean par8, boolean par9, boolean par10)`

  - ### Uses of EnumGameType in net.minecraftforge.client

    Methods in net.minecraftforge.client that return EnumGameType
    Modifier and Type | Method and Description
    --- | ---
    `static EnumGameType` | EnumHelperClient.`addGameType(String name, int id, String displayName)`