first commit
This commit is contained in:
62
data/noemie_mc/loot_table/drop_sand.json
Normal file
62
data/noemie_mc/loot_table/drop_sand.json
Normal file
@@ -0,0 +1,62 @@
|
||||
{
|
||||
"type": "minecraft:generic",
|
||||
"pools": [
|
||||
{
|
||||
"rolls": 1.0,
|
||||
"bonus_rolls": 0.0,
|
||||
"conditions": [
|
||||
{
|
||||
"condition": "minecraft:killed_by_player"
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:random_chance_with_enchanted_bonus",
|
||||
"enchanted_chance": {
|
||||
"type": "minecraft:linear",
|
||||
"base": 0.75,
|
||||
"per_level_above_first": 0.125
|
||||
},
|
||||
"enchantment": "minecraft:looting",
|
||||
"unenchanted_chance": 0.625
|
||||
}
|
||||
],
|
||||
"entries": [
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"name": "minecraft:sand",
|
||||
"functions": [
|
||||
{
|
||||
"function": "minecraft:set_item",
|
||||
"item": "minecraft:red_sand",
|
||||
"conditions": [
|
||||
{
|
||||
"condition": "minecraft:location_check",
|
||||
"predicate": {
|
||||
"biomes": "#minecraft:is_badlands"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"function": "minecraft:set_count",
|
||||
"count": {
|
||||
"type": "minecraft:uniform",
|
||||
"min": 0.0,
|
||||
"max": 2.0
|
||||
},
|
||||
"add": false
|
||||
},
|
||||
{
|
||||
"function": "minecraft:enchanted_count_increase",
|
||||
"enchantment": "minecraft:looting",
|
||||
"count": {
|
||||
"type": "minecraft:uniform",
|
||||
"min": 0.0,
|
||||
"max": 1.0
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user