LocationPredicateBuilder
Link to locationpredicatebuilder
Импорт класса
Link to импорт-класса
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;
Методы
Link to методы
Name: biome
Return Type: LocationPredicateBuilder
ZenScript CopyLocationPredicateBuilder.biome(biome as ResourceLocation) as LocationPredicateBuilder
Параметр | Тип |
---|---|
Параметр biome | Тип ResourceLocation |
Name: biome
Return Type: LocationPredicateBuilder
ZenScript CopyLocationPredicateBuilder.biome(biome as string) as LocationPredicateBuilder
Параметр | Тип |
---|---|
Параметр biome | Тип string |
Name: block
Return Type: LocationPredicateBuilder
ZenScript CopyLocationPredicateBuilder.block(predicate as BlockPredicate) as LocationPredicateBuilder
Параметр | Тип |
---|---|
Параметр predicate | Тип BlockPredicate |
Name: block
Return Type: LocationPredicateBuilder
ZenScript CopyLocationPredicateBuilder.block(predicate as BlockPredicateBuilder) as LocationPredicateBuilder
Параметр | Тип |
---|---|
Параметр predicate | Тип 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
Параметр | Тип |
---|---|
Параметр dimension | Тип ResourceLocation |
Name: dimension
Return Type: LocationPredicateBuilder
ZenScript CopyLocationPredicateBuilder.dimension(dimension as string) as LocationPredicateBuilder
Параметр | Тип |
---|---|
Параметр dimension | Тип string |
Name: feature
Return Type: LocationPredicateBuilder
ZenScript CopyLocationPredicateBuilder.feature(feature as ResourceLocation) as LocationPredicateBuilder
Параметр | Тип |
---|---|
Параметр feature | Тип ResourceLocation |
Name: feature
Return Type: LocationPredicateBuilder
ZenScript CopyLocationPredicateBuilder.feature(feature as string) as LocationPredicateBuilder
Параметр | Тип |
---|---|
Параметр feature | Тип string |
Name: fluid
Return Type: LocationPredicateBuilder
ZenScript CopyLocationPredicateBuilder.fluid(predicate as FluidPredicate) as LocationPredicateBuilder
Параметр | Тип |
---|---|
Параметр predicate | Тип FluidPredicate |
Name: fluid
Return Type: LocationPredicateBuilder
ZenScript CopyLocationPredicateBuilder.fluid(predicate as FluidPredicateBuilder) as LocationPredicateBuilder
Параметр | Тип |
---|---|
Параметр predicate | Тип FluidPredicateBuilder |
Name: light
Return Type: LocationPredicateBuilder
ZenScript CopyLocationPredicateBuilder.light(predicate as LightPredicate) as LocationPredicateBuilder
Параметр | Тип |
---|---|
Параметр predicate | Тип LightPredicate |
Name: light
Return Type: LocationPredicateBuilder
ZenScript CopyLocationPredicateBuilder.light(predicate as LightPredicateBuilder) as LocationPredicateBuilder
Параметр | Тип |
---|---|
Параметр predicate | Тип LightPredicateBuilder |
Name: smokey
Return Type: LocationPredicateBuilder
ZenScript CopyLocationPredicateBuilder.smokey(smokey as bool?) as LocationPredicateBuilder
Параметр | Тип | Optional | Default Value |
---|---|---|---|
Параметр smokey | Тип bool? | Optional true | Default Value true |
Name: x
Return Type: LocationPredicateBuilder
ZenScript CopyLocationPredicateBuilder.x(x as DoubleMinMaxBoundsPredicate) as LocationPredicateBuilder
Параметр | Тип |
---|---|
Параметр x | Тип DoubleMinMaxBoundsPredicate |
Name: y
Return Type: LocationPredicateBuilder
ZenScript CopyLocationPredicateBuilder.y(y as DoubleMinMaxBoundsPredicate) as LocationPredicateBuilder
Параметр | Тип |
---|---|
Параметр y | Тип DoubleMinMaxBoundsPredicate |
Name: z
Return Type: LocationPredicateBuilder
ZenScript CopyLocationPredicateBuilder.z(z as DoubleMinMaxBoundsPredicate) as LocationPredicateBuilder
Параметр | Тип |
---|---|
Параметр z | Тип DoubleMinMaxBoundsPredicate |