mirror of
https://github.com/Xiao-MoMi/craft-engine.git
synced 2025-12-26 02:19:23 +00:00
修正掉落物
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user