Skip to content

Commit

Permalink
fix(snow): inverted dropping
Browse files Browse the repository at this point in the history
Snow blocks dropped snowballs with silk touch and snow without, instead
of the opposite.
  • Loading branch information
One-Nose committed Jun 29, 2023
1 parent 2e881cf commit b2f4262
Showing 1 changed file with 24 additions and 21 deletions.
45 changes: 24 additions & 21 deletions data/minecraft/loot_tables/blocks/snow.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,29 +11,32 @@
"type": "minecraft:alternatives",
"conditions": [
{
"condition": "minecraft:alternative",
"terms": [
{
"condition": "minecraft:match_tool",
"predicate": {
"enchantments": [
{
"enchantment": "minecraft:silk_touch",
"levels": {
"min": 1
"condition": "minecraft:inverted",
"term": {
"condition": "minecraft:alternative",
"terms": [
{
"condition": "minecraft:match_tool",
"predicate": {
"enchantments": [
{
"enchantment": "minecraft:silk_touch",
"levels": {
"min": 1
}
}
}
]
}
},
{
"condition": "minecraft:entity_properties",
"entity": "this",
"predicate": {
"nbt": "{Tags: [\"silky_hands\"]}"
]
}
},
{
"condition": "minecraft:entity_properties",
"entity": "this",
"predicate": {
"nbt": "{Tags: [\"silky_hands\"]}"
}
}
}
]
]
}
}
],
"children": [
Expand Down

0 comments on commit b2f4262

Please sign in to comment.