version-image-link: https://image.bugjump.net/news/version/26.1/26.1.jpeg server-jar: https://piston-data.mojang.com/v1/objects/3872a7f07a1a595e651aef8b058dfc2bb3772f46/server.jar translator: null cats: ['26.1']
无论你准备与否,小鬼当家更新已经来了!全新版本的幼年生物席卷了整个 Minecraft,在各个生物群系和建筑中掀起一股可爱风暴。竖起耳朵倾听萌翻天的新音效,为你的宠物合成命名牌,用金蒲公英让小宝宝们永远保持幼年模样。孩子们已经正式出笼——准备好去收集、爱抚,并让这些小捣蛋鬼在你的世界里制造一点混乱吧!
royalmini 和 bigmoodypickyclassicUpgrade and Play(升级并打开世界),而不是 Play Selected World(进入选中的世界);在世界升级完成之前,Edit World(编辑世界)与 Re-Create World(重建世界)按钮将被禁用
false (即非独占模式)looking_at_block 与 looking_at_fluid 调试选项不再显示标签looking_at_block_tagslooking_at_fluid_tagslooking_at_entity_tagssound_cachelooking_at_block -> looking_at_block_statelooking_at_fluid -> looking_at_fluid_stateday_count 调试选项从 local_difficulty 中拆分出来detailed_memory,提供有关已用内存的更多信息F3 + 4 启用新的光照贴图调试渲染器F3 + 4 启用Ctrl + 选取方块 输入,现在会显示与对该实体执行 /fetchprofile 命令相同的结果[!DEVNOTE] 为了使游戏更加流畅并减少卡顿,将默认内存分配从 2GB 提升到了 4GB。除此之外,现在还使用了下一时代的 ZGC,应该会使你的帧率更稳定,尤其是在进行比较吃内存的任务时。如果你需要在内存小于 4GB 的机器上运行 Minecraft,请参阅这个帮助文章。如果你想要更改垃圾回收器,请参阅这个帮助文章。第三方启动器可能不支持这些更改。
[!TRANSLATORNOTE] 最新版 PCL 可以选择游戏使用的垃圾回收器,默认会选择 G1GC。因为根据实际测试,ZGC 虽然在垃圾回收时造成的卡顿会有所减少,但其会占用更多的内存,而相比之下 G1GC 的内存占用会小很多,你可以按照自己的需求使用。
[!DEVNOTE] 如果你遇到任何视觉 Bug、性能下降或崩溃,请在我们的 漏洞追踪网站 上向我们报告。
村民与流浪商人提供的交易现在为数据驱动,数据包开发者可以进行自定义
villager_trade 文件夹,表示用于由村民与流浪商人生成实际交易的“交易蓝图”wants:对象,代表完成交易所需的一种物品类型与数量id:物品 IDcount:可选,数字提供器,表示所需物品数量
1components:可选,组件映射,表示该物品所需的数据组件
additional_wants:可选对象,代表商家要求的额外物品,格式与 wants 相同gives:物品堆叠,代表交易完成后商家给予的物品given_item_modifiers:可选的物品修饰器列表,用于对 gives 中的物品应用如附魔或药水等修改,从而为交易增加动态性而非硬编码固定值stored_enchantment 组件,且其中包含 #double_trade_price 标签内的任一附魔,则 wants 的数量会加倍max_uses:可选,数字提供器,表示一条交易可使用的最大次数14reputation_discount:数字提供器,表示需求、折扣与惩罚等因素对 wants 成本的影响幅度0.00.0xp:可选,数字提供器,表示交易完成时商家获得的经验值01merchant_predicate:谓词,表示该交易被提供所需满足的商家条件double_trade_price_enchantments:可选,附魔 ID、命名空间的附魔 ID 列表或带井号的附魔标签。若物品带有其中任一附魔,且 minecraft:enchant_randomly 或 minecraft:enchant_with_levels 的 include_additional_cost_component 为 true,则会加倍附加成本;且物品的 minecraft:stored_enchantments 组件中包含所提供的值之一示例:仅沙漠村民提供的“绿宝石 + 书 -> 附魔书”交易
{
"additional_wants": {
"id": "minecraft:book"
},
"double_trade_price_enchantments": "#minecraft:double_trade_price",
"given_item_modifiers": [
{
"function": "minecraft:enchant_randomly",
"include_additional_cost_component": true,
"only_compatible": false,
"options": "#minecraft:trades/desert_common"
},
{
"function": "minecraft:filtered",
"item_filter": {
"items": "minecraft:enchanted_book",
"predicates": {
"minecraft:stored_enchantments": [
{}
]
}
},
"on_fail": {
"function": "minecraft:discard"
}
}
],
"gives": {
"count": 1,
"id": "minecraft:enchanted_book"
},
"max_uses": 12.0,
"merchant_predicate": {
"condition": "minecraft:entity_properties",
"entity": "this",
"predicate": {
"predicates": {
"minecraft:villager/variant": "minecraft:desert"
}
}
},
"reputation_discount": 0.2,
"wants": {
"id": "minecraft:emerald"
}
}
trade_set 文件夹,表示村民与流浪商人提供的一组交易<profession>/level_<level>,流浪商人为 wandering_trader/buying、wandering_trader/special、wandering_trader/commontrades:一个村民交易 ID、命名空间交易 ID 列表或带井号的村民交易标签,表示该集合包含的交易amount:数字提供器,表示使用该集合时要生成的交易数量trades 数量,则最多生成到所有 trades 各使用一次,除非 allow_duplicates 为 trueallow_duplicates:布尔值,表示此集合是否允许重复使用同一村民交易来生成多个交易falserandom_sequence:可选的命名随机序列,用来决定会生成哪些交易示例:从 #minecraft:armorer/level_1 标签中提供 2 条交易,允许重复:
{
"amount": 2.0,
"trades": "#minecraft:armorer/level_1",
"random_sequence": "minecraft:trade_set/armorer/level_1",
"allow_duplicates": true
}
clock 字段:世界时钟 ID,指定该时间线绑定的世界时钟
minecraft:overworld 时钟time_markers 字段:一个映射,键为命名空间的时间标记 ID,值为整数或“时间标记对象”
ticks:0 到 period_ticks 之间的整数,表示该时间标记对应的刻数show_in_commands:可选布尔值,指定该时间标记是否在命令补全中显示false时间标记为特定世界时钟中的某个(可重复的)时间点指定一个名称。时间标记取代了先前 /time set 可用的预定义名称(如 day、night)。
时间标记存在于特定世界时钟的上下文中。这意味着尽管不同的时间标记由不同的时间线定义,但对于某个世界时钟,同一 ID 仅能存在一个时间标记;同时,两个不同的世界时钟可以拥有相同名称的时间标记。
部分时间标记用于驱动原版玩法逻辑。通常它们被配置为不在 /time 命令中显示。
minecraft:wake_up_from_sleep —— 玩家在该维度睡醒后,默认时钟前进到的时间点minecraft:roll_village_siege —— 在到该维度默认时钟的此时间点时,会检定僵尸围城事件是否发生minecraft:visual/block_light_tint方块光的着色。方块光颜色在低光照时从深灰开始,在中等光照时由该属性染色,在高光照时变为白色。默认情况下,它提供火把那种微微偏黄的色调。该属性使用亮色效果最佳,至少一个颜色通道应为全亮。该着色全局应用于屏幕中可见的所有光源,无法分别对单个光源独立着色
#FFD88Cminecraft:visual/ambient_light_color同时定义环境光的色调与亮度。该光照应用于 0 光照等级的世界,方块光与天空光会在其基础上叠加
#0A0A0A,下界 #302821,末地 #3f473fminecraft:visual/night_vision_color与环境光颜色类似使用。当夜视效果生效时,按通道对 minecraft:visual/night_vision_color 与 minecraft:visual/ambient_light_color 取最大值作为环境光颜色。夜视默认不加色调
#999999minecraft:gameplay/turtle_egg_hatch_chance0.002data/<namespace>/cat_sound_variant/<id>.json 中添加条目进行数据驱动adult_sounds 与 baby_soundsambient_soundstray_ambient_soundhiss_soundhurt_sounddeath_soundeat_soundbeg_for_food_soundpurr_soundpurreow_sounddata/<namespace>/pig_sound_variant/<id>.json 中添加条目进行数据驱动adult_sounds 与 baby_soundsambient_soundhurt_sounddeath_soundstep_soundeat_sounddata/<namespace>/cow_sound_variant/<id>.json 中添加条目进行数据驱动ambient_soundhurt_sounddeath_soundstep_sounddata/<namespace>/chicken_sound_variant/<id>.json 中添加条目进行数据驱动adult_sounds 与 baby_soundsambient_soundhurt_sounddeath_soundstep_soundadult_sounds 字段中的新对象里
baby_sounds 字段,其字段集合与 adult_sounds 相同mob.inventory.* 访问
villager.* 以及 piglin.* 已被移除swingswing 会成功,但客户端仅在可能时显示动画语法:/swing <entity selector> <mainhand|offhand>
swing 的更改@smainhandtime 的更改time 命令现基于“世界时钟”运作:
time of <clock> ... 显式指定要操作的时钟/time ... 的旧用法),则使用该维度的默认时钟set 与 add 子命令的返回值(例如用于 /execute store)现在为该时钟的“已流逝总刻数”,而非“当前昼夜时间”语法:
time [of <clock>] set <time> —— 将该时钟的已流逝总刻数设置为指定值time [of <clock>] set <timemarker> —— 将该时钟推进到下一个指定时间标记出现的时刻
minecraft:overworld 时钟,可用的时间标记有:day、noon、night、midnighttime [of <clock>] add <time> —— 为该时钟增加(或减少)刻数,允许负数time [of <clock>] pause —— 暂停该时钟time [of <clock>] resume —— 恢复该时钟time [of <clock>] query <timeline> —— 显示并返回该时间线周期内的当前刻数time [of <clock>] query <timeline> repetitions —— 显示并返回该时间线已重复的次数time [of <clock>] query time —— 显示并返回该时钟的已流逝总刻数time query gametime —— 与以往一致,返回世界层面的已流逝总刻数(不受 /time 修改时钟的影响)time [of <clock>] rate <rate> —— 设置该时钟使用的速率倍率
minecraft:overworld 时钟,更大的值会让昼夜循环过得更快,但实际游戏模拟速度不会提升(不同于 /tick rate)rate 为 1 时表示正常速度rate 是一个介于 0(不含)和 1000(含)之间的浮点数/fetchprofile 的更改entity 子命令,用于输出世界中某个实体的档案信息
/fetchprofile entity <单个实体选择器>timeline_attributes 定义以设置任意数量的时间线timelines: 需要设置的时间线列表clock_time 替代 time_of_dayclock:世界时钟 ID,用于指定设置时间所依据的时钟(替代原有 time 字段)minecraft:additional_trade_costgives 物品所需的 count,在生成交易后即被移除minecraft:dyewhite, orange, magenta, light_blue, yellow, lime, pink, gray, light_gray, cyan, purple, blue, brown, green, red, black 其中之一minecraft:provides_banner_patterns 的更改minecraft:blocks_attacks 的更改bypassed_by 字段现在除了标签外,也接受单个 ID 或 ID 列表minecraft:damage_resistant 的更改types 字段现在除了标签外,也接受单个 ID 或 ID 列表current_explosion_impact_pos 和 current_impulse_context_reset_grace_time 字段添加给了所有生物以及盔甲架ignore_fall_damage_from_current_explosion 字段rotation 属性从 0 更改为 8[!DEVNOTE] 在极少的上下文中默认方块状态才会被使用,最多的用处是在没有任何属性的
/setblock命令中。这项更改是为了让这些方块与其他方块(如头颅和发射器)默认朝向一致。
minecraft:villager_trade 战利品表类型,接收以下参数:
this:提供交易的实体origin:该实体脚下的方块位置minecraft:furnace_smeltuse_input_count(默认:true)
true,则熔炼配方的输出数量会乘上输入物品的数量minecraft:set_random_dyes#dyeable 标签中,则给其 minecraft:dyed_color 数据组件累加添加染料conditions:应用该函数所需的条件number_of_dyes:数字提供器,表示要从 16 种染料中随机应用的数量minecraft:set_random_potionminecraft:potion_contents 数据组件conditions:应用该函数所需的条件options:可选,药水 ID、命名空间药水 ID 列表或带井号的药水标签,表示可选药水集合potions 注册表中的任意药水minecraft:enchant_with_levels现在还接受以下字段:
include_additional_cost_component - 可选布尔值,表示是否基于附魔的成本,为物品添加 minecraft:additional_cost_component
falselevels 数字提供器决定,并与用于确定附魔等级的值一致minecraft:enchant_randomly现在还接受以下字段:
include_additional_cost_component - 可选布尔值,表示是否基于附魔的成本,为物品添加 minecraft:additional_cost_component
falselevels 选中的值决定,或使用通过公式计算的默认值:2 + random(0, 5 + level * 10) + 3 * levelminecraft:set_instrumentoptions 字段现在除了标签外,也接受单个 ID 或 ID 列表minecraft:environment_attribute_check精确匹配给定位置上的某个环境属性值。注意:只要该环境属性会因位置不同而变化,此谓词就要求上下文中设置 origin 位置。
格式:具有以下字段的对象:
attribute - 要检测的环境属性 IDvalue - 要精确匹配的环境属性值{condition: 'environment_attribute_check', attribute: 'gameplay/piglins_zombify', value: true}minecraft:time_checkclock 字段:世界时钟 ID,指定进行时间检查所使用的世界时钟player 子谓词— 新增可选字段:food —— 食物谓词
level:可选整型最小/最大范围,指定所需的饱食度等级saturation:可选浮点最小/最大范围,指定所需的饱和度等级minecraft:sumsummands:数字提供器列表minecraft:environment_attribute获取并提供某个环境属性的值(前提是该值可以表示为数字)。注意:只要该环境属性会因位置不同而变化,此提供器就要求上下文中设置 origin 位置。
格式:具有以下字段的对象:
attribute - 要获取的环境属性 ID{type: 'environment_attribute', attribute: 'gameplay/sky_light_level'}result 字段在所有包含它的配方类型中现在更为一致:
"minecraft:foo",等价于 {"id":"minecraft:foo", "count": 1})smelting、blasting、smoking、campfire_cooking 等配方类型,该字段现在也接受 count注:下方若干配方在描述合成结果时,会使用“转化(transmuting)”这个术语。其过程与当前 minecraft:crafting_transmute 所使用的流程相同,即:
result 字段result 字段中的组件再应用到新堆叠上minecraft:crafting_transmutematerial 原料匹配到的物品新增字段:
material_count —— 整数范围,由 material 原料匹配到的物品数量
[2,8] 的子区间[1,1](即恰好一个物品)add_material_count_to_result —— 布尔值
falsetrue,则包含 material 原料匹配物品的格子数量会被加入到结果堆叠的最终数量中minecraft:crafting_dyeminecraft:crafting_special_armordyetarget 原料匹配的物品上 minecraft:dyed_color 组件的当前值,与由 dye 原料匹配物品上的 minecraft:dye 组件值进行混合target 原料匹配的物品转化为 result 物品堆叠,并应用新的 minecraft:dyed_color 组件值来构建字段:
category - 配方书类别,building、redstone、equipment、misc 之一;默认:miscgroup - 用于在配方书中分组的字符串;默认:空字符串show_notification - 可选布尔值,描述在解锁该配方时是否显示弹窗;默认:truetarget - 原料(此前被硬编码为 #dyeable 标签)dye - 原料(此前被硬编码为染料物品)
minecraft:dye 组件,否则整个配方不匹配result - 结果物品堆叠(此前总是复制 target 原料匹配的物品)minecraft:crafting_imbueminecraft:crafting_special_tippedarrowmaterial 原料环绕的 source 原料source 原料匹配物品上的 minecraft:potion_contents 组件值复制到结果堆叠字段:
category - 配方书类别,building、redstone、equipment、misc 之一;默认:miscgroup - 用于在配方书中分组的字符串;默认:空字符串show_notification - 可选布尔值,描述在解锁该配方时是否显示弹窗;默认:truesource - 原料(此前硬编码为 minecraft:lingering_potion)material - 原料(此前硬编码为 minecraft:arrow)result - 结果物品堆叠(此前硬编码为八个 minecraft:tipped_arrow)minecraft:crafting_special_bannerduplicatecategory 字段banner - 作为源与目标物品使用的原料(过去硬编码为任意旗帜物品)result - 结果物品堆叠(过去总是复制带有非空图案的旗帜)banner 原料匹配的旗帜物品,并将其视为源旗帜result 物品堆叠来构建minecraft:crafting_special_bookcloningcategory 字段source - 作为源书籍的原料minecraft:written_book_contents 组件,否则整个配方不匹配material - 目标被克隆的物品的原料(过去硬编码为 #book_cloning_target 标签)allowed_generations - 整数范围,描述 material 原料匹配物品上 minecraft:written_book_contents 组件的 generation 字段允许的值[0,2] 的子区间[0,1](即接受原版和第一代副本,不接受副本的副本)result - 结果物品堆叠(过去总是复制 source 原料匹配的物品)source 原料匹配物品上 minecraft:written_book_contents 组件的值minecraft:written_book_contents 的 generation 字段将加一generation 值为 2 或更高,配方将不会产生结果source 原料匹配的物品转化为 result 物品堆叠,并应用新的 minecraft:written_book_contents 组件值来构建material 原料匹配的物品数量将被加入到结果堆叠大小source 原料匹配物品会保留在工作台中minecraft:crafting_decorated_potcategory 字段back、left、right、front —— 原料(此前被硬编码为 #decorated_pot_ingredients)result —— 结果物品堆叠(此前被硬编码为单个 minecraft:decorated_pot)minecraft:pot_decorations 组件相应字段中minecraft:crafting_special_firework_rocketcategory 字段shell - 原料(此前硬编码为 minecraft:paper)fuel - 原料(此前硬编码为 minecraft:gunpowder)star - 原料(此前硬编码为 minecraft:firework_star)result - 结果物品堆叠(此前硬编码为三个 minecraft:firework_rocket)shell 原料匹配的堆叠fuel 原料匹配的堆叠数量将控制 flight_duration 字段explosions 字段将从 star 原料物品的 minecraft:firework_explosion 组件中复制(若存在)minecraft:crafting_special_firework_star_fadecategory 字段minecraft:dye 组件,而不是对染料物品进行硬编码映射target - 原料(此前硬编码为 minecraft:firework_star)dye - 原料(此前硬编码为染料物品)minecraft:dye 组件,否则整个配方不匹配result - 结果物品堆叠(此前总是复制 target 原料匹配的物品)target 原料匹配物品上 minecraft:firework_explosion 组件的当前值minecraft:dye 组件的 fade_colors 字段将被设置为所有 dye 原料匹配物品中对应字段的值target 原料匹配的物品转化为 result 物品堆叠,并应用新的 minecraft:firework_explosion 组件值来构建minecraft:crafting_special_firework_starcategory 字段trail - 原料(过去硬编码为 minecraft:diamond)twinkle - 原料(过去硬编码为 minecraft:glowstone_dust)fuel - 原料(过去硬编码为 minecraft:gunpowder)dye - 原料(过去硬编码为染料物品)minecraft:dye 组件,否则整个配方不匹配shapes - 形状到原料的映射minecraft:firework_explosion 组件中 shape 字段的取值相同(即 small_ball、large_ball、star、creeper、burst)minecraft:fire_charge(现为 large_ball)、minecraft:feather(现为 burst)、minecraft:gold_nugget(现为 star)、任意头颅(现为 creeper)result - 结果物品堆叠(过去硬编码为三个 minecraft:firework_star)minecraft:dye 组件,而不是对染料物品进行硬编码映射fuel 原料匹配的堆叠result 字段,同时根据以下规则构建 minecraft:firework_explosion 组件内容:dye 原料匹配物品上的 minecraft:dye 组件值将被加入到 colors 字段trail 原料匹配的物品,则 has_trail 字段设为 truetwinkle 原料匹配的物品,则 has_twinkle 字段设为 trueshape 字段将由任何一个在 shapes 字段中匹配到的原料决定(若均不存在则为 small_ball)minecraft:crafting_special_mapextendingcategory 字段map - 原料(此前硬编码为带有 minecraft:map_id 组件的 minecraft:filled_map)minecraft:map_id 组件,否则整个配方不匹配material - 原料(此前硬编码为 minecraft:paper)result - 结果物品堆叠(此前总是复制 map 原料匹配的物品)minecraft:map_id 组件的 map 原料匹配物品result 物品堆叠来构建minecraft:map_post_processing 组件会被设置在结果物品上minecraft:crafting_special_shielddecorationcategory 字段banner - 原料(此前硬编码为任意旗帜物品)target - 原料(此前硬编码为 minecraft:shield)minecraft:banner_patterns 组件必须不存在或为空,否则整个配方不匹配result - 结果物品堆叠(此前总是复制 target 原料匹配的物品)target 原料匹配物品的副本应用如下更改:target 原料匹配的物品转化为 result 物品堆叠来构建,然后:banner 原料匹配物品复制 minecraft:banner_patterns 组件banner 原料匹配物品的类型设置 minecraft:base_color 组件post_piercing_attack 组件不再要求玩家具有某一特定饱食度时才生效fallback 改为可选并允许为空
disk 特征中的 state_providerforest_rock 特征重命名为 block_blobblock_blob 特征配置现支持以下参数:
state:岩石所用的方块can_place_on:定义岩石可放置于哪些方块之上的方块谓词ice_spike 特征重命名为 spikespike 特征配置现支持以下参数:
state:尖(冰)刺所用的方块can_place_on:定义尖刺可放置于哪些方块之上的方块谓词can_replace:定义尖刺可替换哪些方块的方块谓词huge_red_mushroom 与 huge_brown_mushroom 特征配置新增参数:
can_place_on:定义巨型蘑菇可放置于哪些方块之上的方块谓词alter_ground 树木装饰器配置更改:provider 现为基于规则的方块状态提供器tree 特征配置用单个 below_trunk_provider 基于规则的方块状态提供器取代了 force_dirt 与 dirt_provider 参数:
fallback:可选的方块状态提供器rules:规则列表
if_true:在提供方块之前检查方块位置的方块谓词then:方块状态提供器默认值:
"below_trunk_provider": {
"rules": [
{
"if_true": {
"type": "minecraft:not",
"predicate": {
"type": "minecraft:matching_block_tag",
"tag": "minecraft:cannot_replace_below_tree_trunk"
}
},
"then": {
"type": "minecraft:simple_state_provider",
"state": {
"Name": "minecraft:dirt"
}
}
}
]
}
先前使用 force_dirt 的所有树木现在拥有一个始终提供 dirt 方块的 below_trunk_provider
flower 地物类型,而是改由配置地物标签 #can_spawn_from_bone_meal 控制flower、flower_no_bonemeal 与 random_patch 地物类型已被移除
count 与 random_offset 放置修饰器来表示这类簇状分布新增梯形整数提供器,可按梯形分布随机选取一个值,类似于 trapezoid 浮点数提供器。
格式:带有以下字段的对象:
min —— 整数,要生成的最小值max —— 整数,要生成的最大值plateau —— 整数,分布中“平台”部分的宽度,在该范围内所有值出现的概率相同
0 等价于三角分布max-min 等价于均匀分布default_clock:可选,世界时钟 IDtime 命令的默认时钟
time 命令将需要显式提供时钟参数minecraft:wake_up_from_sleep 与 minecraft:roll_village_siege 时间标记所作用的时钟
has_ender_dragon_fight:布尔值#<profession>/level_<level>,最高 5 级#common_smith/level_<level> 标签,代表盔甲匠、武器匠与工具匠的通用交易,最高 5 级#wandering_trader/buying、#wandering_trader/special、#wandering_trader/common#supports_vegetation:为以下方块提供支撑能力:#supports_crops:在所有生长阶段为以下农作物提供支撑:#supports_stem_crops#supports_pumpkin_stem#supports_melon_stem#supports_sugar_cane#supports_sugar_cane_adjacently#supports_cactus#supports_chorus_plant#supports_chorus_flower#supports_nether_sprouts#supports_azalea#supports_warped_fungus#supports_crimson_fungus#supports_mangrove_propagule#supports_hanging_mangrove_propagule#supports_nether_wart#supports_warped_roots#supports_crimson_roots#supports_wither_rose#supports_cocoa#supports_lily_pad#supports_frogspawn#support_override_cactus_flower#cannot_support_seagrass#cannot_support_kelp#dry_vegetation_may_place_on -> #supports_dry_vegetation#bamboo_plantable_on -> #supports_bamboo#small_dripleaf_placeable -> #supports_small_dripleaf#big_dripleaf_placeable -> #supports_big_dripleaf#mushroom_grow_block -> #overrides_mushroom_light_requirement#snow_layer_can_survive_on -> #support_override_snow_layer#snow_layer_cannot_survive_on -> #cannot_support_snow_layer#grows_crops,用于定义可使以下农作物在其上方生长的地面方块:
#enables_bubble_column_drag_down#enables_bubble_column_push_up#dirt 拆分为多个方块标签:
#dirt 现仅包含泥土、粗泥土与缠根泥土#mud 包含泥与红树林泥根#moss_blocks 包含苔藓方块与苍白苔藓方块#grass_blocks 包含草方块、菌丝与灰化土#substrate_overworld,其包含 #dirt、#mud、#moss_blocks 与 #grass_blocks
#beneath_tree_podzol_replaceable#beneath_bamboo_podzol_replaceable#cannot_replace_below_tree_trunk,其包含 #dirt、#mud、#moss_blocks 与 podzol#forest_rock_can_place_on#huge_brown_mushroom_can_place_on#huge_red_mushroom_can_place_on#ice_spike_replaceable,定义冰刺特征可替换的方块#prevents_nearby_leaf_decay 用于定义在曼哈顿距离 6 格内阻止树叶方块腐烂的方块#supports_lily_pad#supports_frogspawn#supports_sugar_cane_adjacently
#bubble_columns_can_occupy 流体标签,用于定义气泡柱可以占据哪些流体,默认包含 water#metal_nuggets —— 铜粒、铁粒以及金粒#dyes —— 包含原版所有染料的辅助标签#loom_dyes —— 允许在织布机界面中用于设置图案颜色的物品
minecraft:dye 组件#loom_patterns —— 允许在织布机界面中用于解锁图案的物品
minecraft:provides_banner_patterns 组件#cat_collar_dyes —— 可用于给驯服的猫项圈染色的物品
minecraft:dye 组件#wolf_collar_dyes —— 可用于给驯服的狼项圈染色的物品
minecraft:dye 组件#cauldron_can_remove_dye —— 可用于在装满水的炼药锅中移除物品上 minecraft:dyed_color 组件的物品#dyeable 标签#mud#moss_blocks#grass_blocks#cannot_be_age_locked —— 定义哪些可成长的幼年生物无法通过金蒲公英停止成长trades/desert_specialtrades/jungle_specialtrades/plains_specialtrades/savanna_specialtrades/snow_specialtrades/swamp_specialtrades/taiga_special#tradeable —— 所有可出现在村民交易中的药水效果#can_spawn_from_bone_meal —— 当某个特征被加入到生物群系中时,可在该生物群系中使用骨粉生成的地物pause_mob_growth —— 使用金蒲公英停止幼年生物成长时展示的粒子reset_mob_growth —— 使用金蒲公英恢复幼年生物成长时展示的粒子minecraft:selectorselector 字段不再接受选择器之后的多余数据minecraft:nbtinterpret 字段被设为 false 时,由 minecraft:nbt 文本组件解析到的标签现在会以更易读的格式输出,而不再被压扁为单一的 text 组件nbt 与 block 字段的内容不再被静默丢弃entity 字段不再接受选择器之后的多余数据plain 选项,用于移除美化输出文本上的样式
plain 与 interpret 选项不能同时启用minecraft:objectfallback 的可选字段,其中包含一个文本组件,当对象组件本身无法显示时使用(例如在服务器日志中打印消息或进行旁白时)player 类型的对象(玩家头颅)现在不能再用于服务器状态消息(Motd)中
lightmap.fsh 着色器进行了大量修改:
LightmapInfo uniform 新增两个字段:BlockLightTintNightVisionColorAmbientLightFactor 字段,其值现已预乘进 AmbientColorDarkenWorldFactor 更名为 BossOverlayWorldDarkeningFactorcurrent_explosion_impact_pos 和 current_impulse_context_reset_grace_time 字段添加给了所有生物以及盔甲架ignore_fall_damage_from_current_explosion 字段#metal_nuggets - 铜、铁以及金粒entity/cat/cat_all_black_baby.pngentity/cat/cat_black_baby.pngentity/cat/cat_british_shorthair_baby.pngentity/cat/cat_calico_baby.pngentity/cat/cat_collar_baby.pngentity/cat/cat_jellie_baby.pngentity/cat/ocelot_baby.pngentity/cat/cat_persian_baby.pngentity/cat/cat_ragdoll_baby.pngentity/cat/cat_red_baby.pngentity/cat/cat_siamese_baby.pngentity/cat/cat_tabby_baby.pngentity/cat/cat_white_baby.pngentity/chicken/chicken_cold_baby.pngentity/chicken/chicken_temperate_baby.pngentity/chicken/chicken_warm_baby.pngentity/cow/cow_cold_baby.pngentity/cow/cow_temperate_baby.pngentity/cow/cow_warm_baby.pngentity/cow/mooshroom_brown_baby.pngentity/cow/mooshroom_red_baby.pngentity/horse/donkey_baby.pngentity/horse/horse_black_baby.pngentity/horse/horse_brown_baby.pngentity/horse/horse_chestnut_baby.pngentity/horse/horse_creamy_baby.pngentity/horse/horse_darkbrown_baby.pngentity/horse/horse_gray_baby.pngentity/horse/horse_blackdots_baby.pngentity/horse/horse_markings_white_baby.pngentity/horse/horse_markings_whitedots_baby.pngentity/horse/horse_markings_whitefield_baby.pngentity/horse/horse_skeleton_baby.pngentity/horse/horse_white_baby.pngentity/horse/horse_zombie_baby.pngentity/horse/mule_baby.png增加了新的实体纹理:
entity/horse/donkey_baby.pngentity/horse/horse_black_baby.pngentity/horse/horse_brown_baby.pngentity/horse/horse_chestnut_baby.pngentity/horse/horse_creamy_baby.pngentity/horse/horse_darkbrown_baby.pngentity/horse/horse_gray_baby.pngentity/horse/horse_blackdots_baby.pngentity/horse/horse_markings_white_baby.pngentity/horse/horse_markings_whitedots_baby.pngentity/horse/horse_markings_whitefield_baby.pngentity/horse/horse_skeleton_baby.pngentity/horse/horse_white_baby.pngentity/horse/horse_zombie_baby.pngentity/horse/mule_baby.png为马增加了下列音效事件
entity.baby_horse.ambiententity.baby_horse.hurtentity.baby_horse.deathentity.baby_horse.angryentity.baby_horse.eatentity.baby_horse.fallentity.baby_horse.landentity.baby_horse.stepentity.baby_horse.breathedemo_background.png,改用 popup/background.png 精灵图block/golden_dandelion.pngentity.baby_chicken.ambiententity.baby_chicken.hurtentity.baby_chicken.deathitem.golden_dandelion.useitem.golden_dandelion.unuseentity/bee/bee_baby.pngentity/bee/bee_baby.pngentity/bee/bee_angry_baby.pngentity/bee/bee_nectar_baby.pngentity/bee/bee_angry_nectar_baby.pngentity/fox/fox_baby.pngentity/fox/fox_snow_baby.pngentity/fox/fox_sleep_baby.pngentity/fox/fox_snow_sleep_baby.pngentity/camel/camel_baby.pngentity/goat/goat_baby.pngentity/armadillo/armadillo_baby.pngentity/bear/polarbear_baby.pngentity/llama/llama_creamy_baby.pngentity/llama/llama_white_baby.pngentity/llama/llama_brown_baby.pngentity/llama/llama_gray_baby.pngentity/equipment/llama_body/trader_llama_baby.pngcore/rendertype_item_entity_translucent_cull 着色器已移除,改用 core/entitycore/rendertype_entity_alpha 与 core/rendertype_entity_decal 着色器已被 core/entity 中实现的 DISSOLVE 标志取代core/entity 分离到新的 core/item 着色器pause_mob_growth - 使用金蒲公英停止幼年生物成长时展示的粒子增加了 reset_mob_growth - 使用金蒲公英恢复幼年生物成长时展示的粒子
更新了有着更小的头的幼年僵尸、幼年尸壳以及幼年溺尸的纹理
增加了 #prevents_nearby_leaf_decay 用于定义在曼哈顿距离 6 格内阻止树叶方块腐烂的方块
物品模型格式现在支持对独立的子模型进行变形
entity.baby_pig.eatentity.pig_mini.eatentity.pig_big.eatentity.pig.eatminecraft:model、minecraft:special、minecraft:range_dispatch、minecraft:composite、minecraft:select、minecraft:condition 物品模型类型现在有 transformation 字段
minecraft:display 实体上的 transformation 字段相同的格式,即一个由 16 个数组成的数组,代表一个分解了的平移、缩放与旋转信息的矩阵或结构minecraft:range_dispatch、minecraft:composite、minecraft:select、minecraft:condition)、变形会和子元素的变形一起组合,除了 minecraft:bundle/selected_itemdisplay 片段)后生效minecraft:special 的物品模型)的变形会提取到物品模型本身
minecraft:bedminecraft:bannerminecraft:conduitminecraft:copper_colem_statueminecraft:headminecraft:player_headminecraft:shulker_boxminecraft:shieldminecraft:tridentminecraft:standing_signminecraft:hanging_signminecraft:bell 特殊模型类型minecraft:book 特殊模型类型open_angle - 在书皮和书脊之间以度数计的角度值(0 为关闭, 90 为平铺)page1, page2 - 书中两页的位置0.0 表示页面在最左侧,1.0表示页面在最右侧minecraft:bed 特殊模型类型minecraft:composite 模型part - head、foot 的其中之一minecraft:banner 特殊模型类型attachment - 选择一个要被使用的模型,wall、 ground 的其中之一,默认值: groundminecraft:chest 特殊模型类型chest_type - 选择一个要被使用的模型,single、 left、 right 的其中之一,默认值: singleminecraft:hanging_sign 特殊模型类型attachment - 选择一个要被使用的模型,one of wall、 ceiling、 ceiling_middle 的其中之一,默认值: ceiling_middleminecraft:standing_sign 特殊模型类型attachment - 选择一个要被使用的模型,wall、 ground 的其中之一,默认值: groundminecraft:shulker_box 特殊模型类型orientation 字段minecraft:end_cube 特殊模型类型effect - 要应用的纹理效果,可选值为:portal、gatewaycore/rendertype_translucent_moving_block 着色器已被移除,改用 core/block
entity/horse/horse_darkbrown_baby.pngentity/horse/horse_gray_baby.pngentity/horse/horse_blackdots_baby.pngentity/horse/horse_markings_white_baby.pngentity/horse/horse_markings_whitedots_baby.pngentity/horse/horse_markings_whitefield_baby.pngentity/horse/horse_skeleton_baby.pngentity/horse/horse_white_baby.pngentity/horse/horse_zombie_baby.pngentity/horse/mule_baby.pngentity/pig/pig_cold_baby.pngentity/pig/pig_temperate_baby.pngentity/pig/pig_warm_baby.pngentity/rabbit/rabbit_black.pngentity/rabbit/rabbit_brown.pngentity/rabbit/rabbit_caerbannog.pngentity/rabbit/rabbit_gold.pngentity/rabbit/rabbit_salt.pngentity/rabbit/rabbit_toast.pngentity/rabbit/rabbit_white.pngentity/rabbit/rabbit_white_splotched.pngentity/sheep/sheep_baby.pngentity/sheep/sheep_wool_baby.pngentity/wolf/wolf_angry_baby.pngentity/wolf/wolf_ashen_angry_baby.pngentity/wolf/wolf_ashen_baby.pngentity/wolf/wolf_ashen_tame_baby.pngentity/wolf/wolf_baby.pngentity/wolf/wolf_black_angry_baby.pngentity/wolf/wolf_black_baby.pngentity/wolf/wolf_black_tame_baby.pngentity/wolf/wolf_chestnut_angry_baby.pngentity/wolf/wolf_chestnut_baby.pngentity/wolf/wolf_chestnut_tame_baby.pngentity/wolf/wolf_collar_baby.pngentity/wolf/wolf_rusty_angry_baby.pngentity/wolf/wolf_rusty_baby.pngentity/wolf/wolf_rusty_tame_baby.pngentity/wolf/wolf_snowy_angry_baby.pngentity/wolf/wolf_snowy_baby.pngentity/wolf/wolf_snowy_tame_baby.pngentity/wolf/wolf_spotted_angry_baby.pngentity/wolf/wolf_spotted_baby.pngentity/wolf/wolf_spotted_tame_baby.pngentity/wolf/wolf_striped_angry_baby.pngentity/wolf/wolf_striped_baby.pngentity/wolf/wolf_striped_tame_baby.pngentity/wolf/wolf_tame_baby.pngentity/wolf/wolf_woods_angry_baby.pngentity/wolf/wolf_woods_baby.pngentity/wolf/wolf_woods_tame_baby.pngentity/bee/bee_baby.pngentity/bee/bee_angry_baby.pngentity/bee/bee_nectar_baby.pngentity/bee/bee_angry_nectar_baby.pngentity/fox/fox_baby.pngentity/fox/fox_snow_baby.pngentity/fox/fox_sleep_baby.pngentity/fox/fox_snow_sleep_baby.pngentity/camel/camel_baby.pngentity/goat/goat_baby.pngentity/armadillo/armadillo_baby.pngentity/bear/polarbear_baby.pngentity/llama/llama_creamy_baby.pngentity/llama/llama_white_baby.pngentity/llama/llama_brown_baby.pngentity/llama/llama_gray_baby.pngentity/equipment/llama_body/trader_llama_baby.pngentity/villager/villager_baby.pngentity/villager/baby/desert.pngentity/villager/baby/jungle.pngentity/villager/baby/plains.pngentity/villager/baby/savanna.pngentity/villager/baby/snow.pngentity/villager/baby/swamp.pngentity/villager/baby/taiga.pngentity/zombie/drowned_baby.pngentity/zombie/drowned_outer_layer_baby.pngentity/zombie/husk_baby.pngentity/zombie/zombie_baby.pngentity/zombie_villager/zombie_villager_baby.pngentity/zombie_villager/baby/desert.pngentity/zombie_villager/baby/jungle.pngentity/zombie_villager/baby/plains.pngentity/zombie_villager/baby/savanna.pngentity/zombie_villager/baby/snow.pngentity/zombie_villager/baby/swamp.pngentity/zombie_villager/baby/taiga.pngentity/piglin/piglin_baby.pngentity/piglin/zombiefied_piglin_baby.pngentity/equipment/humanoid_baby/chainmail.pngentity/equipment/humanoid_baby/copper.pngentity/equipment/humanoid_baby/diamond.pngentity/equipment/humanoid_baby/gold.pngentity/equipment/humanoid_baby/iron.pngentity/equipment/humanoid_baby/leather_overlay.pngentity/equipment/humanoid_baby/leather.pngentity/equipment/humanoid_baby/netherite.pngentity/equipment/humanoid_baby/turtle_scute.pngentity/hoglin/hoglin_baby.pngentity/hoglin/zoglin_baby.pngentity/strider/strider_baby.pngentity/strider/strider_cold_baby.pngentity/sniffer/snifflet.pngentity/panda/aggressive_panda_baby.pngentity/panda/brown_panda_baby.pngentity/panda/lazy_panda_baby.pngentity/panda/playful_panda_baby.pngentity/panda/weak_panda_baby.pngentity/panda/worried_panda_baby.pngentity/panda/panda_baby.pngentity/armorstand/wood.png -> entity/armorstand/armorstand.pngentity/cat/all_black.png -> entity/cat/cat_all_black.pngentity/cat/black.png -> entity/cat/cat_black.pngentity/cat/british_shorthair.png -> entity/cat/cat_british_shorthair.pngentity/cat/calico.png -> entity/cat/cat_calico.pngentity/cat/jellie.png -> entity/cat/cat_jellie.pngentity/cat/persian.png -> entity/cat/cat_persian.pngentity/cat/ragdoll.png -> entity/cat/cat_ragdoll.pngentity/cat/red.png -> entity/cat/cat_red.pngentity/cat/siamese.png -> entity/cat/cat_siamese.pngentity/cat/tabby.png -> entity/cat/cat_tabby.pngentity/cat/white.png -> entity/cat/cat_white.pngentity/chicken/cold_chicken.png -> entity/chicken/chicken_cold.pngentity/chicken/temperate_chicken.png -> entity/chicken/chicken_temperate.pngentity/chicken/warm_chicken.png -> entity/chicken/chicken_warm.pngentity/copper_golem/exposed_copper_golem.png -> entity/copper_golem/copper_golem_exposed.pngentity/copper_golem/exposed_copper_golem_eyes.png -> entity/copper_golem/copper_golem_eyes_exposed.pngentity/copper_golem/oxidized_copper_golem_eyes.png -> entity/copper_golem/copper_golem_eyes_oxidized.pngentity/copper_golem/weathered_copper_golem_eyes.png -> entity/copper_golem/copper_golem_eyes_weathered.pngentity/copper_golem/oxidized_copper_golem.png -> entity/copper_golem/copper_golem_oxidized.pngentity/copper_golem/weathered_copper_golem.png -> entity/copper_golem/copper_golem_weathered.pngentity/cow/cold_cow.png -> entity/cow/cow_cold.pngentity/cow/temperate_cow.png -> entity/cow/cow_temperate.pngentity/cow/warm_cow.png -> entity/cow/cow_warm.pngentity/cow/brown_mooshroom.png -> entity/cow/mooshroom_brown.pngentity/cow/red_mooshroom.png -> entity/cow/mooshroom_red.pngentity/fox/snow_fox.png -> entity/fox/fox_snow.pngentity/fox/snow_fox_sleep.png -> entity/fox/fox_snow_sleep.pngentity/frog/cold_frog.png -> entity/frog/frog_cold.pngentity/frog/temperate_frog.png -> entity/frog/frog_temperate.pngentity/frog/warm_frog.png -> entity/frog/frog_warm.pngentity/llama/brown.png -> entity/llama/llama_brown.pngentity/llama/creamy.png -> entity/llama/llama_creamy.pngentity/llama/gray.png -> entity/llama/llama_gray.pngentity/llama/spit.png -> entity/llama/llama_spit.pngentity/llama/white.png -> entity/llama/llama_white.pngentity/panda/aggressive_panda.png -> entity/panda/panda_aggressive.pngentity/panda/brown_panda.png -> entity/panda/panda_brown.pngentity/panda/lazy_panda.png -> entity/panda/panda_lazy.pngentity/panda/playful_panda.png -> entity/panda/panda_playful.pngentity/panda/weak_panda.png -> entity/panda/panda_weak.pngentity/panda/worried_panda.png -> entity/panda/panda_worried.pngentity/pig/cold_pig.png -> entity/pig/pig_cold.pngentity/pig/temperate_pig.png -> entity/pig/pig_temperate.pngentity/pig/warm_pig.png -> entity/pig/pig_warm.pngentity/projectiles/spectral.png -> entity/projectiles/arrow_spectral.pngentity/projectiles/tipped.png -> entity/projectiles/arrow_tipped.pngentity/turtle/big_sea_turtle.png -> entity/turtle/turtle.pngentity/armadillo.png -> entity/armadillo/armadillo.pngentity/banner_base.png -> entity/banner/banner_base.pngentity/bat.png -> entity/bat/bat.pngentity/beacon_beam.png -> entity/beacon/beacon_beam.pngentity/blaze.png -> entity/blaze/blaze.pngentity/dolphin.png -> entity/dolphin/dolphin.pngentity/enchanting_table_book.png -> entity/enchantment/enchanting_table_book.pngentity/end_gateway_beam.png -> entity/end_portal/end_gateway_beam.pngentity/end_portal.png -> entity/end_portal/end_portal.pngentity/endermite.png -> entity/endermite/endermite.pngentity/experience_orb.png -> entity/experience/experience_orb.pngentity/fishing_hook.png -> entity/fishing/fishing_hook.pngentity/guardian.png -> entity/guardian/guardian.pngentity/guardian_beam.png -> entity/guardian/guardian_beam.pngentity/guardian_elder.png -> entity/guardian/guardian_elder.pngentity/lead_knot.png -> entity/lead_knot/lead_knot.pngentity/minecart.png -> entity/minecart/minecart.pngentity/phantom.png -> entity/phantom/phantom.pngentity/phantom_eyes.png -> entity/phantom/phantom_eyes.pngentity/shield_base.png -> entity/shield/shield_base.pngentity/shield_base_nopattern.png -> entity/shield/shield_base_nopattern.pngentity/silverfish.png -> entity/silverfish/silverfish.pngentity/snow_golem.png -> entity/snow_golem/snow_golem.pngentity/spider_eyes.png -> entity/spider/spider_eyes.pngentity/trident.png -> entity/trident/trident.pngentity/trident_riptide.png -> entity/trident/trident_riptide.pngentity/wandering_trader.png -> entity/wandering_trader/wandering_trader.pngentity/witch.png -> entity/witch/witch.pngentity.cat_royal.ambiententity.cat_royal.hissentity.cat_royal.hurtentity.cat_royal.deathentity.cat_royal.eatentity.cat_royal.beg_for_foodentity.cat_royal.purrentity.cat_royal.purreowentity.cat_royal.stray_ambiententity.pig_mini.ambiententity.pig_mini.hurtentity.pig_mini.deathentity.pig_big.ambiententity.pig_big.hurtentity.pig_big.deathentity.chicken_picky.ambiententity.chicken_picky.deathentity.chicken_picky.hurtentity.chicken_picky.stepentity.cow_moody.ambiententity.cow_moody.deathentity.cow_moody.hurtentity.cow_moody.stepblock.note_block.trumpetblock.note_block.trumpet_exposedblock.note_block.trumpet_oxidizedblock.note_block.trumpet_weathered[!DEVNOTE] 虽然在资源包中可以做到,覆盖核心着色器被视为不受支持并非预期的资源包特性。这些着色器是游戏内部实现的一部分,因此可能会随着内部演进随时改变。我们理解覆盖核心着色器被用于很多很酷的资源包特性,其中很多缺乏受支持的替代方案。我们希望未来提供更好且受支持的替代方案。
core/rendertype_item_entity_translucent_cull 着色器已被移除,改用 core/entitycore/rendertype_entity_alpha 与 core/rendertype_entity_decal 着色器已被 core/entity 中实现的 DISSOLVE 标志取代core/entity 分离到新的 core/item 着色器block.vsh 与 terrain.vsh 着色器不再接收 Normal 顶点属性lightmap.fsh 着色器进行了大量修改:
LightmapInfo uniform 新增两个字段:BlockLightTintNightVisionColorAmbientLightFactor 字段,其值现已预乘进 AmbientColorDarkenWorldFactor 更名为 BossOverlayWorldDarkeningFactor