net.minecraft.advancements.critereon

public record PlayerPredicate

implements EntitySubPredicate

cq
net.minecraft.advancements.critereon.PlayerPredicate
net.minecraft.class_4553
net.minecraft.unmapped.C_hirptovz
net.minecraft.predicate.entity.PlayerPredicate
net.minecraft.predicate.PlayerPredicate
net.minecraft.src.C_2120_
net.minecraft.advancements.critereon.CriterionConditionPlayer

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
public boolean
a(blv arg0, and arg1, elt arg2)
matches(Entity arg0, ServerLevel arg1, Vec3 arg2)
method_22497(class_1297 arg0, class_3218 arg1, class_243 arg2)
m_oztqyaor(C_astfners arg0, C_bdwnwhiu arg1, C_vgpupfxx arg2)
test(Entity arg0, ServerWorld arg1, Vec3d arg2)
matches(Entity arg0, ServerWorld arg1, Vec3d arg2)
m_213868_(C_507_ p_222485_, C_12_ p_222486_, C_3046_ arg2)
public EntitySubPredicate$Type
a()
type()
comp_1776()
m_grjficxm()
type()
getType()
m_213836_()
public MinMaxBounds$Ints
b()
level()
comp_1817()
m_voxifvwy()
experienceLevel()
level()
f_62245_()
public Optional<GameType>
c()
gameType()
comp_1818()
m_hshgqbzl()
gameMode()
gameType()
f_62246_()
public List<PlayerPredicate$StatMatcher<?>>
d()
stats()
comp_1819()
m_vlgqvbcj()
stats()
stats()
f_62247_()
public it.unimi.dsi.fastutil.objects.Object2BooleanMap<ResourceLocation>
e()
recipes()
comp_1820()
m_vkegtxum()
recipes()
recipes()
f_62248_()
public Map<ResourceLocation, PlayerPredicate$AdvancementPredicate>
f()
advancements()
comp_1821()
m_hnoicley()
advancements()
advancements()
f_62249_()
public Optional<EntityPredicate>
g()
lookingAt()
comp_1822()
m_mtaqysbq()
lookingAt()
lookingAt()
f_156744_()