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-12-16 20:52:43 +08:00
parent 7af13286eb
commit 75c5555fe5
10 changed files with 84 additions and 75 deletions

View File

@@ -94,12 +94,13 @@ resource-pack:
resolution:
type: merge_font
# Validate if there is any error in the resource pack, such as missing textures or models.
# Validation may not always be accurate due to the presence of overlays, and it is time-consuming for plugins to simulate multiple client versions for testing.
# Validation may not always be accurate due to the presence of resource pack overlays.
# If your resource pack is compliant with the standard, you can disable validation to improve the resource pack generation speed.
validation:
enable: true
# Fix images that are not within the texture atlas. It is unreasonable to always rely on plugins to fix your mistakes.
# Fix textures that are not within the atlas. It is unreasonable to always rely on plugins to fix your mistakes.
# You should strive to make your resource pack more standardized after gaining some experience with resource packs.
# When a model file mixes textures from both the blocks atlas and the items atlas, you must manually fix the issue.
fix-atlas: true
# Optimize your resource pack by reducing its size without any quality loss.
optimization: