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

Update templates.yml

Add new template default:block_state/leaves_no_tint
This commit is contained in:
MrPanda8
2025-10-20 01:37:39 +03:00
committed by GitHub
parent 8eadfcae82
commit f12e01db01

View File

@@ -936,6 +936,44 @@ templates#block_states:
distance=7,persistent=false:
settings:
is-randomly-ticking: true
# leaves (no tint) block
default:block_state/leaves:
properties:
waterlogged:
type: boolean
default: false
persistent:
type: boolean
default: true
distance:
type: int
default: 7
range: 1~7
appearances:
default:
auto-state: leaves_no_tint
model:
path: ${model_path}
generation:
parent: minecraft:block/leaves
textures:
all: ${texture_path}
waterlogged:
auto-state: waterlogged_leaves_no_tint
model:
path: ${model_path}
variants:
waterlogged=false:
appearance: default
waterlogged=true:
appearance: waterlogged
settings:
resistance: 1200.0
burnable: false
fluid-state: water
distance=7,persistent=false:
settings:
is-randomly-ticking: true
# trapdoor block
default:block_state/trapdoor:
properties:
@@ -3400,4 +3438,4 @@ templates#loot_tables:
type: uniform
min: 1
max: 2
- type: explosion_decay
- type: explosion_decay