9
0
mirror of https://github.com/Xiao-MoMi/craft-engine.git synced 2025-12-29 20:09:13 +00:00

方块实体3

This commit is contained in:
XiaoMoMi
2025-09-05 07:06:30 +08:00
parent c33d18faf1
commit 8931433bb1
24 changed files with 612 additions and 33 deletions

View File

@@ -464,11 +464,21 @@ items#misc:
hit: minecraft:block.stone.hit
place: minecraft:block.stone.place
step: minecraft:block.stone.step
behavior:
type: simple_storage_block
title: "<i18n:item.safe_block>"
rows: 1
sounds:
open: minecraft:block.iron_trapdoor.open
close: minecraft:block.iron_trapdoor.close
states:
properties:
facing:
type: 4-direction
default: north
open:
type: boolean
default: false
appearances:
east:
state: note_block:22
@@ -481,33 +491,70 @@ items#misc:
front: minecraft:block/custom/safe_block_front
side: minecraft:block/custom/safe_block_side
top: minecraft:block/custom/safe_block_top
north:
east_open:
state: note_block:23
model:
path: minecraft:block/custom/safe_block
south:
path: minecraft:block/custom/safe_block_open
y: 90
generation:
parent: minecraft:block/orientable
textures:
front: minecraft:block/custom/safe_block_front_open
side: minecraft:block/custom/safe_block_side
top: minecraft:block/custom/safe_block_top
north:
state: note_block:24
model:
path: minecraft:block/custom/safe_block
north_open:
state: note_block:25
model:
path: minecraft:block/custom/safe_block_open
south:
state: note_block:26
model:
path: minecraft:block/custom/safe_block
y: 180
south_open:
state: note_block:27
model:
path: minecraft:block/custom/safe_block_open
y: 180
west:
state: note_block:25
state: note_block:28
model:
path: minecraft:block/custom/safe_block
y: 270
west_open:
state: note_block:29
model:
path: minecraft:block/custom/safe_block_open
y: 270
variants:
facing=east:
facing=east,open=false:
appearance: east
id: 22
facing=north:
appearance: north
facing=east,open=true:
appearance: east_open
id: 23
facing=south:
appearance: south
facing=north,open=false:
appearance: north
id: 24
facing=west:
appearance: west
facing=north,open=true:
appearance: north_open
id: 25
facing=south,open=false:
appearance: south
id: 26
facing=south,open=true:
appearance: south_open
id: 27
facing=west,open=false:
appearance: west
id: 28
facing=west,open=true:
appearance: west_open
id: 29
recipes#misc:
default:chinese_lantern:
type: shaped