mirror of
https://github.com/TheClashFruit/CreatePissAndShit.git
synced 2024-09-19 17:36:47 +00:00
fix: fix loot tables
This commit is contained in:
parent
55931d1db4
commit
85dc31f9e0
|
@ -1,36 +1,44 @@
|
|||
{
|
||||
"type": "minecraft:block",
|
||||
"random_sequence": "pissnshit:blocks/shit_block",
|
||||
"pools": [
|
||||
{
|
||||
"rolls": 1,
|
||||
"bonus_rolls": 0,
|
||||
"entries": [
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"name": "pissnshit:shit_block",
|
||||
"conditions": [
|
||||
"type": "minecraft:alternatives",
|
||||
"children": [
|
||||
{
|
||||
"condition": "minecraft:match_tool",
|
||||
"predicate": {
|
||||
"enchantments": [
|
||||
{
|
||||
"enchantment": "minecraft:silk_touch",
|
||||
"levels": 1
|
||||
"type": "minecraft:item",
|
||||
"name": "pissnshit:shit_block",
|
||||
"conditions": [
|
||||
{
|
||||
"condition": "minecraft:match_tool",
|
||||
"predicate": {
|
||||
"enchantments": [
|
||||
{
|
||||
"enchantment": "minecraft:silk_touch",
|
||||
"levels": 1
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"name": "pissnshit:shit",
|
||||
"functions": [
|
||||
{
|
||||
"function": "minecraft:set_count",
|
||||
"count": 4,
|
||||
"add": false
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"function": "minecraft:explosion_decay"
|
||||
"type": "minecraft:item",
|
||||
"name": "pissnshit:shit",
|
||||
"functions": [
|
||||
{
|
||||
"function": "minecraft:set_count",
|
||||
"count": 4,
|
||||
"add": false
|
||||
},
|
||||
{
|
||||
"function": "minecraft:explosion_decay"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
@ -0,0 +1,63 @@
|
|||
{
|
||||
"type": "minecraft:block",
|
||||
"random_sequence": "pissnshit:blocks/shit_candle",
|
||||
"pools": [
|
||||
{
|
||||
"rolls": 1,
|
||||
"bonus_rolls": 0,
|
||||
"entries": [
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"functions": [
|
||||
{
|
||||
"add": false,
|
||||
"conditions": [
|
||||
{
|
||||
"block": "pissnshit:shit_candle",
|
||||
"condition": "minecraft:block_state_property",
|
||||
"properties": {
|
||||
"candles": "2"
|
||||
}
|
||||
}
|
||||
],
|
||||
"count": 2,
|
||||
"function": "minecraft:set_count"
|
||||
},
|
||||
{
|
||||
"add": false,
|
||||
"conditions": [
|
||||
{
|
||||
"block": "pissnshit:shit_candle",
|
||||
"condition": "minecraft:block_state_property",
|
||||
"properties": {
|
||||
"candles": "3"
|
||||
}
|
||||
}
|
||||
],
|
||||
"count": 3,
|
||||
"function": "minecraft:set_count"
|
||||
},
|
||||
{
|
||||
"add": false,
|
||||
"conditions": [
|
||||
{
|
||||
"block": "pissnshit:shit_candle",
|
||||
"condition": "minecraft:block_state_property",
|
||||
"properties": {
|
||||
"candles": "4"
|
||||
}
|
||||
}
|
||||
],
|
||||
"count": 4,
|
||||
"function": "minecraft:set_count"
|
||||
},
|
||||
{
|
||||
"function": "minecraft:explosion_decay"
|
||||
}
|
||||
],
|
||||
"name": "pissnshit:shit_candle"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Reference in a new issue