net.minecraft.advancements.critereon

public class PlayerPredicate

cg
net.minecraft.advancements.critereon.PlayerPredicate
net.minecraft.class_4553
net.minecraft.predicate.PlayerPredicate
net.minecraft.advancements.criterion.PlayerPredicate
net.minecraft.server.v1_16_R3.CriterionConditionPlayer

Field summary

Modifier and TypeField
public static final PlayerPredicate
a
ANY
field_20722
ANY
field_226989_a_
private final MinMaxBounds$Ints
b
level
field_20723
experienceLevel
field_226990_b_
private final GameType
c
gameType
field_20724
gamemode
field_226991_c_
private final Map<Stat<?>, MinMaxBounds$Ints>
d
stats
field_20725
stats
field_226992_d_
private final it.unimi.dsi.fastutil.objects.Object2BooleanMap<ResourceLocation>
e
recipes
field_20726
recipes
field_226993_e_
private final Map<ResourceLocation, PlayerPredicate$AdvancementPredicate>
f
advancements
field_20727
advancements
field_226994_f_

Constructor summary

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

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)
func_227004_b_(com.google.gson.JsonElement arg0)
public boolean
a(aqa arg0)
matches(Entity arg0)
method_22497(class_1297 arg0)
test(Entity entity)
func_226998_a_(Entity 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)
func_227000_a_(com.google.gson.JsonElement arg0)
private static <T> Stat<T>
a(adz<T> arg0, vk arg1)
getStat(StatType<T> arg0, ResourceLocation arg1)
method_22496(class_3448<T> arg0, class_2960 arg1)
getStat(StatType<T> type, Identifier id)
func_226997_a_(StatType<T> arg0, ResourceLocation arg1)
private static <T> ResourceLocation
a(adx<T> arg0)
getStatValueId(Stat<T> arg0)
method_22495(class_3445<T> arg0)
getStatId(Stat<T> stat)
func_226996_a_(Stat<T> arg0)
public com.google.gson.JsonElement
a()
serializeToJson()
method_22494()
toJson()
func_226995_a_()