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

调整配置文件格式

This commit is contained in:
XiaoMoMi
2025-08-23 03:24:10 +08:00
parent eca18e32d7
commit f8bbe9011a
5 changed files with 88 additions and 62 deletions

View File

@@ -190,16 +190,6 @@ block:
extended-interaction-range: 0.5
furniture:
# Automatically remove outdated furniture entities when a chunk is loaded.
handle-invalid-furniture-on-chunk-load:
# Enable/disable the cleanup system
enable: false
# Removes the specified invalid furniture
remove:
- "xxx:invalid_furniture"
# Converts the invalid furniture to a valid one
convert:
"namespace:furniture_a": "namespace:furniture_b"
# Hide technical entities used for storing furniture metadata.
# NOTE:
# - These are INVISIBLE entities used internally for tracking furniture states
@@ -211,10 +201,14 @@ furniture:
collision-entity-type: interaction
emoji:
chat: true
book: true
anvil: true
sign: true
# Contexts where emoji parsing is enabled
contexts:
chat: true
book: true
anvil: true
sign: true
# Prevent lag or oversized packet when processing emoji-heavy content
max-emojis-per-parse: 16
image:
# Block image tags using minecraft:default font in these interfaces
@@ -366,12 +360,6 @@ gui:
brewing:
title: "<white><shift:-11><image:internal:brewing_recipe>"
performance:
# Maximum chain update depth when fixing client visuals
max-note-block-chain-update-limit: 48
# Prevent lag or oversized packet when processing emoji-heavy content
max-emojis-per-parse: 16
light-system:
# Required for custom light-emitting blocks
enable: true
@@ -420,6 +408,16 @@ chunk-system:
# server's CraftEngine internal data. Enabling this option will synchronize the data when the chunk is loaded.
# (This option only slightly impacts performance, which has been fully optimized, so you don't need to worry too much.)
sync-custom-blocks-on-chunk-load: false
# This system processes any invalid block when a chunk is loaded.
process-invalid-blocks:
enable: false
remove: []
convert: {}
# This system processes any invalid furniture when a chunk is loaded.
process-invalid-furniture:
enable: false
remove: []
convert: {}
# Enables or disables debug mode
debug: