LocationPredicate
Link to locationpredicate
Importare la Classe
Link to importare-la-classe
It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import at the very top of the file.
ZenScript Copyimport crafttweaker.api.predicate.LocationPredicate;
Static Methods
Link to static-methods
Name: any
Return Type: LocationPredicate
ZenScript Copy// LocationPredicate.any() as LocationPredicate
LocationPredicate.any();
Name: at
Return Type: LocationPredicate
ZenScript CopyLocationPredicate.at(x as DoubleMinMaxBoundsPredicate, y as DoubleMinMaxBoundsPredicate, z as DoubleMinMaxBoundsPredicate) as LocationPredicate
Parametro | Tipo | Descrizione |
---|---|---|
Parametro x | Tipo DoubleMinMaxBoundsPredicate | Descrizione No Description Provided |
Parametro y | Tipo DoubleMinMaxBoundsPredicate | Descrizione No Description Provided |
Parametro z | Tipo DoubleMinMaxBoundsPredicate | Descrizione No Description Provided |
Name: create
Return Type: LocationPredicateBuilder
ZenScript Copy// LocationPredicate.create() as LocationPredicateBuilder
LocationPredicate.create();
Name: inBiome
Return Type: LocationPredicate
ZenScript CopyLocationPredicate.inBiome(biome as ResourceLocation) as LocationPredicate
Parametro | Tipo | Descrizione |
---|---|---|
Parametro biome | Tipo ResourceLocation | Descrizione No Description Provided |
Name: inBiome
Return Type: LocationPredicate
ZenScript CopyLocationPredicate.inBiome(biome as string) as LocationPredicate
Parametro | Tipo | Descrizione |
---|---|---|
Parametro biome | Tipo string | Descrizione No Description Provided |
Name: inDimension
Return Type: LocationPredicate
ZenScript CopyLocationPredicate.inDimension(dimension as ResourceLocation) as LocationPredicate
Parametro | Tipo | Descrizione |
---|---|---|
Parametro dimension | Tipo ResourceLocation | Descrizione No Description Provided |
Name: inDimension
Return Type: LocationPredicate
ZenScript CopyLocationPredicate.inDimension(dimension as string) as LocationPredicate
Parametro | Tipo | Descrizione |
---|---|---|
Parametro dimension | Tipo string | Descrizione No Description Provided |
Name: inFeature
Return Type: LocationPredicate
ZenScript CopyLocationPredicate.inFeature(feature as ResourceLocation) as LocationPredicate
Parametro | Tipo | Descrizione |
---|---|---|
Parametro feature | Tipo ResourceLocation | Descrizione No Description Provided |
Name: inFeature
Return Type: LocationPredicate
ZenScript CopyLocationPredicate.inFeature(feature as string) as LocationPredicate
Parametro | Tipo | Descrizione |
---|---|---|
Parametro feature | Tipo string | Descrizione No Description Provided |