net.minecraft.world.level

public enum GameType

bjq
net.minecraft.world.level.GameType
net.minecraft.class_1934
net.minecraft.world.GameMode
net.minecraft.world.GameType
net.minecraft.server.v1_15_R1.EnumGamemode

Enum constant summary

Enum Constant
a
NOT_SET
field_9218
NOT_SET
NOT_SET
NOT_SET
b
SURVIVAL
field_9215
SURVIVAL
SURVIVAL
SURVIVAL
c
CREATIVE
field_9220
CREATIVE
CREATIVE
CREATIVE
d
ADVENTURE
field_9216
ADVENTURE
ADVENTURE
ADVENTURE
e
SPECTATOR
field_9219
SPECTATOR
SPECTATOR
SPECTATOR

Field summary

Modifier and TypeField
private final int
f
id
field_9217
id
field_77154_e
private final String
g
name
field_9221
name
field_77151_f

Constructor summary

ModifierConstructor
private (int arg0, String arg1)

Method summary

Modifier and TypeMethod
public int
a()
getId()
method_8379()
getId()
func_77148_a()
getId()
public String
b()
getName()
method_8381()
getName()
func_77149_b()
public Component
c()
getDisplayName()
method_8383()
getTranslatableName()
func_196220_c()
public void
a(ayd arg0)
updatePlayerAbilities(Abilities arg0)
method_8382(class_1656 arg0)
setAbilitites(PlayerAbilities abilities)
func_77147_a(PlayerAbilities arg0)
public boolean
d()
isBlockPlacingRestricted()
method_8387()
shouldLimitWorldModification()
func_82752_c()
public boolean
e()
isCreative()
method_8386()
isCreative()
func_77145_d()
isCreative()
public boolean
f()
isSurvival()
method_8388()
isSurvivalLike()
func_77144_e()
public static GameType
a(int arg0)
byId(int arg0)
method_8384(int arg0)
byId(int id)
func_77146_a(int arg0)
getById(int arg0)
public static GameType
a(int arg0, bjq arg1)
byId(int arg0, GameType arg1)
method_8380(int arg0, class_1934 arg1)
byId(int id, GameMode defaultMode)
func_185329_a(int arg0, GameType arg1)
public static GameType
a(String arg0)
byName(String arg0)
method_8385(String arg0)
byName(String name)
func_77142_a(String arg0)
public static GameType
a(String arg0, bjq arg1)
byName(String arg0, GameType arg1)
method_8378(String arg0, class_1934 arg1)
byName(String name, GameMode defaultMode)
func_185328_a(String arg0, GameType arg1)