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

feat(default-assets): 添加棋盘方块

This commit is contained in:
jhqwqmc
2025-08-10 10:01:43 +08:00
parent 41f369e8cc
commit efb404900c
5 changed files with 78 additions and 2 deletions

View File

@@ -26,6 +26,7 @@ lang:
block_name:default:gunpowder_block: GunPowder Block
block_name:default:solid_gunpowder_block: Solid GunPowder Block
block_name:default:copper_coil: Copper Coil
block_name:default:chessboard: Chessboard
zh_cn:
block_name:default:chinese_lantern: 灯笼
block_name:default:netherite_anvil: 下界合金砧
@@ -49,4 +50,5 @@ lang:
block_name:default:ender_pearl_flower: 末影珍珠花
block_name:default:gunpowder_block: 火药粉末
block_name:default:solid_gunpowder_block: 凝固火药块
block_name:default:copper_coil: 铜线圈
block_name:default:copper_coil: 铜线圈
block_name:default:chessboard: 棋盘

View File

@@ -364,6 +364,77 @@ items#misc:
pebble=3:
appearance: 'three'
id: 4
default:chessboard:
material: nether_brick
custom-model-data: 3006
data:
item-name: <!i><i18n:item.chessboard>
model:
type: minecraft:model
path: minecraft:item/custom/chessboard
generation:
parent: minecraft:block/custom/chessboard
behavior:
type: block_item
block:
loot:
template: default:loot_table/self
settings:
hardness: 1.4
resistance: 1.4
is-suffocating: true
is-redstone-conductor: true
push-reaction: PUSH_ONLY
instrument: BASEDRUM
map-color: 36
sounds:
break: minecraft:block.stone.break
fall: minecraft:block.stone.fall
hit: minecraft:block.stone.hit
place: minecraft:block.stone.place
step: minecraft:block.stone.step
states:
properties:
facing:
type: 4-direction
default: north
appearances:
east:
state: note_block:18
model:
path: minecraft:block/custom/chessboard
y: 270
generation:
parent: minecraft:block/template_glazed_terracotta
textures:
pattern: minecraft:block/custom/chessboard
north:
state: note_block:19
model:
path: minecraft:block/custom/chessboard
y: 180
south:
state: note_block:20
model:
path: minecraft:block/custom/chessboard
west:
state: note_block:21
model:
path: minecraft:block/custom/chessboard
y: 90
variants:
facing=east:
appearance: east
id: 18
facing=north:
appearance: north
id: 19
facing=south:
appearance: south
id: 20
facing=west:
appearance: west
id: 21
recipes#misc:
default:chinese_lantern:
type: shaped

View File

@@ -77,4 +77,5 @@ categories:
- default:copper_coil
- default:flame_elytra
- default:cap
- default:pebble
- default:pebble
- default:chessboard

View File

@@ -45,6 +45,7 @@ i18n:
item.pebble: Pebble
item.cap: Cap
item.flower_basket: Flower Basket
item.chessboard: Chessboard
category.default.name: Default Assets
category.default.lore: Contains the default configuration of CraftEngine
category.palm_tree: Palm Tree
@@ -100,6 +101,7 @@ i18n:
item.pebble: 石子
item.cap: 鸭舌帽
item.flower_basket: 花篮
item.chessboard: 棋盘
category.default.name: 默认资产
category.default.lore: 包含了CraftEngine的默认配置
category.palm_tree: 棕榈树