Class PlayerPredicate.Builder
java.lang.Object
net.minecraft.advancements.critereon.PlayerPredicate.Builder
- Enclosing class:
- PlayerPredicate
-
Field Summary
Modifier and TypeFieldDescriptionprivate GameType
private MinMaxBounds.Ints
private EntityPredicate
private it.unimi.dsi.fastutil.objects.Object2BooleanMap<ResourceLocation>
private Map<Stat<?>,MinMaxBounds.Ints>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddRecipe(ResourceLocation p_156781_, boolean p_156782_)
addStat(Stat<?> p_156769_, MinMaxBounds.Ints p_156770_)
build()
checkAdvancementCriterions(ResourceLocation p_156778_, Map<String,Boolean> p_156779_)
checkAdvancementDone(ResourceLocation p_156784_, boolean p_156785_)
static PlayerPredicate.Builder
player()
setGameType(GameType p_156774_)
setLevel(MinMaxBounds.Ints p_156776_)
setLookingAt(EntityPredicate p_156772_)
-
Field Details
-
level
-
gameType
-
stats
-
recipes
-
advancements
-
lookingAt
-
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
player
-
setLevel
-
addStat
-
addRecipe
-
setGameType
-
setLookingAt
-
checkAdvancementDone
-
checkAdvancementCriterions
public PlayerPredicate.Builder checkAdvancementCriterions(ResourceLocation p_156778_, Map<String,Boolean> p_156779_) -
build
-