9
0
mirror of https://github.com/Xiao-MoMi/craft-engine.git synced 2025-12-28 19:39:11 +00:00

Update default configs

This commit is contained in:
XiaoMoMi
2025-05-25 21:16:45 +08:00
parent 5c827ddf62
commit 3128fe3551
3 changed files with 50 additions and 35 deletions

View File

@@ -134,9 +134,10 @@ items#misc:
behavior:
type: block_item
block:
behavior:
type: concrete_powder_block
solid-block: default:solid_gunpowder_block
behaviors:
- type: concrete_powder_block
solid-block: default:solid_gunpowder_block
- type: falling_block
loot:
template: "default:loot_table/basic"
arguments:
@@ -231,8 +232,8 @@ items#misc:
instrument: BASEDRUM
map-color: 45
item: default:copper_coil
behavior:
type: lamp_block
behaviors:
- type: lamp_block
states:
properties:
lit:

View File

@@ -230,15 +230,16 @@ items:
overrides:
item: default:palm_sapling
behavior:
type: sapling_block
# This requires you to register a custom tree configuration with data pack
# To prevent errors, we use tree feature from vanilla here
feature: minecraft:fancy_oak
bone-meal-success-chance: 0.45
bottom-block-tags:
- minecraft:dirt
- minecraft:farmland
- minecraft:sand
- type: bush_block
bottom-block-tags:
- minecraft:dirt
- minecraft:farmland
- minecraft:sand
- type: sapling_block
# This requires you to register a custom tree configuration with data pack
# To prevent errors, we use tree feature from vanilla here
feature: minecraft:fancy_oak
bone-meal-success-chance: 0.45
loot:
template: "default:loot_table/basic"
arguments:

View File

@@ -102,6 +102,8 @@ blocks:
behavior:
type: on_liquid_block
liquid-type: water
positions:
- 0,-1,0
loot:
template: "default:loot_table/basic"
arguments:
@@ -121,19 +123,29 @@ blocks:
push-reaction: DESTROY
map-color: 15
is-randomly-ticking: true
behavior:
type: sugar_cane_block
max-height: 4
required-adjacent-liquids: lava
grow-speed: 0.333
bottom-blocks:
- minecraft:netherrack
- minecraft:soul_sand
- minecraft:soul_soil
- minecraft:magma_block
- minecraft:warped_nylium
- minecraft:crimson_nylium
- minecraft:basalt
behaviors:
- type: vertical_crop_block
max-height: 4
grow-speed: 0.333
direction: up
- type: bush_block
stackable: true
bottom-blocks:
- minecraft:netherrack
- minecraft:soul_sand
- minecraft:soul_soil
- minecraft:magma_block
- minecraft:warped_nylium
- minecraft:crimson_nylium
- minecraft:basalt
- type: near_liquid_block
liquid-type: lava
stackable: true
positions:
- -1,-1,0
- 1,-1,0
- 0,-1,-1
- 0,-1,1
loot:
template: "default:loot_table/basic"
arguments:
@@ -189,14 +201,15 @@ blocks:
push-reaction: DESTROY
map-color: 24
is-randomly-ticking: true
behavior:
type: crop_block
grow-speed: 0.25
light-requirement: 9
is-bone-meal-target: true
bone-meal-age-bonus: 1
bottom-blocks:
- minecraft:end_stone
behaviors:
- type: bush_block
bottom-blocks:
- minecraft:end_stone
- type: crop_block
grow-speed: 0.25
light-requirement: 9
is-bone-meal-target: true
bone-meal-age-bonus: 1
loot:
template: default:loot_table/seed_crop
arguments: