9
0
mirror of https://github.com/Xiao-MoMi/craft-engine.git synced 2025-12-31 04:46:37 +00:00

为家具添加自定义掉落物位置

This commit is contained in:
XiaoMoMi
2025-05-09 02:34:23 +08:00
parent ef1caaa05a
commit 81cf2055e4
5 changed files with 26 additions and 6 deletions

View File

@@ -17,6 +17,7 @@ items:
place: minecraft:block.bamboo_wood.place
placement:
ground:
loot-spawn-offset: 0.5,0.5,0
rules:
# ANY / FOUR / EIGHT / SIXTEEN / NORTH / EAST / WEST / SOUTH
rotation: FOUR
@@ -61,6 +62,7 @@ items:
place: minecraft:block.lantern.place
placement:
ground:
loot-spawn-offset: 0,0.2,0
rules:
rotation: ANY
alignment: QUARTER
@@ -111,6 +113,7 @@ items:
place: minecraft:block.bamboo_wood.place
placement:
ground:
loot-spawn-offset: 0,0.4,0
rules:
rotation: ANY
alignment: ANY