We’re now releasing the first pre-release for Minecraft 1.18.2. This pre-release introduces the possibility for data packs to customize cave generation and to add new custom structures to worlds.
我们现在发布Minecraft 1.18.2的第一个预发布版本。这个预发布版本引入了数据包定制洞穴生成以及为世界添加新的自定义结构的功能。
If everything goes as expected, we aim to release this version on February 28th.
如果一切按预期进行,我们的预计在2月28日发布这个版本。
Happy mining!
祝你挖矿愉快!
Changes in 1.18.2 Pre-release 1
1.18.2 预发布版 1 的修改内容
- Users running Minecraft in a 32-bit environment will receive a warning in the main menu about the upcoming end of 32-bit environment support
- 在32位环境中运行Minecraft的用户将在主菜单中收到32位环境即将结束支持的警告。
Technical changes in 1.18.2 Pre-release 1
1.18.2 预发布版 1 的技术性修改
- The data pack version is now 9
- 数据包的版本现在为9
- It is now possible to add custom structures in experimental datapacks
- 现在可以在实验性数据包中添加自定义结构了
- locate and locatebiome commands now support tags (prefix with # to distinguish from normal ids)
- locate 和 locatebiome 命令现在支持标签 (以#为前缀,以区别于正常的ID)
- The locate parameter is now a configured structure rather than a structure type. For instance, you can now use /locate village_desert or /locate shipwreck_beached
- locate 命令的参数现在是一个配置的结构,而不是一个结构类型。 例如,你现在可以使用/locate village_desert 或者 /locate shipwreck_beached
- A lot of the cave generation is now configurable through data packs
- 现在很多的洞穴生成可以通过数据包进行配置
Configurable caves
可配置的山洞生成
- A new registry was added for Density functions (caves are created by combining those together)
- 为密度功能增加了一个新的注册表(洞穴是由这些功能组合而成的)
- Noise settings got a new field noise_router (and lost a couple of flags), see worldgen/noise_settings folder in the worldgen report
- 噪声设置有了一个新的字段noise_router(并移除了几个标志),见worldgen/noise_settings文件夹中的世界生成报告
- Noise router wires data-driven parts of the cave generation with the rest of the code
- 噪声路由器将洞穴生成的数据驱动部分与代码的其他部分连接起来
Configured Structures and Structure Sets
配置好的结构和结构组合
The game now generates and stores data-driven configured structures.
游戏现在生成和存储数据驱动的配置结构。
- Experimental datapacks can add new structure sets
- 实验性数据包可以增加新的结构组合
- The feature field in location predicates now references a configured feature
- 位置谓词中的feature字段现在引用了配置的地物
- The exploration_map loot table function destination field is now a configured feature tag id
- exploration_map战利品表函数的destination字段现在是一个配置的地物标签ID
- The exploration_map loot table function no longer automatically sets the display name of the map
- exploration_map战利品表函数不再自动设置地图的显示名称
Side effects
副作用
Some gameplay oddities have been affected by this change.
一些游戏的原有内容受到了本次变化的影响。
- Dolphins will now more accurately pick the closest structure regardless of type
- 海豚现在会更准确地选择最近的结构,而不考虑其类型
- Bastion Remnant bounding boxes are now slightly more accurate to the shape of the structure
- 堡垒遗迹的边界现在与结构的形状更为精确了一点
Fixed bugs in 1.18.2 Pre-release 1
1.18.2 预发布版 1 修复的漏洞
- MC-3524 – Structure related mobs do not spawn in flat type world generation
- MC-3524 – 与结构相关的怪物不会在超平坦世界生成
- MC-146854 – Player movement favors x axis when in a corner
- MC-146854 – 在角落里时,玩家倾向于向X轴方向移动
- MC-179315 – Ruined portals never generate in superflat worlds by default
- MC-179315 – 废弃传送门默认不在超平坦世界中生成
- MC-210612 – Strongholds do not generate in certain customized worlds despite /locate saying otherwise
- MC-210612 – 要塞在某些自定义的世界中不产生,尽管/locate指令仍然会显示(要塞坐标)
- MC-241288 – Support for custom structures has been removed
- MC-241288 – 对自定义结构的支持被移除了
- MC-244137 – The option “level-seed” is not present in server.properties by default
- MC-244137 – server.properties中默认不存在 “level-seed “选项
- MC-248532 – Elytra firework particle spawns on the wrong hand when dual wielding fireworks
- MC-248532 – 双手持有烟花时,鞘翅的烟花粒子会在错误的手上产生
来源:ArmorRush