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

添加配置

This commit is contained in:
XiaoMoMi
2025-09-24 19:04:07 +08:00
parent be79d0c8e7
commit 28f30b1e5b
2 changed files with 83 additions and 10 deletions

View File

@@ -621,7 +621,7 @@ items:
textures:
texture: minecraft:block/custom/palm_planks
items#palm_fence:
items#pfence:
default:palm_fence:
material: nether_brick
custom-model-data: 1018
@@ -657,8 +657,7 @@ items#palm_fence:
parent: minecraft:block/custom/fence_side
textures:
texture: minecraft:block/custom/palm_planks
blocks#palm_fence:
blocks#fence:
default:palm_fence:
loot:
template: default:loot_table/self
@@ -695,6 +694,80 @@ blocks#palm_fence:
from: 0
to: 31
items#button:
default:palm_button:
material: nether_brick
custom-model-data: 1015
model:
type: minecraft:model
path: minecraft:item/custom/palm_button
generation:
parent: minecraft:block/button_inventory
textures:
texture: minecraft:block/custom/palm_planks
data:
item-name: <!i><i18n:item.palm_button>
settings:
fuel-time: 100
behavior:
type: block_item
block: default:palm_button
default:palm_button_pressed:
material: nether_brick
custom-model-data: 1016
model:
type: minecraft:model
path: minecraft:block/custom/palm_button_pressed
generation:
parent: minecraft:block/button_pressed
textures:
texture: minecraft:block/custom/palm_planks
default:palm_button_not_pressed:
material: nether_brick
custom-model-data: 1017
model:
type: minecraft:model
path: minecraft:block/custom/palm_button_not_pressed
generation:
parent: minecraft:block/button
textures:
texture: minecraft:block/custom/palm_planks
blocks#button:
default:palm_button:
loot:
template: default:loot_table/self
settings:
template:
- default:sound/wood
- default:hardness/button
overrides:
burnable: true
push-reaction: destroy
map-color: 2
instrument: harp
tags:
- minecraft:buttons
- minecraft:mineable/axe
- minecraft:wooden_buttons
behaviors:
- type: face_attached_horizontal_directional_block
- type: button_block
ticks-to-stay-pressed: 30
can-button-be-activated-by-arrows: true
sounds:
on: minecraft:block.wooden_button.click_on
off: minecraft:block.wooden_button.click_off
states:
template: default:block_state/button
arguments:
base_block: birch_button
pressed_item: default:palm_button_pressed
not_pressed_item: default:palm_button_not_pressed
internal_id:
type: self_increase_int
from: 0
to: 23
recipes:
default:palm_planks:
template: default:recipe/planks
@@ -787,4 +860,4 @@ recipes:
B: minecraft:stick
result:
id: default:palm_fence
count: 1
count: 1

View File

@@ -17,18 +17,18 @@ categories:
- default:palm_sapling
- default:palm_leaves
- default:palm_log
- default:stripped_palm_log
- default:palm_wood
- default:stripped_palm_log
- default:stripped_palm_wood
- default:palm_planks
- default:palm_trapdoor
- default:palm_door
- default:palm_fence_gate
- default:palm_slab
- default:palm_stairs
- default:palm_slab
- default:palm_fence
- default:palm_fence_gate
- default:palm_door
- default:palm_trapdoor
- default:palm_pressure_plate
- default:palm_button
- default:palm_fence
default:topaz:
name: <!i><#FF8C00><i18n:category.topaz></#FF8C00>
hidden: true