net.minecraft.advancements.critereon

public record GameTypePredicate

cf
net.minecraft.advancements.critereon.GameTypePredicate
net.minecraft.class_9789
net.minecraft.world.GameModeList
net.minecraft.advancements.critereon.GameTypePredicate

Field summary

Modifier and TypeField
private final List<GameType>
d
types
comp_2829
gameModes
public static final GameTypePredicate
a
ANY
field_52012
ALL
public static final GameTypePredicate
b
SURVIVAL_LIKE
field_52013
SURVIVAL_LIKE
public static final com.mojang.serialization.Codec<GameTypePredicate>
c
CODEC
field_52014
CODEC

Constructor summary

ModifierConstructor
public (List<GameType> arg0)

Method summary

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