Skip to content

Commit

Permalink
feat(loot_tables): add sculk sensor
Browse files Browse the repository at this point in the history
  • Loading branch information
One-Nose committed Jun 29, 2023
1 parent ce5797b commit 9abd7c3
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions data/minecraft/loot_tables/blocks/sculk_sensor.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
"type": "minecraft:block",
"pools": [
{
"bonus_rolls": 0.0,
"conditions": [
{
"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\"]}"
}
}
]
}
],
"entries": [
{
"type": "minecraft:item",
"name": "minecraft:sculk_sensor"
}
],
"rolls": 1.0
}
]
}

0 comments on commit 9abd7c3

Please sign in to comment.