Modifier and Type | Field and Description |
---|---|
private GameType |
PlayerPredicate.Default.field_227008_b_ |
private GameType |
PlayerPredicate.gamemode |
Constructor and Description |
---|
PlayerPredicate(MinMaxBounds.IntBound p_i225770_1_,
GameType p_i225770_2_,
java.util.Map<Stat<?>,MinMaxBounds.IntBound> p_i225770_3_,
it.unimi.dsi.fastutil.objects.Object2BooleanMap<ResourceLocation> p_i225770_4_,
java.util.Map<ResourceLocation,PlayerPredicate.IAdvancementPredicate> p_i225770_5_) |
Modifier and Type | Field and Description |
---|---|
private GameType |
CreateWorldScreen.GameMode.field_228218_f_ |
Constructor and Description |
---|
GameMode(java.lang.String p_i225940_3_,
GameType p_i225940_4_) |
Modifier and Type | Field and Description |
---|---|
private GameType |
PlayerController.currentGameType |
Modifier and Type | Method and Description |
---|---|
GameType |
PlayerController.getCurrentGameType() |
Modifier and Type | Method and Description |
---|---|
void |
PlayerController.setGameType(GameType type) |
Modifier and Type | Field and Description |
---|---|
private GameType |
NetworkPlayerInfo.gameType |
Modifier and Type | Method and Description |
---|---|
GameType |
NetworkPlayerInfo.getGameType() |
Modifier and Type | Method and Description |
---|---|
protected void |
NetworkPlayerInfo.setGameType(GameType gameMode) |
Modifier and Type | Method and Description |
---|---|
GameType |
Tutorial.getGameType() |
Modifier and Type | Method and Description |
---|---|
private static void |
GameModeCommand.sendGameModeFeedback(CommandSource source,
ServerPlayerEntity player,
GameType gameTypeIn) |
private static int |
GameModeCommand.setGameMode(com.mojang.brigadier.context.CommandContext<CommandSource> source,
java.util.Collection<ServerPlayerEntity> players,
GameType gameTypeIn) |
private static int |
DefaultGameModeCommand.setGameType(CommandSource commandSourceIn,
GameType gamemode) |
Modifier and Type | Method and Description |
---|---|
boolean |
PlayerEntity.blockActionRestricted(World worldIn,
BlockPos pos,
GameType gameMode) |
void |
PlayerEntity.setGameType(GameType gameType) |
void |
ServerPlayerEntity.setGameType(GameType gameType) |
Modifier and Type | Field and Description |
---|---|
private GameType |
SPlayerListItemPacket.AddPlayerData.gamemode |
private GameType |
SRespawnPacket.gameType |
private GameType |
SJoinGamePacket.gameType |
Modifier and Type | Method and Description |
---|---|
GameType |
SPlayerListItemPacket.AddPlayerData.getGameMode() |
GameType |
SRespawnPacket.getGameType() |
GameType |
SJoinGamePacket.getGameType() |
Constructor and Description |
---|
AddPlayerData(com.mojang.authlib.GameProfile profileIn,
int latencyIn,
GameType gameModeIn,
ITextComponent displayNameIn) |
SJoinGamePacket(int p_i226090_1_,
GameType p_i226090_2_,
long p_i226090_3_,
boolean p_i226090_5_,
DimensionType p_i226090_6_,
int p_i226090_7_,
WorldType p_i226090_8_,
int p_i226090_9_,
boolean p_i226090_10_,
boolean p_i226090_11_) |
SRespawnPacket(DimensionType p_i226091_1_,
long p_i226091_2_,
WorldType p_i226091_4_,
GameType p_i226091_5_) |
Modifier and Type | Method and Description |
---|---|
abstract GameType |
MinecraftServer.getGameType() |
Modifier and Type | Method and Description |
---|---|
void |
MinecraftServer.setGameType(GameType gameMode) |
abstract boolean |
MinecraftServer.shareToLAN(GameType gameMode,
boolean cheats,
int port) |
Modifier and Type | Field and Description |
---|---|
GameType |
ServerProperties.gamemode |
private GameType |
DedicatedServer.gameType |
Modifier and Type | Method and Description |
---|---|
GameType |
DedicatedServer.getGameType() |
Modifier and Type | Method and Description |
---|---|
void |
DedicatedServer.setGameType(GameType gameMode) |
boolean |
DedicatedServer.shareToLAN(GameType gameMode,
boolean cheats,
int port) |
Modifier and Type | Method and Description |
---|---|
GameType |
IntegratedServer.getGameType() |
Modifier and Type | Method and Description |
---|---|
void |
IntegratedServer.setGameType(GameType gameMode) |
boolean |
IntegratedServer.shareToLAN(GameType gameMode,
boolean cheats,
int port) |
Modifier and Type | Field and Description |
---|---|
private GameType |
PlayerInteractionManager.gameType |
private GameType |
PlayerList.gameType |
Modifier and Type | Method and Description |
---|---|
GameType |
PlayerInteractionManager.getGameType() |
Modifier and Type | Method and Description |
---|---|
void |
PlayerInteractionManager.initializeGameType(GameType type) |
void |
PlayerInteractionManager.setGameType(GameType type) |
void |
PlayerList.setGameType(GameType gameModeIn) |
Modifier and Type | Field and Description |
---|---|
private GameType |
WorldSettings.gameType |
Modifier and Type | Method and Description |
---|---|
static GameType |
GameType.getByID(int idIn) |
static GameType |
GameType.getByName(java.lang.String gamemodeName) |
GameType |
WorldSettings.getGameType() |
static GameType |
GameType.parseGameTypeWithDefault(int targetId,
GameType fallback) |
static GameType |
GameType.parseGameTypeWithDefault(java.lang.String targetName,
GameType fallback) |
static GameType |
GameType.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GameType[] |
GameType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static GameType |
GameType.parseGameTypeWithDefault(int targetId,
GameType fallback) |
static GameType |
GameType.parseGameTypeWithDefault(java.lang.String targetName,
GameType fallback) |
Constructor and Description |
---|
WorldSettings(long seedIn,
GameType gameType,
boolean enableMapFeatures,
boolean hardcoreMode,
WorldType worldTypeIn) |
Modifier and Type | Field and Description |
---|---|
private GameType |
WorldInfo.gameType |
private GameType |
WorldSummary.gameType |
Modifier and Type | Method and Description |
---|---|
GameType |
WorldSummary.getEnumGameType() |
GameType |
WorldInfo.getGameType() |
GameType |
DerivedWorldInfo.getGameType() |
Modifier and Type | Method and Description |
---|---|
void |
WorldInfo.setGameType(GameType type) |
Modifier and Type | Method and Description |
---|---|
static int |
ForgeHooks.onBlockBreakEvent(World world,
GameType gameType,
ServerPlayerEntity entityPlayer,
BlockPos pos) |