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 | 类型 资源位置 | 描述 No Description Provided |
Name: biome
Return Type: LocationPredicateBuilder
ZenScript CopyLocationPredicateBuilder.biome(biome as string) as LocationPredicateBuilder
参数 | 类型 | 描述 |
---|---|---|
参数 biome | 类型 string | 描述 No Description Provided |
Name: block
Return Type: LocationPredicateBuilder
ZenScript CopyLocationPredicateBuilder.block(predicate as BlockPredicate) as LocationPredicateBuilder
参数 | 类型 | 描述 |
---|---|---|
参数 predicate | 类型 BlockPredicate | 描述 No Description Provided |
Name: block
Return Type: LocationPredicateBuilder
ZenScript CopyLocationPredicateBuilder.block(predicate as BlockPredicateBuilder) as LocationPredicateBuilder
参数 | 类型 | 描述 |
---|---|---|
参数 predicate | 类型 BlockPredicateBuilder | 描述 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
参数 | 类型 | 描述 |
---|---|---|
参数 dimension | 类型 资源位置 | 描述 No Description Provided |
Name: dimension
Return Type: LocationPredicateBuilder
ZenScript CopyLocationPredicateBuilder.dimension(dimension as string) as LocationPredicateBuilder
参数 | 类型 | 描述 |
---|---|---|
参数 dimension | 类型 string | 描述 No Description Provided |
Name: feature
Return Type: LocationPredicateBuilder
ZenScript CopyLocationPredicateBuilder.feature(feature as ResourceLocation) as LocationPredicateBuilder
参数 | 类型 | 描述 |
---|---|---|
参数 feature | 类型 资源位置 | 描述 No Description Provided |
Name: feature
Return Type: LocationPredicateBuilder
ZenScript CopyLocationPredicateBuilder.feature(feature as string) as LocationPredicateBuilder
参数 | 类型 | 描述 |
---|---|---|
参数 feature | 类型 string | 描述 No Description Provided |
Name: fluid
Return Type: LocationPredicateBuilder
ZenScript CopyLocationPredicateBuilder.fluid(predicate as FluidPredicate) as LocationPredicateBuilder
参数 | 类型 | 描述 |
---|---|---|
参数 predicate | 类型 FluidPredicate | 描述 No Description Provided |
Name: fluid
Return Type: LocationPredicateBuilder
ZenScript CopyLocationPredicateBuilder.fluid(predicate as FluidPredicateBuilder) as LocationPredicateBuilder
参数 | 类型 | 描述 |
---|---|---|
参数 predicate | 类型 FluidPredicateBuilder | 描述 No Description Provided |
Name: light
Return Type: LocationPredicateBuilder
ZenScript CopyLocationPredicateBuilder.light(predicate as LightPredicate) as LocationPredicateBuilder
参数 | 类型 | 描述 |
---|---|---|
参数 predicate | 类型 LightPredicate | 描述 No Description Provided |
Name: light
Return Type: LocationPredicateBuilder
ZenScript CopyLocationPredicateBuilder.light(predicate as LightPredicateBuilder) as LocationPredicateBuilder
参数 | 类型 | 描述 |
---|---|---|
参数 predicate | 类型 LightPredicateBuilder | 描述 No Description Provided |
Name: smokey
Return Type: LocationPredicateBuilder
ZenScript CopyLocationPredicateBuilder.smokey(smokey as bool?) as LocationPredicateBuilder
参数 | 类型 | 描述 | 可选 | DefaultValue |
---|---|---|---|---|
参数 smokey | 类型 bool? | 描述 No Description Provided | 可选 true | DefaultValue true |
Name: x
Return Type: LocationPredicateBuilder
ZenScript CopyLocationPredicateBuilder.x(x as DoubleMinMaxBoundsPredicate) as LocationPredicateBuilder
参数 | 类型 | 描述 |
---|---|---|
参数 x | 类型 DoubleMinMaxBoundsPredicate | 描述 No Description Provided |
Name: y
Return Type: LocationPredicateBuilder
ZenScript CopyLocationPredicateBuilder.y(y as DoubleMinMaxBoundsPredicate) as LocationPredicateBuilder
参数 | 类型 | 描述 |
---|---|---|
参数 y | 类型 DoubleMinMaxBoundsPredicate | 描述 No Description Provided |
Name: z
Return Type: LocationPredicateBuilder
ZenScript CopyLocationPredicateBuilder.z(z as DoubleMinMaxBoundsPredicate) as LocationPredicateBuilder
参数 | 类型 | 描述 |
---|---|---|
参数 z | 类型 DoubleMinMaxBoundsPredicate | 描述 No Description Provided |