minecraft-assets/data/minecraft/loot_tables/entities/rabbit.json

94 lines
2.2 KiB
JSON

{
"type": "minecraft:entity",
"pools": [
{
"bonus_rolls": 0.0,
"entries": [
{
"type": "minecraft:item",
"functions": [
{
"add": false,
"count": {
"type": "minecraft:uniform",
"max": 1.0,
"min": 0.0
},
"function": "minecraft:set_count"
},
{
"count": {
"type": "minecraft:uniform",
"max": 1.0,
"min": 0.0
},
"function": "minecraft:looting_enchant"
}
],
"name": "minecraft:rabbit_hide"
}
],
"rolls": 1.0
},
{
"bonus_rolls": 0.0,
"entries": [
{
"type": "minecraft:item",
"functions": [
{
"add": false,
"count": 1.0,
"function": "minecraft:set_count"
},
{
"conditions": [
{
"condition": "minecraft:entity_properties",
"entity": "this",
"predicate": {
"flags": {
"is_on_fire": true
}
}
}
],
"function": "minecraft:furnace_smelt"
},
{
"count": {
"type": "minecraft:uniform",
"max": 1.0,
"min": 0.0
},
"function": "minecraft:looting_enchant"
}
],
"name": "minecraft:rabbit"
}
],
"rolls": 1.0
},
{
"bonus_rolls": 0.0,
"conditions": [
{
"condition": "minecraft:killed_by_player"
},
{
"chance": 0.1,
"condition": "minecraft:random_chance_with_looting",
"looting_multiplier": 0.03
}
],
"entries": [
{
"type": "minecraft:item",
"name": "minecraft:rabbit_foot"
}
],
"rolls": 1.0
}
],
"random_sequence": "minecraft:entities/rabbit"
}