net.minecraft.advancements.critereon

public class PlayerPredicate

implements EntitySubPredicate

cp
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
public static final int
b
LOOKING_AT_RANGE
field_33928
LOOKING_AT_DISTANCE
f_156743_
private final MinMaxBounds$Ints
c
level
field_20723
experienceLevel
f_62245_
private final GameType
d
gameType
field_20724
gameMode
f_62246_
private final Map<Stat<?>, MinMaxBounds$Ints>
e
stats
field_20725
stats
f_62247_
private final it.unimi.dsi.fastutil.objects.Object2BooleanMap<ResourceLocation>
f
recipes
field_20726
recipes
f_62248_
private final Map<ResourceLocation, PlayerPredicate$AdvancementPredicate>
g
advancements
field_20727
advancements
f_62249_
private final EntityPredicate
h
lookingAt
field_33929
lookingAt
f_156744_

Constructor summary

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

Method summary

Modifier and TypeMethod
private static PlayerPredicate$AdvancementPredicate
b(com.google.gson.JsonElement arg0)
advancementPredicateFromJson(com.google.gson.JsonElement arg0)
method_22503(com.google.gson.JsonElement arg0)
criterionFromJson(com.google.gson.JsonElement json)
m_62289_(com.google.gson.JsonElement p_62290_)
public boolean
a(bfj arg0, aif arg1, eei 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_153246_(C_507_ p_222485_, C_12_ p_222486_, C_3046_ arg2)
public static PlayerPredicate
a(com.google.gson.JsonObject arg0)
fromJson(com.google.gson.JsonObject arg0)
method_22499(com.google.gson.JsonObject arg0)
fromJson(com.google.gson.JsonObject json)
m_222491_(com.google.gson.JsonObject p_222492_)
private static <T> Stat<T>
a(amq<T> arg0, acq arg1)
getStat(StatType<T> arg0, ResourceLocation arg1)
method_22496(class_3448<T> arg0, class_2960 arg1)
getStat(StatType<T> type, Identifier id)
m_62267_(C_133_<T> p_62268_, C_5265_ p_62269_)
private static <T> ResourceLocation
a(amo<T> arg0)
getStatValueId(Stat<T> arg0)
method_22495(class_3445<T> arg0)
getStatId(Stat<T> stat)
m_62265_(C_131_<T> p_62266_)
public com.google.gson.JsonObject
a()
serializeCustomData()
method_22494()
typeSpecificToJson()
m_213616_()
public EntitySubPredicate$Type
c()
type()
method_43099()
getDeserializer()
m_213836_()