net.minecraft.advancements.critereon

public class PlayerPredicate$Builder

ds$d
net.minecraft.advancements.critereon.PlayerPredicate$Builder
net.minecraft.class_4553$class_4557
net.minecraft.predicate.entity.PlayerPredicate$Builder
net.minecraft.advancements.critereon.CriterionConditionPlayer$d

Field summary

Modifier and TypeField
private MinMaxBounds$Ints
a
level
field_20730
experienceLevel
private GameTypePredicate
b
gameType
field_20731
gameMode
private final com.google.common.collect.ImmutableList$Builder<PlayerPredicate$StatMatcher<?>>
c
stats
field_20732
stats
private final it.unimi.dsi.fastutil.objects.Object2BooleanMap<ResourceKey<Recipe<?>>>
d
recipes
field_20733
recipes
private final Map<ResourceLocation, PlayerPredicate$AdvancementPredicate>
e
advancements
field_20734
advancements
private Optional<EntityPredicate>
f
lookingAt
field_33930
lookingAt
private Optional<InputPredicate>
g
input
field_54148
input

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static PlayerPredicate$Builder
a()
player()
method_35310()
create()
public PlayerPredicate$Builder
a(dk$d arg0)
setLevel(MinMaxBounds$Ints arg0)
method_35313(class_2096$class_2100 arg0)
experienceLevel(NumberRange$IntRange experienceLevel)
public <T> PlayerPredicate$Builder
a(awj<T> arg0, jr$c<T> arg1, dk$d arg2)
addStat(StatType<T> arg0, Holder$Reference<T> arg1, MinMaxBounds$Ints arg2)
method_35311(class_3448<T> arg0, class_6880$class_6883<T> arg1, class_2096$class_2100 arg2)
stat(StatType<T> statType, RegistryEntry$Reference<T> value, NumberRange$IntRange range)
public PlayerPredicate$Builder
a(aku<dbf<?>> arg0, boolean arg1)
addRecipe(ResourceKey<Recipe<?>> arg0, boolean arg1)
method_35315(class_5321<class_1860<?>> arg0, boolean arg1)
recipe(RegistryKey<Recipe<?>> recipeKey, boolean unlocked)
public PlayerPredicate$Builder
a(cg arg0)
setGameType(GameTypePredicate arg0)
method_35312(class_9789 arg0)
gameMode(GameModeList gameMode)
public PlayerPredicate$Builder
a(bx$a arg0)
setLookingAt(EntityPredicate$Builder arg0)
method_37251(class_2048$class_2049 arg0)
lookingAt(EntityPredicate$Builder lookingAt)
public PlayerPredicate$Builder
a(akv arg0, boolean arg1)
checkAdvancementDone(ResourceLocation arg0, boolean arg1)
method_35316(class_2960 arg0, boolean arg1)
advancement(Identifier id, boolean done)
public PlayerPredicate$Builder
a(akv arg0, Map<String, Boolean> arg1)
checkAdvancementCriterions(ResourceLocation arg0, Map<String, Boolean> arg1)
method_35314(class_2960 arg0, Map<String, Boolean> arg1)
advancement(Identifier id, Map<String, Boolean> criteria)
public PlayerPredicate$Builder
a(ci arg0)
hasInput(InputPredicate arg0)
method_64023(class_10184 arg0)
input(InputPredicate input)
public PlayerPredicate
b()
build()
method_22507()
build()