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 | Description |
---|---|---|
Parameter biome | Type ResourceLocation | Description No Description Provided |
Name: biome
Return Type: LocationPredicateBuilder
ZenScript CopyLocationPredicateBuilder.biome(biome as string) as LocationPredicateBuilder
Parameter | Type | Description |
---|---|---|
Parameter biome | Type string | Description No Description Provided |
Name: block
Return Type: LocationPredicateBuilder
ZenScript CopyLocationPredicateBuilder.block(predicate as BlockPredicate) as LocationPredicateBuilder
Parameter | Type | Description |
---|---|---|
Parameter predicate | Type BlockPredicate | Description No Description Provided |
Name: block
Return Type: LocationPredicateBuilder
ZenScript CopyLocationPredicateBuilder.block(predicate as BlockPredicateBuilder) as LocationPredicateBuilder
Parameter | Type | Description |
---|---|---|
Parameter predicate | Type BlockPredicateBuilder | Description No Description Provided |
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 | Description |
---|---|---|
Parameter dimension | Type ResourceLocation | Description No Description Provided |
Name: dimension
Return Type: LocationPredicateBuilder
ZenScript CopyLocationPredicateBuilder.dimension(dimension as string) as LocationPredicateBuilder
Parameter | Type | Description |
---|---|---|
Parameter dimension | Type string | Description No Description Provided |
Name: feature
Return Type: LocationPredicateBuilder
ZenScript CopyLocationPredicateBuilder.feature(feature as ResourceLocation) as LocationPredicateBuilder
Parameter | Type | Description |
---|---|---|
Parameter feature | Type ResourceLocation | Description No Description Provided |
Name: feature
Return Type: LocationPredicateBuilder
ZenScript CopyLocationPredicateBuilder.feature(feature as string) as LocationPredicateBuilder
Parameter | Type | Description |
---|---|---|
Parameter feature | Type string | Description No Description Provided |
Name: fluid
Return Type: LocationPredicateBuilder
ZenScript CopyLocationPredicateBuilder.fluid(predicate as FluidPredicate) as LocationPredicateBuilder
Parameter | Type | Description |
---|---|---|
Parameter predicate | Type FluidPredicate | Description No Description Provided |
Name: fluid
Return Type: LocationPredicateBuilder
ZenScript CopyLocationPredicateBuilder.fluid(predicate as FluidPredicateBuilder) as LocationPredicateBuilder
Parameter | Type | Description |
---|---|---|
Parameter predicate | Type FluidPredicateBuilder | Description No Description Provided |
Name: light
Return Type: LocationPredicateBuilder
ZenScript CopyLocationPredicateBuilder.light(predicate as LightPredicate) as LocationPredicateBuilder
Parameter | Type | Description |
---|---|---|
Parameter predicate | Type LightPredicate | Description No Description Provided |
Name: light
Return Type: LocationPredicateBuilder
ZenScript CopyLocationPredicateBuilder.light(predicate as LightPredicateBuilder) as LocationPredicateBuilder
Parameter | Type | Description |
---|---|---|
Parameter predicate | Type LightPredicateBuilder | Description No Description Provided |
Name: smokey
Return Type: LocationPredicateBuilder
ZenScript CopyLocationPredicateBuilder.smokey(smokey as bool?) as LocationPredicateBuilder
Parameter | Type | Description | Optional | DefaultValue |
---|---|---|---|---|
Parameter smokey | Type bool? | Description No Description Provided | Optional true | DefaultValue true |
Name: x
Return Type: LocationPredicateBuilder
ZenScript CopyLocationPredicateBuilder.x(x as DoubleMinMaxBoundsPredicate) as LocationPredicateBuilder
Parameter | Type | Description |
---|---|---|
Parameter x | Type DoubleMinMaxBoundsPredicate | Description No Description Provided |
Name: y
Return Type: LocationPredicateBuilder
ZenScript CopyLocationPredicateBuilder.y(y as DoubleMinMaxBoundsPredicate) as LocationPredicateBuilder
Parameter | Type | Description |
---|---|---|
Parameter y | Type DoubleMinMaxBoundsPredicate | Description No Description Provided |
Name: z
Return Type: LocationPredicateBuilder
ZenScript CopyLocationPredicateBuilder.z(z as DoubleMinMaxBoundsPredicate) as LocationPredicateBuilder
Parameter | Type | Description |
---|---|---|
Parameter z | Type DoubleMinMaxBoundsPredicate | Description No Description Provided |