net.minecraft.advancements.criterion

public record PlayerPredicate

implements EntitySubPredicate

cx
net.minecraft.advancements.criterion.PlayerPredicate
net.minecraft.class_4553
net.minecraft.predicate.entity.PlayerPredicate
net.minecraft.src.C_432095_
net.minecraft.advancements.criterion.CriterionConditionPlayer

字段概要

修饰符与类型字段
private final MinMaxBounds$Ints
d
level
comp_1817
experienceLevel
f_435058_
private final GameTypePredicate
e
gameType
comp_1818
gameMode
f_435612_
private final List<PlayerPredicate$StatMatcher<?>>
f
stats
comp_1819
stats
f_434121_
private final it.unimi.dsi.fastutil.objects.Object2BooleanMap<ResourceKey<Recipe<?>>>
g
recipes
comp_1820
recipes
f_436393_
private final Map<Identifier, PlayerPredicate$AdvancementPredicate>
h
advancements
comp_1821
advancements
f_436833_
private final Optional<EntityPredicate>
i
lookingAt
comp_1822
lookingAt
f_436550_
private final Optional<InputPredicate>
j
input
comp_3182
input
f_436151_
public static final int
b
LOOKING_AT_RANGE
field_33928
LOOKING_AT_DISTANCE
f_436504_
public static final com.mojang.serialization.MapCodec<PlayerPredicate>
c
CODEC
field_45770
CODEC
f_436804_

构造函数概要

修饰符构造函数
public (MinMaxBounds$Ints experienceLevel, GameTypePredicate gameMode, List<PlayerPredicate$StatMatcher<?>> stats, it.unimi.dsi.fastutil.objects.Object2BooleanMap<ResourceKey<Recipe<?>>> recipes, Map<Identifier, PlayerPredicate$AdvancementPredicate> advancements, Optional<EntityPredicate> lookingAt, Optional<InputPredicate> input)

方法概要

修饰符与类型方法
public boolean
a(cgk arg0, axf arg1, ftm 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_443212_(C_507_ p_451975_, C_12_ p_452258_, C_3046_ arg2)
public com.mojang.serialization.MapCodec<PlayerPredicate>
a()
codec()
method_58152()
getCodec()
m_441722_()
public MinMaxBounds$Ints
b()
level()
comp_1817()
experienceLevel()
f_435058_()
public GameTypePredicate
c()
gameType()
comp_1818()
gameMode()
f_435612_()
public List<PlayerPredicate$StatMatcher<?>>
d()
stats()
comp_1819()
stats()
f_434121_()
public it.unimi.dsi.fastutil.objects.Object2BooleanMap<ResourceKey<Recipe<?>>>
e()
recipes()
comp_1820()
recipes()
f_436393_()
public Map<Identifier, PlayerPredicate$AdvancementPredicate>
f()
advancements()
comp_1821()
advancements()
f_436833_()
public Optional<EntityPredicate>
g()
lookingAt()
comp_1822()
lookingAt()
f_436550_()
public Optional<InputPredicate>
h()
input()
comp_3182()
input()
f_436151_()