Follow along with the video below to see how to install our site as a web app on your home screen.
请注意: 此功能在某些浏览器中可能不可用。
为家具和方块实体渲染器添加 shadow-radius 和 shadow-strength 配置项 YAML: elements: - item: default:bench display-transform: NONE billboard: FIXED position: 0.5,0,0 translation: 0,0.5,0 shadow-radius: 1 shadow-strength: 0.2
shadow-radius
shadow-strength
elements: - item: default:bench display-transform: NONE billboard: FIXED position: 0.5,0,0 translation: 0,0.5,0 shadow-radius: 1 shadow-strength: 0.2
修复错误翻译哈希调色盘导致的网络协议错误
在 config.yml 配置文件中新增 deceive-bukkit-material 选项 再次优化区块数据映射的网络性能(较 0.0.64.7 版本提升约 20%) 优化 1.20.2+ 版本文本组件替换的网络性能(提升约 15%) 新增对 1.20.1-1.20.4 版本的方块实体和收纳袋中的物品的客户端侧数据/材质支持
deceive-bukkit-material
优化了区块数据映射的网络性能(速度提升约30%) 在 config.yml 中新增 disable-item-operations 选项 在 config.yml 中新增 default-material 配置选项 model 配置部分现在支持直接指定模型文件路径 示例: 旧版本基础建模物品需使用以下语法: YAML: default:my_custom_item: material: nether_brick model: path: item/custom/my_custom_item 新版简化语法: YAML: default:my_custom_item: model: item/custom/my_custom_item
disable-item-operations
default-material
model
default:my_custom_item: material: nether_brick model: path: item/custom/my_custom_item
default:my_custom_item: model: item/custom/my_custom_item
再次优化了部分情况下的自定义物品交互 提升了自动ID分配速度(之前从文件系统加载约需3-5毫秒,现在测试环境中仅需0.5毫秒)
添加岩浆植物示例 改进自定义物品在某些情况下的交互
修复 1.21.6+ 版本的 custom payload 导致的网络协议错误
新增 transparent 参数,可快速生成透明模型。 优化了 auto-state 参数,现在可为自动状态分配ID,确保相同ID始终获得一致效果。 YAML: templates: customcrops:block_entity: auto-state: id: customcrops:transparent type: ${auto_state} transparent: true entity-renderer: - item: ${__NAMESPACE__}:${__ID__} items: customcrops:tomato_stage_1: material: sugar model: path: "customcrops:block/customcrops/tomato/stage_1" behavior: type: block_item block: customcrops:tomato_stage_1 customcrops:tomato_stage_2: material: sugar model: path: "customcrops:block/customcrops/tomato/stage_2" behavior: type: block_item block: customcrops:tomato_stage_2 blocks: customcrops:tomato_stage_1: settings: template: - default:sound/crop - default:hardness/none item: customcrops:tomato_seeds map-color: 7 push-reaction: block state: template: customcrops:block_entity arguments: auto_state: sugar_cane customcrops:tomato_stage_2: settings: template: - default:sound/crop - default:hardness/none item: customcrops:tomato_seeds map-color: 7 push-reaction: block state: template: customcrops:block_entity arguments: auto_state: sugar_cane 以下是使用 transparent 和 auto-state 参数的示例。 tomato_stage_1 和 tomato_stage_2 最终会获得相同的 sugar_cane 状态,因为它们使用了名为 customcrops:transparent 的相同自动状态。
transparent
auto-state
templates: customcrops:block_entity: auto-state: id: customcrops:transparent type: ${auto_state} transparent: true entity-renderer: - item: ${__NAMESPACE__}:${__ID__} items: customcrops:tomato_stage_1: material: sugar model: path: "customcrops:block/customcrops/tomato/stage_1" behavior: type: block_item block: customcrops:tomato_stage_1 customcrops:tomato_stage_2: material: sugar model: path: "customcrops:block/customcrops/tomato/stage_2" behavior: type: block_item block: customcrops:tomato_stage_2 blocks: customcrops:tomato_stage_1: settings: template: - default:sound/crop - default:hardness/none item: customcrops:tomato_seeds map-color: 7 push-reaction: block state: template: customcrops:block_entity arguments: auto_state: sugar_cane customcrops:tomato_stage_2: settings: template: - default:sound/crop - default:hardness/none item: customcrops:tomato_seeds map-color: 7 push-reaction: block state: template: customcrops:block_entity arguments: auto_state: sugar_cane
tomato_stage_1
tomato_stage_2
sugar_cane
customcrops:transparent
优化了旧版模型覆写的合并流程 新增 block-state 数据类型,可显著改善方块放置体验 https://ce.gtemc.cn/zh-Hans/configuration/item/data#block-state方块状态
block-state
新增对 1.21.8+ 版本新文本组件的支持 新增 ingredient-substitute 选项 修复 client-bound-data/material 未应用于收纳袋/潜影盒内物品的问题 修复自 0.0.63.8 版本起下落的方块始终无法触发 sounds.land 的问题
ingredient-substitute
client-bound-data/material
sounds.land
我们使用基本的 cookie 来使本网站正常运行,并使用可选的 cookie 来增强您的体验。
查看更多信息并配置您的首选项