net.minecraft.advancements.critereon

public record PlayerPredicate

implements EntitySubPredicate

ds
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 GameTypePredicate
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<ResourceKey<Recipe<?>>>
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_
private final Optional<InputPredicate>
j
input
comp_3182
f_pjyraykd
input
input
f_347793_
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
CODEC
f_291796_

Constructor summary

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

Method summary

Modifier and TypeMethod
public boolean
a(bum arg0, ard arg1, fbb 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 com.mojang.serialization.MapCodec<PlayerPredicate>
a()
codec()
method_58152()
m_vbxsicwk()
getCodec()
m_213836_()
public MinMaxBounds$Ints
b()
level()
comp_1817()
m_voxifvwy()
experienceLevel()
level()
f_62245_()
public GameTypePredicate
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<ResourceKey<Recipe<?>>>
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_()
public Optional<InputPredicate>
h()
input()
comp_3182()
m_ezyimjxt()
input()
input()
f_347793_()