Block Predicate Types - Apollounknowndev/lithostitched GitHub Wiki
multiple_of
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}).
random_chance
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.