I have added randomly spawning veins of suspicious sand and gravel in beaches and rivers but it does not let me customize the loot tables as i have done this only through json files. Could a workaround to adding a custom loot table to its brushing be done by mixing and adding a new property and if this property is true then it always enables this custom for my spawning sands and gravel.
Kinda like this example?
{
"type": "minecraft:ore",
"config": {
"discard_chance_on_air_exposure": 0.7,
"size": 8,
"targets": [
{
"state": {
"Name": "minecraft:suspicious_sand"
},
"target": {
"predicate_type": "minecraft:block_match",
"block": "minecraft:sand"
}
},
{
"state": {
"Name": "minecraft:suspicious_gravel"
"properties"{
customdrop
}
},
"target": {
"predicate_type": "minecraft:block_match",
"block": "minecraft:gravel"
}
}
]
}
}