我的世界Java版 1.18.2 发布 增加了通用标签和 placefeature 命令

We’re now releasing 1.18.2 for Minecraft: Java Edition. This release adds universal tags and the placefeature command. It also introduces the possibility for experimental data packs to customize cave generation and to add new custom structures to worlds.
Minecraft:Java版 1.18.2 现已发布。这个版本增加了通用标签和 placefeature 命令。它还为实验数据包引入了自定义洞穴生成,以及为世界添加新的自定义结构的功能。
Additionally, this version contains compliance updates for South Korean players.
此外,该版本还包含针对韩国玩家的合规性更新。
Enjoy!
享受游戏吧!

Changes in 1.18.2
1.18.2 的修改内容

  • 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位环境即将结束支持的警告。
  • If you’re playing in South Korea, we added gameplay timers and notices in compliance with gaming laws to help remind players to take occasional breaks from gameplay
  • 如果你在韩国游玩,我们根据游戏相关法律法规增加了游戏内计时与提示,以帮助提醒玩家在游戏时偶尔休息一下。
  • A seed of the number zero is no longer handled as a special case
  • 数字为0的种子不再作为一种特殊情况处理。
  • Any spaces before/after an inputted seed will now be trimmed
  • 任何出现在种子前后的空格现在均会被忽略。
  • Dolphins will now more accurately pick the closest structure regardless of type
  • 海豚现在会更准确地选择最近的结构,而不考虑其类型。
  • Ender chests are no longer gift wrapped around Christmas
  • 末影箱现在在圣诞节期间不再以礼物盒的形式出现。

Technical Changes in 1.18.2
1.18.2 的技术性修改

  • Added command: placefeature
  • 增加命令 placefeature
  • The locate command now uses a namespaced id parameter
  • locate 命令现在使用一个拥有命名空间的id参数。
  • The locate command 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
  • locate and locatebiome commands now support tags (prefix with # to distinguish from normal ids)
  • locate 以及 locatebiome 命令现在支持标签。 (以 ##为前缀,以区别于正常的ID)
  • It is now possible to add custom structures in experimental datapacks
  • 现在可以在实验性数据包中添加自定义结构了。
  • A lot of the cave generation is now configurable through experimental datapacks
  • 现在很多的洞穴生成可以通过数据包进行配置。
  • Any type present in registries (blocks, items, biomes, etc.) can now have tags
  • 任何注册表中存在的类型(方块、物品、生物群系等等)现在可以拥有标签。
  • The datapack version is now 9
  • 数据包的版本现在为9。

placefeature Command
placefeature 命令

New command that places a configured feature at a given location. Syntax: placefeature <id> [pos]
Parameters:

新的命令,用于在指定的地点放置一个配置好的地物。句法规则: placefeature <id> [pos]
参数:

  • id: The namespaced id of a configured feature to place
  • id: 要放置的配置地物的命名ID
  • pos: The position to use as the origin for the feature placement (if omitted, ~ ~ ~ is used)
  • pos: 用来作为地物放置的原点的位置(如果省略,则使用~ ~ ~)。

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战利品表函数不再自动设置地图的显示名称。

Universal tags
通用标签

  • Tags can now be defined for any registry (blocks, items, biomes, etc. – see registries.json in report)
  • 现在可以为任何被注册的 (方块,物品,生物群系,等等。- 看看报告里的registries.json吧!)
  • New tags are stored in datapacks under tags directory (same as old ones)

    • Names of new tag directories are the same as registry names (so /data/[namespace]/tags/potion and /data/[namespace]/tags/worldgen/biome)
    • Existing tags (blocksitemsfluidsentity_typesgame_events and functions) keep their name (for now)
  • 新的标签将被存储在数据包的 tags 目录。 (和旧的一样)
    • 新标签的存储目录名与他们的注册名一样。 (就像 /data/[namespace]/tags/potion 和 /data/[namespace]/tags/worldgen/biome)
    • 已存在的标签 (blocksitemsfluidsentity_typesgame_events 以及 functions) 将保持他们的名称。 (至少现在是)
  • Some fields in worldgen structures that previously accepted only lists of element ids now accept tags

    • Those entries now accept [id, …]id (shortcut for [id]) and #tag
    • Changed fields are:

      • feature.glow_lichen configuration: can_be_placed_on
      • feature.glow_lichen configuration: can_be_placed_on
      • feature.spring_feature configuration: valid_blocks
      • feature.spring_feature configuration: valid_blocks
      • feature.simple_random_selector configuration: features
      • feature.simple_random_selector configuration: features
      • block_predicate_type.matching_blocksblocks
      • block_predicate_type.matching_blocksblocks
      • block_predicate_type.matching_fluidsfluids
      • block_predicate_type.matching_fluidsfluids
      • biome: inner list in features, map value in carvers
      • biome: inner list in features, map value in carvers
      • biome_source.checkerboardbiomes
      • biome_source.checkerboardbiomes
  • worldgen结构中以前只列出元素ID的一些字段现在可以被打上标签。
    • 这些条目现在接受 [id,…]id ([id]的快捷方式) 以及 #tag
    • 被修改的字段包括:
      • feature.glow_lichen 的配置: can_be_placed_on
      • feature.spring_feature 的配置: valid_blocks
      • feature.simple_random_selector 的配置: features
      • block_predicate_type.matching_blocksblocks
      • block_predicate_type.matching_fluidsfluids
      • biomefeatures的内部列表,carvers的映射值
      • biome_source.checkerboardbiomes
  • Some tag fields now require id to be prepended with # (however they are not yet accepting element list)

    • dimension_typeinfiniburn
    • dimension_typeinfiniburn
    • feature.geode configration: blocks.cannot_replaceblocks.invalid_blocks
    • feature.geode configration: blocks.cannot_replaceblocks.invalid_blocks
    • feature.vegetat ion_patch, feature.waterlogged_vegetation_patch configuration: replaceable
    • feature.vegetat ion_patch, feature.waterlogged_vegetation_patch configuration: replaceable
    • feature.root_system configuration: root_replaceable
    • feature.root_system configuration: root_replaceable
    • structure_processor.protected_blocksvalue
    • structure_processor.protected_blocksvalue
  • 一些标记字段现在要求id前面加上#(但是它们还不接受元素列表)
    • dimension_typeinfiniburn
    • feature.geode 的配置: blocks.cannot_replaceblocks.invalid_blocks
    • feature.vegetation_patchfeature.waterlogged_vegetation_patch 的配置: replaceable
    • feature.root_system 的配置:root_replaceable
    • structure_processor.protected_blocksvalue

    Fixed bugs in 1.18.2
    1.18.2 修复的漏洞

    除了崩溃和其他稳定性改进外,在这个版本中还修复了约100个玩家报告的错误。在漏洞追踪器上查看该列表。

来源:ArmorRush



已有 0 条评论