9
0
mirror of https://github.com/Xiao-MoMi/craft-engine.git synced 2025-12-26 02:19:23 +00:00

修正掉落物

This commit is contained in:
XiaoMoMi
2025-06-21 05:34:20 +08:00
parent e1db314aee
commit abc4990b4e
2 changed files with 20 additions and 1 deletions

View File

@@ -501,7 +501,7 @@ items:
behaviors:
type: slab_block
loot:
template: default:loot_table/self
template: default:loot_table/slab
settings:
template:
- default:sound/wood

View File

@@ -2208,6 +2208,25 @@ templates#loot_tables:
- type: item
item: ${item}
# drop 1/2 slabs
# template: default:loot_table/slab
default:loot_table/slab:
pools:
- rolls: 1
entries:
- type: item
item: ${__NAMESPACE__}:${__ID__}
functions:
- type: set_count
count: 2
add: false
conditions:
- type: match_block_property
properties:
type: double
- type: explosion_decay
# crop drops
# template: default:loot_table/seed_crop