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,334 @@
|
||||
{
|
||||
"type": "minecraft:entity",
|
||||
"pools": [
|
||||
{
|
||||
"entries": [
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"modifier": [
|
||||
{
|
||||
"type": "minecraft:set_count",
|
||||
"count": {
|
||||
"type": "minecraft:uniform",
|
||||
"max": 2,
|
||||
"min": 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:mutton"
|
||||
}
|
||||
],
|
||||
"rolls": 1
|
||||
},
|
||||
{
|
||||
"entries": [
|
||||
{
|
||||
"type": "minecraft:alternatives",
|
||||
"children": [
|
||||
{
|
||||
"type": "minecraft:loot_table",
|
||||
"condition": {
|
||||
"type": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"minecraft:components": {
|
||||
"minecraft:sheep/color": "white"
|
||||
},
|
||||
"minecraft:type_specific/sheep": {
|
||||
"sheared": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"value": "minecraft:entities/sheep/white"
|
||||
},
|
||||
{
|
||||
"type": "minecraft:loot_table",
|
||||
"condition": {
|
||||
"type": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"minecraft:components": {
|
||||
"minecraft:sheep/color": "orange"
|
||||
},
|
||||
"minecraft:type_specific/sheep": {
|
||||
"sheared": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"value": "minecraft:entities/sheep/orange"
|
||||
},
|
||||
{
|
||||
"type": "minecraft:loot_table",
|
||||
"condition": {
|
||||
"type": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"minecraft:components": {
|
||||
"minecraft:sheep/color": "magenta"
|
||||
},
|
||||
"minecraft:type_specific/sheep": {
|
||||
"sheared": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"value": "minecraft:entities/sheep/magenta"
|
||||
},
|
||||
{
|
||||
"type": "minecraft:loot_table",
|
||||
"condition": {
|
||||
"type": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"minecraft:components": {
|
||||
"minecraft:sheep/color": "light_blue"
|
||||
},
|
||||
"minecraft:type_specific/sheep": {
|
||||
"sheared": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"value": "minecraft:entities/sheep/light_blue"
|
||||
},
|
||||
{
|
||||
"type": "minecraft:loot_table",
|
||||
"condition": {
|
||||
"type": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"minecraft:components": {
|
||||
"minecraft:sheep/color": "yellow"
|
||||
},
|
||||
"minecraft:type_specific/sheep": {
|
||||
"sheared": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"value": "minecraft:entities/sheep/yellow"
|
||||
},
|
||||
{
|
||||
"type": "minecraft:loot_table",
|
||||
"condition": {
|
||||
"type": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"minecraft:components": {
|
||||
"minecraft:sheep/color": "lime"
|
||||
},
|
||||
"minecraft:type_specific/sheep": {
|
||||
"sheared": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"value": "minecraft:entities/sheep/lime"
|
||||
},
|
||||
{
|
||||
"type": "minecraft:loot_table",
|
||||
"condition": {
|
||||
"type": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"minecraft:components": {
|
||||
"minecraft:sheep/color": "pink"
|
||||
},
|
||||
"minecraft:type_specific/sheep": {
|
||||
"sheared": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"value": "minecraft:entities/sheep/pink"
|
||||
},
|
||||
{
|
||||
"type": "minecraft:loot_table",
|
||||
"condition": {
|
||||
"type": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"minecraft:components": {
|
||||
"minecraft:sheep/color": "gray"
|
||||
},
|
||||
"minecraft:type_specific/sheep": {
|
||||
"sheared": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"value": "minecraft:entities/sheep/gray"
|
||||
},
|
||||
{
|
||||
"type": "minecraft:loot_table",
|
||||
"condition": {
|
||||
"type": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"minecraft:components": {
|
||||
"minecraft:sheep/color": "light_gray"
|
||||
},
|
||||
"minecraft:type_specific/sheep": {
|
||||
"sheared": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"value": "minecraft:entities/sheep/light_gray"
|
||||
},
|
||||
{
|
||||
"type": "minecraft:loot_table",
|
||||
"condition": {
|
||||
"type": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"minecraft:components": {
|
||||
"minecraft:sheep/color": "cyan"
|
||||
},
|
||||
"minecraft:type_specific/sheep": {
|
||||
"sheared": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"value": "minecraft:entities/sheep/cyan"
|
||||
},
|
||||
{
|
||||
"type": "minecraft:loot_table",
|
||||
"condition": {
|
||||
"type": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"minecraft:components": {
|
||||
"minecraft:sheep/color": "purple"
|
||||
},
|
||||
"minecraft:type_specific/sheep": {
|
||||
"sheared": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"value": "minecraft:entities/sheep/purple"
|
||||
},
|
||||
{
|
||||
"type": "minecraft:loot_table",
|
||||
"condition": {
|
||||
"type": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"minecraft:components": {
|
||||
"minecraft:sheep/color": "blue"
|
||||
},
|
||||
"minecraft:type_specific/sheep": {
|
||||
"sheared": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"value": "minecraft:entities/sheep/blue"
|
||||
},
|
||||
{
|
||||
"type": "minecraft:loot_table",
|
||||
"condition": {
|
||||
"type": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"minecraft:components": {
|
||||
"minecraft:sheep/color": "brown"
|
||||
},
|
||||
"minecraft:type_specific/sheep": {
|
||||
"sheared": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"value": "minecraft:entities/sheep/brown"
|
||||
},
|
||||
{
|
||||
"type": "minecraft:loot_table",
|
||||
"condition": {
|
||||
"type": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"minecraft:components": {
|
||||
"minecraft:sheep/color": "green"
|
||||
},
|
||||
"minecraft:type_specific/sheep": {
|
||||
"sheared": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"value": "minecraft:entities/sheep/green"
|
||||
},
|
||||
{
|
||||
"type": "minecraft:loot_table",
|
||||
"condition": {
|
||||
"type": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"minecraft:components": {
|
||||
"minecraft:sheep/color": "red"
|
||||
},
|
||||
"minecraft:type_specific/sheep": {
|
||||
"sheared": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"value": "minecraft:entities/sheep/red"
|
||||
},
|
||||
{
|
||||
"type": "minecraft:loot_table",
|
||||
"condition": {
|
||||
"type": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"minecraft:components": {
|
||||
"minecraft:sheep/color": "black"
|
||||
},
|
||||
"minecraft:type_specific/sheep": {
|
||||
"sheared": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"value": "minecraft:entities/sheep/black"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"rolls": 1
|
||||
}
|
||||
],
|
||||
"random_sequence": "minecraft:entities/sheep"
|
||||
}
|
||||
Reference in new issue
Block a user