net.minecraft.advancements.critereon

public class PlayerPredicate

co
net.minecraft.advancements.critereon.PlayerPredicate
net.minecraft.class_4553
net.minecraft.predicate.PlayerPredicate
net.minecraft.src.C_2120_
net.minecraft.advancements.critereon.CriterionConditionPlayer

Field summary

Modifier and TypeField
public static final PlayerPredicate
a
ANY
field_20722
ANY
f_62244_
public static final int
b
LOOKING_AT_RANGE
field_33928
field_33928
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(atf arg0)
matches(Entity arg0)
method_22497(class_1297 arg0)
test(Entity entity)
m_62270_(C_507_ arg0)
public static PlayerPredicate
a(com.google.gson.JsonElement arg0)
fromJson(com.google.gson.JsonElement arg0)
method_22499(com.google.gson.JsonElement arg0)
fromJson(com.google.gson.JsonElement json)
m_62276_(com.google.gson.JsonElement p_62277_)
private static <T> Stat<T>
a(afn<T> arg0, ww 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(afl<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.JsonElement
a()
serializeToJson()
method_22494()
toJson()
m_62264_()