PlayerPredicateBuilder
Importing the class
If you need to reference this type directly, like when casting an Array, or as a parameter, you will need to import it. Simply add the import at the top of the file.
import crafttweaker.api.predicate.builder.PlayerPredicateBuilder;Members
// Builder.advancement(name as ResourceLocation, completed as bool = true) as PlayerPredicateBuilder;myBuilder.advancement(myResourceLocation, myBool);Parameters:
name: ResourceLocation  Type: ResourceLocation   completed: bool (optional)  Type: bool  
Default Value: true 
Return Type:
PlayerPredicateBuilder
myBuilder.advancement(myString, myBool);Parameters:
name: string  Type: string   completed: bool (optional)  Type: bool  
Default Value: true 
Return Type:
PlayerPredicateBuilder
// Builder.advancementCriteria(name as ResourceLocation, criteria as Boolean[string]) as PlayerPredicateBuilder;myBuilder.advancementCriteria(myResourceLocation, myMap);Parameters:
name: ResourceLocation  Type: ResourceLocation   criteria: Boolean[string]  Type: Boolean[string]   
Return Type:
PlayerPredicateBuilder
// Builder.advancementCriteria(name as string, criteria as Boolean[string]) as PlayerPredicateBuilder;myBuilder.advancementCriteria(myString, myMap);Parameters:
name: string  Type: string   criteria: Boolean[string]  Type: Boolean[string]   
Return Type:
PlayerPredicateBuilder
// Builder.advancementCriterion(name as ResourceLocation, criterion as string, completed as bool = true) as PlayerPredicateBuilder;myBuilder.advancementCriterion(myResourceLocation, myString, myBool);Parameters:
name: ResourceLocation  Type: ResourceLocation   criterion: string  Type: string   completed: bool (optional)  Type: bool  
Default Value: true 
Return Type:
PlayerPredicateBuilder
// Builder.advancementCriterion(name as string, criterion as string, completed as bool = true) as PlayerPredicateBuilder;myBuilder.advancementCriterion(myString, myString, myBool);Parameters:
name: string  Type: string   criterion: string  Type: string   completed: bool (optional)  Type: bool  
Default Value: true 
Return Type:
PlayerPredicateBuilder
myBuilder.gameType(myGameType);
Return Type:
PlayerPredicateBuilder
myBuilder.level(myInts);Parameters:
level: IntMinMaxBoundsPredicate  Type: IntMinMaxBoundsPredicate   
Return Type:
PlayerPredicateBuilder
myBuilder.lookingAt(myBuilder);Parameters:
predicate: EntityPredicateBuilder  Type: EntityPredicateBuilder   
Return Type:
PlayerPredicateBuilder
myBuilder.recipe(myResourceLocation, myBool);Parameters:
name: ResourceLocation  Type: ResourceLocation   unlocked: bool (optional)  Type: bool  
Default Value: true 
Return Type:
PlayerPredicateBuilder
myBuilder.recipe(myString, myBool);Parameters:
name: string  Type: string   unlocked: bool (optional)  Type: bool  
Default Value: true 
Return Type:
PlayerPredicateBuilder
// Builder.statistic(type as ResourceLocation, name as ResourceLocation, value as IntMinMaxBoundsPredicate) as PlayerPredicateBuilder;myBuilder.statistic(myResourceLocation, myResourceLocation, myInts);Parameters:
type: ResourceLocation  Type: ResourceLocation   name: ResourceLocation  Type: ResourceLocation   value: IntMinMaxBoundsPredicate  Type: IntMinMaxBoundsPredicate   
Return Type:
PlayerPredicateBuilder
// Builder.statistic(type as ResourceLocation, name as string, value as IntMinMaxBoundsPredicate) as PlayerPredicateBuilder;myBuilder.statistic(myResourceLocation, myString, myInts);Parameters:
type: ResourceLocation  Type: ResourceLocation   name: string  Type: string   value: IntMinMaxBoundsPredicate  Type: IntMinMaxBoundsPredicate   
Return Type:
PlayerPredicateBuilder
// Builder.statistic(type as string, name as ResourceLocation, value as IntMinMaxBoundsPredicate) as PlayerPredicateBuilder;myBuilder.statistic(myString, myResourceLocation, myInts);Parameters:
type: string  Type: string   name: ResourceLocation  Type: ResourceLocation   value: IntMinMaxBoundsPredicate  Type: IntMinMaxBoundsPredicate   
Return Type:
PlayerPredicateBuilder
// Builder.statistic(type as string, name as string, value as IntMinMaxBoundsPredicate) as PlayerPredicateBuilder;myBuilder.statistic(myString, myString, myInts);Parameters:
type: string  Type: string   name: string  Type: string   value: IntMinMaxBoundsPredicate  Type: IntMinMaxBoundsPredicate   
Return Type:
PlayerPredicateBuilder