chore: extract compostable, cooking_fuel and use_remainder from data components
This commit is contained in:
1 parent
e413623e9d
commit
9bab5ea4f5
10475 files changed
+4585
-1623
No files matched your search
@@ -0,0 +1,119 @@
|
||||
{
|
||||
"type": "minecraft:entity",
|
||||
"pools": [
|
||||
{
|
||||
"entries": [
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"modifier": [
|
||||
{
|
||||
"type": "minecraft:set_count",
|
||||
"count": {
|
||||
"type": "minecraft:uniform",
|
||||
"max": 1,
|
||||
"min": 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "minecraft:enchanted_count_increase",
|
||||
"count": {
|
||||
"type": "minecraft:uniform",
|
||||
"max": 1.0,
|
||||
"min": 0.0
|
||||
},
|
||||
"enchantment": "minecraft:looting"
|
||||
}
|
||||
],
|
||||
"name": "minecraft:rabbit_hide"
|
||||
}
|
||||
],
|
||||
"rolls": 1
|
||||
},
|
||||
{
|
||||
"entries": [
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"modifier": [
|
||||
{
|
||||
"type": "minecraft:set_count",
|
||||
"count": 1
|
||||
},
|
||||
{
|
||||
"type": "minecraft:furnace_smelt",
|
||||
"condition": {
|
||||
"type": "minecraft:any_of",
|
||||
"terms": [
|
||||
{
|
||||
"type": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"minecraft:flags": {
|
||||
"is_on_fire": true
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "minecraft:entity_properties",
|
||||
"entity": "direct_attacker",
|
||||
"predicate": {
|
||||
"minecraft:equipment": {
|
||||
"mainhand": {
|
||||
"predicates": {
|
||||
"minecraft:enchantments": [
|
||||
{
|
||||
"enchantments": "#minecraft:smelts_loot"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "minecraft:enchanted_count_increase",
|
||||
"count": {
|
||||
"type": "minecraft:uniform",
|
||||
"max": 1.0,
|
||||
"min": 0.0
|
||||
},
|
||||
"enchantment": "minecraft:looting"
|
||||
}
|
||||
],
|
||||
"name": "minecraft:rabbit"
|
||||
}
|
||||
],
|
||||
"rolls": 1
|
||||
},
|
||||
{
|
||||
"condition": {
|
||||
"type": "minecraft:all_of",
|
||||
"terms": [
|
||||
{
|
||||
"type": "minecraft:killed_by_player"
|
||||
},
|
||||
{
|
||||
"type": "minecraft:random_chance_with_enchanted_bonus",
|
||||
"enchanted_chance": {
|
||||
"type": "minecraft:linear",
|
||||
"base": 0.13,
|
||||
"per_level_above_first": 0.03
|
||||
},
|
||||
"enchantment": "minecraft:looting",
|
||||
"unenchanted_chance": 0.1
|
||||
}
|
||||
]
|
||||
},
|
||||
"entries": [
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"name": "minecraft:rabbit_foot"
|
||||
}
|
||||
],
|
||||
"rolls": 1
|
||||
}
|
||||
],
|
||||
"random_sequence": "minecraft:entities/rabbit"
|
||||
}
|
||||
Reference in new issue
Block a user