Modifier and Type | Method and Description |
---|---|
void |
PlayerControllerMP.setGameType(EnumGameType par1EnumGameType)
Sets the game type for the player.
|
Modifier and Type | Method and Description |
---|---|
void |
EntityPlayerMP.setGameType(EnumGameType par1EnumGameType)
Sets the player's game mode and sends it to them.
|
void |
EntityPlayer.setGameType(EnumGameType par1EnumGameType)
Sets the player's game mode and sends it to them.
|
Modifier and Type | Method and Description |
---|---|
EnumGameType |
ItemInWorldManager.getGameType() |
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) |
Modifier and Type | Field and Description |
---|---|
EnumGameType |
Packet1Login.gameType |
EnumGameType |
Packet9Respawn.gameType |
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) |
Modifier and Type | Method and Description |
---|---|
abstract EnumGameType |
MinecraftServer.getGameType() |
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.
|
Modifier and Type | Method and Description |
---|---|
EnumGameType |
DedicatedServer.getGameType() |
Modifier and Type | Method and Description |
---|---|
String |
DedicatedServer.shareToLAN(EnumGameType par1EnumGameType,
boolean par2)
On dedicated does nothing.
|
Modifier and Type | Method and Description |
---|---|
EnumGameType |
IntegratedServer.getGameType() |
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.
|
Modifier and Type | Method and Description |
---|---|
void |
ServerConfigurationManager.setGameType(EnumGameType par1EnumGameType) |
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.
|
Constructor and Description |
---|
WorldSettings(long par1,
EnumGameType par3EnumGameType,
boolean par4,
boolean par5,
WorldType par6WorldType) |
Modifier and Type | Method and Description |
---|---|
EnumGameType |
SaveFormatComparator.getEnumGameType()
Gets the EnumGameType.
|
EnumGameType |
WorldInfo.getGameType()
Gets the GameType.
|
EnumGameType |
DerivedWorldInfo.getGameType()
Gets the GameType.
|
Modifier and Type | Method and Description |
---|---|
void |
WorldInfo.setGameType(EnumGameType par1EnumGameType)
Sets the GameType.
|
Constructor and Description |
---|
SaveFormatComparator(String par1Str,
String par2Str,
long par3,
long par5,
EnumGameType par7EnumGameType,
boolean par8,
boolean par9,
boolean par10) |
Modifier and Type | Method and Description |
---|---|
static EnumGameType |
EnumHelperClient.addGameType(String name,
int id,
String displayName) |