-
Notifications
You must be signed in to change notification settings - Fork 3
Block Predicate Types
Apollo edited this page Nov 22, 2024
·
1 revision
The multiple_of
block predicate type will pass if a certain number of block predicates pass.
{
"type": "lithostitched:multiple_of",
"predicates": [
{
"type": "minecraft:matching_blocks",
"offset": [0, 0, 0],
"blocks": "minecraft:stone"
},
{
"type": "minecraft:matching_blocks",
"offset": [0, 1, 0],
"blocks": "minecraft:stone"
},
{
"type": "minecraft:matching_blocks",
"offset": [0, 2, 0],
"blocks": "minecraft:stone"
}
],
"allowed_count": [1, 2]
}
-
predicates
: A list of block predicates. -
allowed_count
: An integer range (64
,[64,96]
,{"min_inclusive":64,"max_inclusive":96}
).
The random_chance
block predicate will randomly pass based on the block position.
{
"type": "lithostitched:random_chance",
"chance": 0.4
}
-
chance
: The chance the block predicate will pass. A float from 0.0 to 1.0.
All json here can be generated using the Lithostitched generator website!