LocationPredicateBuilder
Link to locationpredicatebuilder
Importing the class
Link to importing-the-class
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;
Methods
Link to methods
Name: biome
Return Type: LocationPredicateBuilder
ZenScript CopyLocationPredicateBuilder.biome(biome as ResourceLocation) as LocationPredicateBuilder
Parameter | Type |
---|---|
Parameter biome | Type ResourceLocation |
Name: biome
Return Type: LocationPredicateBuilder
ZenScript CopyLocationPredicateBuilder.biome(biome as string) as LocationPredicateBuilder
Parameter | Type |
---|---|
Parameter biome | Type string |
Name: block
Return Type: LocationPredicateBuilder
ZenScript CopyLocationPredicateBuilder.block(predicate as BlockPredicateBuilder) as LocationPredicateBuilder
Parameter | Type |
---|---|
Parameter predicate | Type 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
Parameter | Type |
---|---|
Parameter dimension | Type ResourceLocation |
Name: dimension
Return Type: LocationPredicateBuilder
ZenScript CopyLocationPredicateBuilder.dimension(dimension as string) as LocationPredicateBuilder
Parameter | Type |
---|---|
Parameter dimension | Type string |
Name: fluid
Return Type: LocationPredicateBuilder
ZenScript CopyLocationPredicateBuilder.fluid(predicate as FluidPredicateBuilder) as LocationPredicateBuilder
Parameter | Type |
---|---|
Parameter predicate | Type FluidPredicateBuilder |
Name: light
Return Type: LocationPredicateBuilder
ZenScript CopyLocationPredicateBuilder.light(predicate as LightPredicateBuilder) as LocationPredicateBuilder
Parameter | Type |
---|---|
Parameter predicate | Type LightPredicateBuilder |
Name: smokey
Return Type: LocationPredicateBuilder
ZenScript CopyLocationPredicateBuilder.smokey(smokey as bool?) as LocationPredicateBuilder
Parameter | Type | Optional | Default Value |
---|---|---|---|
Parameter smokey | Type bool? | Optional true | Default Value true |
Name: structure
Return Type: LocationPredicateBuilder
ZenScript CopyLocationPredicateBuilder.structure(structure as ResourceLocation) as LocationPredicateBuilder
Parameter | Type |
---|---|
Parameter structure | Type ResourceLocation |
Name: structure
Return Type: LocationPredicateBuilder
ZenScript CopyLocationPredicateBuilder.structure(structure as string) as LocationPredicateBuilder
Parameter | Type |
---|---|
Parameter structure | Type string |
Name: x
Return Type: LocationPredicateBuilder
ZenScript CopyLocationPredicateBuilder.x(x as DoubleMinMaxBoundsPredicate) as LocationPredicateBuilder
Parameter | Type |
---|---|
Parameter x | Type DoubleMinMaxBoundsPredicate |
Name: y
Return Type: LocationPredicateBuilder
ZenScript CopyLocationPredicateBuilder.y(y as DoubleMinMaxBoundsPredicate) as LocationPredicateBuilder
Parameter | Type |
---|---|
Parameter y | Type DoubleMinMaxBoundsPredicate |
Name: z
Return Type: LocationPredicateBuilder
ZenScript CopyLocationPredicateBuilder.z(z as DoubleMinMaxBoundsPredicate) as LocationPredicateBuilder
Parameter | Type |
---|---|
Parameter z | Type DoubleMinMaxBoundsPredicate |