LocationPredicateBuilder
Link to locationpredicatebuilder
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.builder.LocationPredicateBuilder;
Metodi
Link to metodi
Name: biome
Return Type: LocationPredicateBuilder
ZenScript CopyLocationPredicateBuilder.biome(biome as ResourceLocation) as LocationPredicateBuilder
Parametro | Tipo |
---|---|
Parametro biome | Tipo ResourceLocation |
Name: biome
Return Type: LocationPredicateBuilder
ZenScript CopyLocationPredicateBuilder.biome(biome as string) as LocationPredicateBuilder
Parametro | Tipo |
---|---|
Parametro biome | Tipo string |
Name: block
Return Type: LocationPredicateBuilder
ZenScript CopyLocationPredicateBuilder.block(predicate as BlockPredicate) as LocationPredicateBuilder
Parametro | Tipo |
---|---|
Parametro predicate | Tipo BlockPredicate |
Name: block
Return Type: LocationPredicateBuilder
ZenScript CopyLocationPredicateBuilder.block(predicate as BlockPredicateBuilder) as LocationPredicateBuilder
Parametro | Tipo |
---|---|
Parametro predicate | Tipo BlockPredicateBuilder |
Name: build
Return Type: LocationPredicate
ZenScript Copy// LocationPredicateBuilder.build() as LocationPredicate
myLocationPredicateBuilder.build();
Name: dimension
Return Type: LocationPredicateBuilder
ZenScript CopyLocationPredicateBuilder.dimension(dimension as ResourceLocation) as LocationPredicateBuilder
Parametro | Tipo |
---|---|
Parametro dimension | Tipo ResourceLocation |
Name: dimension
Return Type: LocationPredicateBuilder
ZenScript CopyLocationPredicateBuilder.dimension(dimension as string) as LocationPredicateBuilder
Parametro | Tipo |
---|---|
Parametro dimension | Tipo string |
Name: fluid
Return Type: LocationPredicateBuilder
ZenScript CopyLocationPredicateBuilder.fluid(predicate as FluidPredicate) as LocationPredicateBuilder
Parametro | Tipo |
---|---|
Parametro predicate | Tipo FluidPredicate |
Name: fluid
Return Type: LocationPredicateBuilder
ZenScript CopyLocationPredicateBuilder.fluid(predicate as FluidPredicateBuilder) as LocationPredicateBuilder
Parametro | Tipo |
---|---|
Parametro predicate | Tipo FluidPredicateBuilder |
Name: light
Return Type: LocationPredicateBuilder
ZenScript CopyLocationPredicateBuilder.light(predicate as LightPredicate) as LocationPredicateBuilder
Parametro | Tipo |
---|---|
Parametro predicate | Tipo LightPredicate |
Name: light
Return Type: LocationPredicateBuilder
ZenScript CopyLocationPredicateBuilder.light(predicate as LightPredicateBuilder) as LocationPredicateBuilder
Parametro | Tipo |
---|---|
Parametro predicate | Tipo LightPredicateBuilder |
Name: smokey
Return Type: LocationPredicateBuilder
ZenScript CopyLocationPredicateBuilder.smokey(smokey as bool?) as LocationPredicateBuilder
Parametro | Tipo | Optional | Default Value |
---|---|---|---|
Parametro smokey | Tipo bool? | Optional sì | Default Value sì |
Name: structure
Return Type: LocationPredicateBuilder
ZenScript CopyLocationPredicateBuilder.structure(structure as ResourceLocation) as LocationPredicateBuilder
Parametro | Tipo |
---|---|
Parametro structure | Tipo ResourceLocation |
Name: structure
Return Type: LocationPredicateBuilder
ZenScript CopyLocationPredicateBuilder.structure(structure as string) as LocationPredicateBuilder
Parametro | Tipo |
---|---|
Parametro structure | Tipo string |
Name: x
Return Type: LocationPredicateBuilder
ZenScript CopyLocationPredicateBuilder.x(x as DoubleMinMaxBoundsPredicate) as LocationPredicateBuilder
Parametro | Tipo |
---|---|
Parametro x | Tipo DoubleMinMaxBoundsPredicate |
Name: y
Return Type: LocationPredicateBuilder
ZenScript CopyLocationPredicateBuilder.y(y as DoubleMinMaxBoundsPredicate) as LocationPredicateBuilder
Parametro | Tipo |
---|---|
Parametro y | Tipo DoubleMinMaxBoundsPredicate |
Name: z
Return Type: LocationPredicateBuilder
ZenScript CopyLocationPredicateBuilder.z(z as DoubleMinMaxBoundsPredicate) as LocationPredicateBuilder
Parametro | Tipo |
---|---|
Parametro z | Tipo DoubleMinMaxBoundsPredicate |