Created
December 20, 2019 17:19
-
-
Save Arcensoth/28b351f73e3c0fb8c95d1124bec4e531 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"type": "minecraft:block", | |
"pools": [ | |
{ | |
"rolls": 1, | |
"entries": [ | |
{ | |
"type": "minecraft:alternatives", | |
"children": [ | |
{ | |
"type": "minecraft:dynamic", | |
"name": "minecraft:contents", | |
"conditions": [ | |
{ | |
"condition": "minecraft:entity_properties", | |
"predicate": { | |
"type": "minecraft:player" | |
}, | |
"entity": "this" | |
}, | |
{ | |
"condition": "minecraft:entity_scores", | |
"entity": "this", | |
"scores": { | |
"scratch.foo": { | |
"min": 1, | |
"max": 100 | |
} | |
} | |
} | |
] | |
}, | |
{ | |
"type": "minecraft:item", | |
"name": "minecraft:player_head", | |
"conditions": [ | |
{ | |
"condition": "minecraft:entity_properties", | |
"predicate": { | |
"type": "minecraft:player" | |
}, | |
"entity": "this" | |
} | |
] | |
}, | |
{ | |
"type": "minecraft:item", | |
"name": "minecraft:skeleton_skull", | |
"conditions": [ | |
{ | |
"condition": "minecraft:entity_properties", | |
"predicate": { | |
"type": "#minecraft:skeletons" | |
}, | |
"entity": "this" | |
} | |
] | |
}, | |
{ | |
"type": "minecraft:item", | |
"name": "minecraft:coal" | |
} | |
] | |
} | |
] | |
} | |
] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"pools": [ | |
{ | |
"rolls": 1, | |
"entries": [ | |
{ | |
"type": "minecraft:alternatives", | |
"children": [ | |
{ | |
"type": "minecraft:item", | |
"name": "minecraft:diamond", | |
"conditions": [ | |
{ | |
"condition": "minecraft:entity_scores", | |
"entity": "this", | |
"scores": { | |
"scratch.foo": { | |
"min": 1, | |
"max": 99 | |
} | |
} | |
} | |
] | |
}, | |
{ | |
"type": "minecraft:item", | |
"name": "minecraft:emerald", | |
"conditions": [ | |
{ | |
"condition": "minecraft:entity_scores", | |
"entity": "this", | |
"scores": { | |
"scratch.foo": { | |
"min": 100, | |
"max": 100 | |
} | |
} | |
} | |
] | |
}, | |
{ | |
"type": "minecraft:item", | |
"name": "minecraft:iron_ingot" | |
} | |
] | |
} | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment