version-image-link: https://edgeone.51shazhu.com/autoupload/f/XTxqEIEXt3ek2iMfNVy0xHr9SBDGMOz2CzLFKIoBJwSyl5f0KlZfm6UsKj-HyTuv/20251010/xTkC/1170X500/image.png server-jar: https://piston-data.mojang.com/v1/objects/804aefaf397b417479e89144834e277ebde2ce71/server.jar translator: 最亮的信标、中文 Minecraft Wiki
${@name|Breath of the Nautilus} 效果
Debug 类别在 Mac 上,若干使用 cmd 键的操作已改为使用 ctrl:
inF3 按钮已重命名为 inOverlayserver/activity
stopwatch 命令用于记录真实时间stopwatch语法:
stopwatch <id> create - 使用给定的命名空间 ID 创建一个秒表stopwatch <id> query - 在聊天中显示指定秒表的已用时间(以秒为单位)stopwatch <id> restart - 重启指定秒表stopwatch <id> remove - 删除指定秒表[!DEVNOTE] 该命令用于取代使用世界边界来记录真实时间的需求。我们计划在后续快照中让世界边界依赖于游戏刻。如果你之前依赖这种方式来衡量真实时间的流逝,请切换到使用新命令,如有任何不符合预期之处请告知。谢谢!
execute/execute if|unless stopwatch <id> <range>/execute if stopwatch foo:bar ..10 run say Stopwatch foo:bar has not reached 10 seconds yetminecraft:use_effectscan_sprint: 布尔值,玩家在使用该物品时是否可以疾跑falsespeed_multiplier: 浮点数(0 到 1),玩家在使用该物品时应用的速度倍率0.2use_effects={can_sprint:true,speed_multiplier:1.0}minecraft:minimum_attack_chargeminecraft:damage_typedamage_type='minecraft:spear'minecraft:kinetic_weaponmin_reach: 浮点数,从攻击者到目标的以格数计的最小有效距离0.0max_reach: 浮点数,从攻击者到目标的以格数计的最大有效距离3.0hitbox_margin: 浮点数,检测有效碰撞时应用于目标边界框的余量0.3delay_ticks: 整数,武器生效前所需的刻数0dismount_conditions、knockback_conditions、damage_conditions:分别指示何时应用取消骑乘、击退与伤害效果的条件。为对象,包含:max_duration_ticks: 整数,超过该刻数后将不再检查条件。该计时自 delay 结束后开始min_speed: 浮点数,攻击者沿其视线方向的以每秒格数计的最小速度
0.0min_relative_speed: 浮点数,攻击者与目标之间沿攻击者视线方向的以每秒格数计的最小相对速度
0.0forward_movement: 浮点数,动画期间物品自手中向前移动的距离0.0damage_multiplier: 浮点数,相对速度换算为最终伤害的倍率1.0sound: 可选 声音事件,在武器进入 Charge 状态时播放hit_sound: 可选 声音事件,在武器击中实体时播放kinetic_weapon={max_reach:5.0,forward_movement:1.0,delay:20,damage_conditions:{max_duration:60},knockback_conditions:{max_duration:40},dismount_conditions:{max_duration:20}}floor(relative_speed * velocity_multiplier),其中 relative_speed 为攻击者与目标速度向量在攻击者视线向量轴上的投影之差
minecraft:piercing_weaponmin_reach、max_reach、hitbox_margin:同 kinetic_weapondeals_knockback: 布尔值,攻击是否会造成击退truedismounts: 布尔值,攻击是否会令目标卸下骑乘falsesound: 可选,声音事件,在玩家使用该武器攻击时播放hit_sound: 可选,声音事件,在武器击中实体时播放piercing_weapon={min_reach:0,max_reach:4,dismounts:true}minecraft:swing_animationtype: 字符串,动画标识符(none、whack、stab)duration: 整数,持续时间(以刻计)swing_animation={type:'stab',duration:20}minecraft:consumableanimation 字段:
spear 为 tridentspear 动画minecraft:intangible_projectileAngryAt 字段重命名为 angry_atAngerTime 字段anger_end_time(long)字段,包含愤怒结束的游戏刻时间minecraft:spear 伤害类型predicates 字段)现已包含用于检查每种组件类型是否存在的谓词{<component_type>: {}}{predicates:{written_book_content:{author:"foo"}} —— 既有的匹配书籍格式{predicates:{written_book_content:{}} —— 上述的特例,只要组件存在即可接受任意值{predicates:{instrument:{}} —— 检查组件 minecraft:instrument 是否存在(此前不被允许)flags 谓词现支持新的值:
is_in_water:当实体接触到水或气泡柱时is_fall_flying:当实体使用鞘翅滑翔时<item>[predicate~{...},component={...}])已扩展为可接受任意组件类型的空谓词*[instrument] 与 *[instrument~{}] 等效minecraft:post_piercing_attack:在使用物品进行一次“穿刺攻击”后应用效果minecraft:apply_impulse:向目标实体施加一个冲量
direction —— 第一步,将该向量作为局部坐标(与 tp @s ^ ^ ^ 使用相同坐标系)应用到实体视线向量上coordinate_scale —— 第二步,在世界坐标中按该向量分别缩放上一结果的 X、Y、Z 分量magnitude —— 第三步,按此“基于魔咒等级的数值”缩放向量minecraft:play_sound:现可支持一个声音事件标识符列表,每个附魔等级对应一个。若等级高于列表长度,则使用列表中的最后一个声音exponentbase —— 表示指数运算底数的“基于等级的数值”power —— 表示指数幂的“基于等级的数值”#can_glide_through —— 可攀爬且可无阻滑行穿过的方块#nautilus_taming_items —— 可用于驯服鹦鹉螺与僵尸鹦鹉螺的物品#nautilus_bucket_food —— 可用于喂食已驯服鹦鹉螺与僵尸鹦鹉螺的“桶装鱼”类物品#nautilus_food —— 可用于喂食鹦鹉螺与僵尸鹦鹉螺的所有物品#spears —— 所有“矛”武器#enchantable/lunge —— 可附加“Lunge”魔咒的所有物品#enchantable/melee_weapon —— 所有主要近战武器,包括剑与矛#enchantable/sword 为 #enchantable/sweeping#can_wear_nautilus_armor —— 可装备鹦鹉螺铠的实体#nautilus_hostiles —— 未被驯服时,鹦鹉螺会对其保持敌意的实体#not_scary_for_pufferfish,以包含鹦鹉螺与僵尸鹦鹉螺#burn_in_daylight —— 会在日光下燃烧的实体#lunge_exclusive —— 与 lunge 魔咒互斥的所有附魔*.mcmeta 文件的 texture 节增加了布尔字段 darkened_cutout_mipmap
falsetrue 且纹理为“裁剪”(cutout)类型,则 mipmap 将被“加暗”,以模拟方块内部更暗的效果;这与本版本之前对“裁剪 + mipmap”方块的行为一致false 将生成不加暗的 mipmap,适用于花、草、藤蔓、铁轨等内部并不阴暗的裁剪类方块item/nautilus_spawn_eggitem/zombie_nautilus_spawn_eggitem/copper_nautilus_armoritem/iron_nautilus_armoritem/golden_nautilus_armoritem/diamond_nautilus_armoritem/netherite_nautilus_armoritem/wooden_spear、item/stone_spear、item/copper_spear、item/iron_spear、item/golden_spear、item/diamond_spear、item/netherite_spearitem/wooden_spear_in_hand、item/stone_spear_in_hand、item/copper_spear_in_hand、item/iron_spear_in_hand、item/golden_spear_in_hand、item/diamond_spear_in_hand、item/netherite_spear_in_handcontainer/slot/nautilus_armorcontainer/slot/spear —— 锻造台界面中使用的矛图标container/inventory/effect_backgroundcontainer/inventory/effect_background_ambientcontainer/inventory/effect_background_largecontainer/inventory/effect_background_smallcelestials 图集,包含用于在天空中渲染的物体(如太阳与月亮)的精灵图<namespace>:textures/environment/celestial/<path>.png 的精灵图textures/environment/sun.png -> suntextures/environment/end_flash.png -> end_flashtextures/environment/moon_phases -> moon/full_moon、moon/waning_gibbous、moon/third_quarter、moon/waning_crescent、moon/new_moon、moon/waxing_crescent、moon/first_quarter、moon/waxing_gibbousbreath_of_the_nautilusentity/nautilus/nautilus.pngentity/nautilus/nautilus_baby.pngentity/nautilus/zombie_nautilus.pngentity/equipment/nautilus_body/copper.pngentity/equipment/nautilus_body/iron.pngentity/equipment/nautilus_body/gold.pngentity/equipment/nautilus_body/diamond.pngentity/equipment/nautilus_body/netherite.pngentity/equipment/nautilus_saddle/saddle.pngitem.spear.hititem.spear.useitem.spear.attackitem.spear_wood.hititem.spear_wood.useitem.spear_wood.attackitem.spear.lunge_1item.spear.lunge_2item.spear.lunge_3entity.baby_nautilus.ambiententity.baby_nautilus.deathentity.baby_nautilus.eatentity.baby_nautilus.hurtentity.baby_nautilus.swimentity.nautilus.ambiententity.nautilus.deathentity.nautilus.dashentity.nautilus.dash_readyentity.nautilus.eatentity.nautilus.hurtentity.nautilus.swimentity.zombie_nautilus.ambiententity.zombie_nautilus.deathentity.zombie_nautilus.dashentity.zombie_nautilus.dash_readyentity.zombie_nautilus.eatentity.zombie_nautilus.hurtentity.zombie_nautilus.swimitem.nautilus_armor.equipitem.nautilus_armor.unequipentity.zombie_horse.angryswap_animation_scale
增加了物品模型:
spear_in_hand —— 手持矛时使用的模型。