net.minecraft.world

public record GameModeList

net.minecraft.advancements.predicates.GameTypePredicate
net.minecraft.class_9789
net.minecraft.world.GameModeList

Field summary

Modifier and TypeField
private final List<GameMode>
types
comp_2829
gameModes
public static final GameModeList
ANY
field_52012
ALL
public static final GameModeList
SURVIVAL_LIKE
field_52013
SURVIVAL_LIKE
public static final com.mojang.serialization.Codec<GameModeList>
CODEC
field_52014
CODEC

Constructor summary

ModifierConstructor
public (List<GameMode> gameModes)

Method summary

Modifier and TypeMethod
public static GameModeList
of(GameType... types)
method_60724(class_1934... arg0)
of(GameMode... gameModes)
public boolean
matches(GameType type)
method_60723(class_1934 arg0)
contains(GameMode gameMode)
public List<GameMode>
types()
comp_2829()
gameModes()