net.minecraft.advancements.critereon

public record PlayerPredicate

implements EntitySubPredicate

dr
net.minecraft.advancements.critereon.PlayerPredicate
net.minecraft.class_4553
net.minecraft.predicate.entity.PlayerPredicate
net.minecraft.advancements.critereon.CriterionConditionPlayer

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
public boolean
a(bvk arg0, ash arg1, fby 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)
public com.mojang.serialization.MapCodec<PlayerPredicate>
a()
codec()
method_58152()
getCodec()
public MinMaxBounds$Ints
b()
level()
comp_1817()
experienceLevel()
public GameTypePredicate
c()
gameType()
comp_1818()
gameMode()
public List<PlayerPredicate$StatMatcher<?>>
d()
stats()
comp_1819()
stats()
public it.unimi.dsi.fastutil.objects.Object2BooleanMap<ResourceKey<Recipe<?>>>
e()
recipes()
comp_1820()
recipes()
public Map<ResourceLocation, PlayerPredicate$AdvancementPredicate>
f()
advancements()
comp_1821()
advancements()
public Optional<EntityPredicate>
g()
lookingAt()
comp_1822()
lookingAt()
public Optional<InputPredicate>
h()
input()
comp_3182()
input()