History - net.minecraft.world.GameMode

26.3-snapshot-3

Names

Fields

Constructors

Methods

26.3-snapshot-2

Names

Fields

Constructors

Methods

26.3-snapshot-1

Names

Fields

Constructors

Methods

26.2

Names

Fields

Constructors

Methods

26.1.2

Names

Fields

Constructors

Methods

26.1.1

Names

Fields

Constructors

Methods

26.1

Names

Fields

Constructors

Methods

1.21.11_unobfuscated

Names

net.minecraft.world.level.GameType

net.minecraft.class_1934

net.minecraft.world.GameMode

Fields

GameMode: SURVIVAL, field_9215, SURVIVAL

GameMode: CREATIVE, field_9220, CREATIVE

GameMode: ADVENTURE, field_9216, ADVENTURE

GameMode: SPECTATOR, field_9219, SPECTATOR

GameMode: DEFAULT_MODE, field_28045, DEFAULT

StringIdentifiable$EnumCodec<GameMode>: CODEC, field_41676, CODEC

IntFunction<GameMode>: BY_ID, field_41677, INDEX_MAPPER

PacketCodec<io.netty.buffer.ByteBuf, GameMode>: STREAM_CODEC, field_60671, PACKET_CODEC

com.mojang.serialization.Codec<GameMode>: LEGACY_ID_CODEC, field_56668, INDEX_CODEC

int: NOT_SET, field_30964, UNKNOWN

int: id, field_9217, index

String: name, field_9221, id

Text: shortName, field_28046, simpleTranslatableName

Text: longName, field_28047, translatableName

GameMode[]: $VALUES, field_9222, field_9222

Constructors

(int, String)

Methods

GameMode[] (): values, values, values

GameMode (String): valueOf, valueOf, valueOf

int (): getId, method_8379, getIndex

String (): getName, method_8381, getId

String (): getSerializedName, method_15434, asString

Text (): getLongDisplayName, method_8383, getTranslatableName

Text (): getShortDisplayName, method_32763, getSimpleTranslatableName

void (PlayerAbilities): updatePlayerAbilities, method_8382, setAbilities

boolean (): isBlockPlacingRestricted, method_8387, isBlockBreakingRestricted

boolean (): isCreative, method_8386, isCreative

boolean (): isSurvival, method_8388, isSurvivalLike

GameMode (int): byId, method_8384, byIndex

GameMode (String): byName, method_8385, byId

GameMode (String, GameMode): byName, method_8378, byId

int (GameMode): getNullableId, method_32761, getId

GameMode (int): byNullableId, method_32762, getOrNull

boolean (int): isValidId, method_64760, isValid

boolean (int, GameMode): lambda$isValidId$0, method_64759, method_64759

GameMode[] (): $values, method_36695, method_36695