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-25 02:52:33 +08:00
parent 539dcd7d8f
commit de47525c3b
27 changed files with 810 additions and 52 deletions

View File

@@ -201,6 +201,75 @@ items#misc:
parent: "minecraft:block/cube_all"
textures:
"all": "minecraft:block/custom/solid_gunpowder_block"
default:copper_coil:
material: nether_brick
custom-model-data: 3004
data:
item-name: "<!i><i18n:item.copper_coil>"
model:
type: "minecraft:model"
path: "minecraft:item/custom/copper_coil"
generation:
parent: "minecraft:block/custom/copper_coil"
behavior:
type: block_item
block:
loot:
template: "default:loot_table/basic"
arguments:
item: default:copper_coil
settings:
template:
- default:sound/metal
- default:pickaxe_power/level_1
overrides:
hardness: 3.0
resistance: 4.5
replaceable: false
is-redstone-conductor: true
is-suffocating: true
instrument: BASEDRUM
map-color: 45
item: default:copper_coil
behavior:
type: lamp_block
states:
properties:
lit:
type: boolean
default: false
appearances:
off:
state: "cactus:0"
model:
path: "minecraft:block/custom/copper_coil"
generation:
parent: "minecraft:block/cactus"
textures:
"particle": "minecraft:block/custom/copper_coil"
"bottom": "minecraft:block/custom/copper_coil"
"top": "minecraft:block/custom/copper_coil"
"side": "minecraft:block/custom/copper_coil_side"
on:
state: "cactus:1"
model:
path: "minecraft:block/custom/copper_coil_on"
generation:
parent: "minecraft:block/cactus"
textures:
"particle": "minecraft:block/custom/copper_coil_on"
"bottom": "minecraft:block/custom/copper_coil_on"
"top": "minecraft:block/custom/copper_coil_on"
"side": "minecraft:block/custom/copper_coil_on_side"
variants:
lit=false:
appearance: "off"
id: 0
lit=true:
appearance: "on"
id: 1
settings:
luminance: 8
recipes#misc:
default:chinese_lantern:
type: shaped

View File

@@ -65,4 +65,6 @@ categories:
- default:solid_gunpowder_block
- default:ender_pearl_flower_seeds
- default:gui_head_size_1
- default:gui_head_size_4
- default:gui_head_size_4
- minecraft:air
- default:copper_coil

View File

@@ -34,6 +34,7 @@ i18n:
item.netherite_anvil: "Netherite Anvil"
item.gunpowder_block: "GunPowder Block"
item.solid_gunpowder_block: "Solid GunPowder Block"
item.copper_coil: "Copper Coil"
category.default.name: "Default Assets"
category.default.lore: "Contains the default configuration of CraftEngine"
category.palm_tree: "Palm Tree"
@@ -78,6 +79,7 @@ i18n:
item.netherite_anvil: "下界合金砧"
item.gunpowder_block: "火药粉末"
item.solid_gunpowder_block: "凝固火药块"
item.copper_coil: "铜线圈"
category.default.name: "默认资产"
category.default.lore: "包含了CraftEngine的默认配置"
category.palm_tree: "棕榈树"

View File

@@ -239,6 +239,7 @@ warning.config.block.behavior.crop.missing_age: "<yellow>Issue found in file <ar
warning.config.block.behavior.sugar_cane.missing_age: "<yellow>Issue found in file <arg:0> - The block '<arg:1>' is missing the required 'age' property for 'sugar_cane_block' behavior.</yellow>"
warning.config.block.behavior.leaves.missing_persistent: "<yellow>Issue found in file <arg:0> - The block '<arg:1>' is missing the required 'persistent' property for 'leaves_block' behavior.</yellow>"
warning.config.block.behavior.leaves.missing_distance: "<yellow>Issue found in file <arg:0> - The block '<arg:1>' is missing the required 'distance' property for 'leaves_block' behavior.</yellow>"
warning.config.block.behavior.lamp.missing_lit: "<yellow>Issue found in file <arg:0> - The block '<arg:1>' is missing the required 'lit' property for 'lamp_block' behavior.</yellow>"
warning.config.block.behavior.sapling.missing_stage: "<yellow>Issue found in file <arg:0> - The block '<arg:1>' is missing the required 'stage' property for 'sapling_block' behavior.</yellow>"
warning.config.block.behavior.sapling.missing_feature: "<yellow>Issue found in file <arg:0> - The block '<arg:1>' is missing the required 'feature' argument for 'sapling_block' behavior.</yellow>"
warning.config.block.behavior.strippable.missing_stripped: "<yellow>Issue found in file <arg:0> - The block '<arg:1>' is missing the required 'stripped' argument for 'strippable_block' behavior.</yellow>"

View File

@@ -239,6 +239,7 @@ warning.config.block.behavior.crop.missing_age: "<yellow>在文件 <arg:0> 发
warning.config.block.behavior.sugar_cane.missing_age: "<yellow>在文件 <arg:0> 发现问题 - 方块 '<arg:1>' 的 'sugar_cane_block' 行为缺少必需的 'age' 属性</yellow>"
warning.config.block.behavior.leaves.missing_persistent: "<yellow>在文件 <arg:0> 发现问题 - 方块 '<arg:1>' 的 'leaves_block' 行为缺少必需的 'persistent' 属性</yellow>"
warning.config.block.behavior.leaves.missing_distance: "<yellow>在文件 <arg:0> 发现问题 - 方块 '<arg:1>' 的 'leaves_block' 行为缺少必需的 'distance' 属性</yellow>"
warning.config.block.behavior.lamp.missing_lit: "<yellow>在文件 <arg:0> 发现问题 - 方块 '<arg:1>' 的 'lamp_block' 行为缺少必需的 'lit' 属性</yellow>"
warning.config.block.behavior.sapling.missing_stage: "<yellow>在文件 <arg:0> 发现问题 - 方块 '<arg:1>' 的 'sapling_block' 行为缺少必需的 'stage' 属性</yellow>"
warning.config.block.behavior.sapling.missing_feature: "<yellow>在文件 <arg:0> 发现问题 - 方块 '<arg:1>' 的 'sapling_block' 行为缺少必需的 'feature' 参数</yellow>"
warning.config.block.behavior.strippable.missing_stripped: "<yellow>在文件 <arg:0> 发现问题 - 方块 '<arg:1>' 的 'strippable_block' 行为缺少必需的 'stripped' 参数</yellow>"