net.minecraft.advancements.critereon

public record PlayerPredicate

implements EntitySubPredicate

dp
net.minecraft.advancements.critereon.PlayerPredicate
net.minecraft.class_4553
net.minecraft.predicate.entity.PlayerPredicate
net.minecraft.src.C_2120_
net.minecraft.advancements.critereon.CriterionConditionPlayer

Field summary

Modifier and TypeField
private final MinMaxBounds$Ints
d
level
comp_1817
experienceLevel
f_62245_
private final GameTypePredicate
e
gameType
comp_1818
gameMode
f_62246_
private final List<PlayerPredicate$StatMatcher<?>>
f
stats
comp_1819
stats
f_62247_
private final it.unimi.dsi.fastutil.objects.Object2BooleanMap<ResourceLocation>
g
recipes
comp_1820
recipes
f_62248_
private final Map<ResourceLocation, PlayerPredicate$AdvancementPredicate>
h
advancements
comp_1821
advancements
f_62249_
private final Optional<EntityPredicate>
i
lookingAt
comp_1822
lookingAt
f_156744_
public static final int
b
LOOKING_AT_RANGE
field_33928
LOOKING_AT_DISTANCE
f_156743_
public static final com.mojang.serialization.MapCodec<PlayerPredicate>
c
CODEC
field_45770
CODEC
f_291796_

Constructor summary

ModifierConstructor
public (MinMaxBounds$Ints experienceLevel, GameTypePredicate stats, List<PlayerPredicate$StatMatcher<?>> recipes, it.unimi.dsi.fastutil.objects.Object2BooleanMap<ResourceLocation> recipes, Map<ResourceLocation, PlayerPredicate$AdvancementPredicate> advancements, Optional<EntityPredicate> arg5)

Method summary

Modifier and TypeMethod
public boolean
a(bsr arg0, aqu arg1, exc arg2)
matches(Entity arg0, ServerLevel arg1, Vec3 arg2)
method_22497(class_1297 arg0, class_3218 arg1, class_243 arg2)
test(Entity arg0, ServerWorld arg1, Vec3d arg2)
m_213868_(C_507_ p_222485_, C_12_ p_222486_, C_3046_ arg2)
public com.mojang.serialization.MapCodec<PlayerPredicate>
a()
codec()
method_58152()
getCodec()
m_213836_()
public MinMaxBounds$Ints
b()
level()
comp_1817()
experienceLevel()
f_62245_()
public GameTypePredicate
c()
gameType()
comp_1818()
gameMode()
f_62246_()
public List<PlayerPredicate$StatMatcher<?>>
d()
stats()
comp_1819()
stats()
f_62247_()
public it.unimi.dsi.fastutil.objects.Object2BooleanMap<ResourceLocation>
e()
recipes()
comp_1820()
recipes()
f_62248_()
public Map<ResourceLocation, PlayerPredicate$AdvancementPredicate>
f()
advancements()
comp_1821()
advancements()
f_62249_()
public Optional<EntityPredicate>
g()
lookingAt()
comp_1822()
lookingAt()
f_156744_()