- 致编者:请牢记我们的域名wiki.mcbe-dev.net!
- 致编者:欢迎加入本Wiki的官方交流QQ群或Discord服务器!
- 基岩版1.19.31现已发布!(了解更多)
- Inner Core现已支持Xbox模组联机!(了解更多)
- 如果您是第一次来到本Wiki,欢迎注册一个账户
- 点击顶部的“编辑”或“编辑源代码”按钮即可编辑当前页面
- 请知悉:在不登录时也可以编辑和新建页面,但是您当前的IP地址会记录在编辑历史中
Manual:数据驱动/实体:修订间差异
来自Minecraft基岩版开发Wiki
添加的内容 删除的内容
无编辑摘要 标签:移动版编辑 移动版网页编辑 高级移动版编辑 |
(→实体属性:本文中的minecraft:collision_box应当和方块组件区分开。) 标签:移动版编辑 移动版网页编辑 |
||
(未显示8个用户的34个中间版本) | |||
第2行: | 第2行: | ||
===客户端=== |
===客户端=== |
||
{| class="wikitable collapsible" |
{| class="wikitable collapsible" |
||
!<div style="white-space:nowrap;">类型</div> |
|||
!<div style="white-space:nowrap; padding:0em 4em 0em 4em;">名称</div> |
!<div style="white-space:nowrap; padding:0em 4em 0em 4em;">名称</div> |
||
!<div style="white-space:nowrap;">类型</div> |
|||
!<div style="white-space:nowrap;">默认值</div> |
!<div style="white-space:nowrap;">默认值</div> |
||
!<div style="padding:0em 8em 0em 8em; white-space:nowrap;">描述</div> |
!<div style="padding:0em 8em 0em 8em; white-space:nowrap;">描述</div> |
||
|- |
|- |
||
|字符串 |
|||
|{{samp|[[赋命名空间标识符|identifier]]}} |
|{{samp|[[赋命名空间标识符|identifier]]}} |
||
|字符串 |
|||
|{{Table Choice|unknown|无}} |
|{{Table Choice|unknown|无}} |
||
|设置该实体的[[赋命名空间标识符]]。 |
|设置该实体的[[赋命名空间标识符]]。 |
||
|- |
|- |
||
|字符串 |
|||
|{{samp|min_engine_version}} |
|{{samp|min_engine_version}} |
||
|字符串 |
|||
|{{Table Choice|unknown|无}} |
|{{Table Choice|unknown|无}} |
||
|设置该实体使用的最小游戏引擎版本。 |
|设置该实体使用的最小游戏引擎版本。 |
||
|- |
|- |
||
|对象 |
|||
|{{samp|[[材质|materials]]}} |
|{{samp|[[材质|materials]]}} |
||
|对象 |
|||
|{{Table Choice|unknown|无}} |
|{{Table Choice|unknown|无}} |
||
|设置该实体使用的材质。 |
|||
| |
|||
|- |
|- |
||
|{{samp|[[纹理|textures]]}} |
|||
|对象 |
|对象 |
||
|{{samp|[[纹理|textures]]}} |
|||
|{{Table Choice|unknown|无}} |
|{{Table Choice|unknown|无}} |
||
|设置该实体使用的纹理。 |
|||
| |
|||
|- |
|- |
||
|{{samp|[[模型|geometry]]}} |
|||
|对象 |
|对象 |
||
|{{samp|[[模型|geometry]]}} |
|||
|{{Table Choice|unknown|无}} |
|{{Table Choice|unknown|无}} |
||
|设置该实体使用的模型。 |
|||
| |
|||
|- |
|- |
||
|{{samp|scripts}} |
|||
|对象 |
|对象 |
||
|{{samp|scripts}} |
|||
|{{Table Choice|unknown|无}} |
|{{Table Choice|unknown|无}} |
||
|实体脚本,可用于控制实体的缩放比例、执行何种动画或动画控制器以及在每次执行动画之前执行的Molang表达式。 |
|||
| |
|||
|- |
|- |
||
|{{samp|[[动画|animations]]}} |
|||
|对象 |
|对象 |
||
|{{samp|[[动画|animations]]}} |
|||
|{{Table Choice|unknown|无}} |
|{{Table Choice|unknown|无}} |
||
| |
|设置该实体使用的动画或动画控制器。 |
||
|- |
|- |
||
|{{samp|[[动画控制器|animation_controllers]]}} |
|||
|对象 |
|对象 |
||
|{{samp|[[动画控制器|animation_controllers]]}} |
|||
|{{Table Choice|unknown|无}} |
|{{Table Choice|unknown|无}} |
||
|设置该实体使用的动画控制器(仅限格式版本1.8.0使用) |
|||
| |
|||
|- |
|- |
||
|{{samp|[[渲染控制器|render_controllers]]}} |
|||
|对象 |
|对象 |
||
|{{samp|[[渲染控制器|render_controllers]]}} |
|||
|{{Table Choice|unknown|无}} |
|{{Table Choice|unknown|无}} |
||
|设置该实体使用的渲染控制器,以控制何时使用何种材质、纹理和模型。 |
|||
| |
|||
|- |
|- |
||
|{{samp|[[模型#定位器|locators]]}} |
|||
|对象 |
|对象 |
||
|{{samp|[[模型#定位器|locators]]}} |
|||
|{{Table Choice|unknown|无}} |
|{{Table Choice|unknown|无}} |
||
| |
| |
||
|- |
|- |
||
|{{samp|enable_attachables}} |
|||
|布尔值 |
|布尔值 |
||
|{{samp|enable_attachables}} |
|||
|{{cd|true}} |
|{{cd|true}} |
||
|设置该实体是否启用附着物。 |
|||
| |
|||
|- |
|- |
||
|{{samp|hide_armor}} |
|||
|布尔值 |
|布尔值 |
||
|{{samp|hide_armor}} |
|||
|{{cd|true}} |
|{{cd|true}} |
||
| |
| |
||
|- |
|- |
||
|对象 |
|||
|{{samp|[[刷怪蛋|spawn_egg]]}} |
|{{samp|[[刷怪蛋|spawn_egg]]}} |
||
|对象 |
|||
|{{Table Choice|unknown|无}} |
|{{Table Choice|unknown|无}} |
||
|设置该实体的刷怪蛋颜色,仅限行为包的描述中的is_spawnable为true时自动在创造模式物品栏中添加刷怪蛋。 |
|||
| |
|||
|} |
|} |
||
=== |
===服务端=== |
||
{| class="wikitable collapsible" |
{| class="wikitable collapsible" |
||
!<div style="white-space:nowrap; padding:0em 4em 0em 4em;">名称</div> |
|||
!<div style="white-space:nowrap;">类型</div> |
!<div style="white-space:nowrap;">类型</div> |
||
!<div style="white-space:nowrap; padding:0em 4em 0em 4em;">名称</div> |
|||
!<div style="white-space:nowrap;">默认值</div> |
!<div style="white-space:nowrap;">默认值</div> |
||
!<div style="white-space:nowrap;">数字ID</div> |
!<div style="white-space:nowrap;">数字ID</div> |
||
!<div style="padding:0em 8em 0em 8em; white-space:nowrap;">描述</div> |
!<div style="padding:0em 8em 0em 8em; white-space:nowrap;">描述</div> |
||
|- |
|- |
||
|{{samp|[[赋命名空间标识符|identifier]]}} |
|||
|字符串 |
|字符串 |
||
|{{samp|[[赋命名空间标识符|identifier]]}} |
|||
|{{Table Choice|unknown|无}} |
|{{Table Choice|unknown|无}} |
||
|{{Table Choice|-}} |
|{{Table Choice|-}} |
||
|设置该实体的[[赋命名空间标识符]]。 |
|设置该实体的[[赋命名空间标识符]]。 |
||
|- |
|- |
||
|布尔值 |
|||
|{{samp|[[实验性玩法|is_experimental]]}} |
|{{samp|[[实验性玩法|is_experimental]]}} |
||
|布尔值 |
|||
|{{cd|false}} |
|{{cd|false}} |
||
|{{Table Choice|-}} |
|{{Table Choice|-}} |
||
|设置该实体是否属于[[实验性玩法]]。 |
|设置该实体是否属于[[实验性玩法]]。 |
||
|- |
|- |
||
|布尔值 |
|||
|{{samp|is_spawnable}} |
|{{samp|is_spawnable}} |
||
|布尔值 |
|||
|{{cd|false}} |
|{{cd|false}} |
||
|{{Table Choice|-}} |
|{{Table Choice|-}} |
||
|设置该实体是否可以自然生成或通过[[刷怪蛋]]生成(当设置为{{cd|true}}时游戏会自动向物品栏中添加刷怪蛋物品)。 |
|设置该实体是否可以自然生成或通过[[刷怪蛋]]生成(当设置为{{cd|true}}时游戏会自动向物品栏中添加刷怪蛋物品)。 |
||
|- |
|- |
||
|{{samp|is_summonable}} |
|||
|布尔值 |
|布尔值 |
||
|{{samp|is_summonable}} |
|||
|{{cd|false}} |
|{{cd|false}} |
||
|{{Table Choice|-}} |
|{{Table Choice|-}} |
||
|设置该实体是否可被[[命令]]生成。 |
|设置该实体是否可被[[命令]]生成。 |
||
|- |
|- |
||
|字符串 |
|||
|{{samp|runtime_identifier}} |
|{{samp|runtime_identifier}} |
||
|字符串 |
|||
|{{Table Choice|unknown|无}} |
|{{Table Choice|unknown|无}} |
||
|{{Table Choice|-}} |
|{{Table Choice|-}} |
||
|设置该实体调用何种实体的硬编码,必须是一个原版实体的硬编码。 |
|||
| |
|||
|- |
|- |
||
|对象 |
|||
|{{samp|scripts}} |
|{{samp|scripts}} |
||
|对象 |
|||
|{{Table Choice|unknown|无}} |
|{{Table Choice|unknown|无}} |
||
|<nowiki>-</nowiki>76244517 |
|<nowiki>-</nowiki>76244517 |
||
|设置该实体的脚本,可用于控制执行何种动画或动画控制器。 |
|||
| |
|||
|- |
|- |
||
|{{samp|[[动画|animations]]}} |
|||
|对象 |
|对象 |
||
|{{samp|[[动画|animations]]}} |
|||
|{{Table Choice|unknown|无}} |
|{{Table Choice|unknown|无}} |
||
|1232311658 |
|1232311658 |
||
|设置该实体的动画和动画控制器,可用于执行[[命令]]或触发<code>events</code>定义的生成事件。 |
|||
| |
|||
|} |
|} |
||
==组件== |
==组件== |
||
===基础组件=== |
===基础组件=== |
||
{| class="wikitable collapsible" |
{| class="wikitable collapsible" |
||
!<div style="white-space:nowrap; padding:0em 8em 0em 8em;">名称</div> |
!<div style="white-space:nowrap; padding:0em 8em 0em 8em;">名称</div> |
||
!<div style="white-space:nowrap;">可用性</div> |
|||
!实验性玩法 |
|||
!走出实验版本 |
|||
!数字ID |
!数字ID |
||
!<div style="white-space:nowrap; padding:0em 8em 0em 8em;">描述</div> |
!<div style="white-space:nowrap; padding:0em 8em 0em 8em;">描述</div> |
||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:addrider|minecraft:addrider]]}} |
|{{samp|[[Manual:Minecraft:addrider|minecraft:addrider]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|<nowiki>-</nowiki>1014528905 |
|<nowiki>-</nowiki>1014528905 |
||
|为实体添加骑手。 |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:admire_item|minecraft:admire_item]]}} |
|{{samp|[[Manual:Minecraft:admire_item|minecraft:admire_item]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|<nowiki>-</nowiki>1838165406 |
|<nowiki>-</nowiki>1838165406 |
||
|使实体在端详物品时无视可攻击的目标。 |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:ageable|minecraft:ageable]]}} |
|{{samp|[[Manual:Minecraft:ageable|minecraft:ageable]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|1092934985 |
|1092934985 |
||
|为实体的生长添加一个计时器,并且可使用特定物品喂食该实体来加速其生长。 |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:minecraft:anger_level|minecraft:anger_level]]}} |
|{{samp|[[Manual:minecraft:anger_level|minecraft:anger_level]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|500775548 |
|500775548 |
||
|允许实体对可疑目标产生愤怒。 |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:angry|minecraft:angry]]}} |
|{{samp|[[Manual:Minecraft:angry|minecraft:angry]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|725411499 |
|725411499 |
||
|通过计时器设置实体的愤怒状态。 |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:annotation.break_door|minecraft:annotation.break_door]]}} |
|{{samp|[[Manual:Minecraft:annotation.break_door|minecraft:annotation.break_door]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|2116838963 |
|2116838963 |
||
|允许实体破门(假设组件在导航中使用了适当的标志) |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:annotation.open_door|minecraft:annotation.open_door]]}} |
|{{samp|[[Manual:Minecraft:annotation.open_door|minecraft:annotation.open_door]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|1004733768 |
|1004733768 |
||
|允许实体开门(假设组件在导航中使用了适当的标志) |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:area_attack|minecraft:area_attack]]}} |
|{{samp|[[Manual:Minecraft:area_attack|minecraft:area_attack]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|1169114880 |
|1169114880 |
||
|在定义区域内对其他实体造成伤害。 |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:attack_cooldown|minecraft:attack_cooldown]]}} |
|{{samp|[[Manual:Minecraft:attack_cooldown|minecraft:attack_cooldown]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|<nowiki>-</nowiki>1439360398 |
|<nowiki>-</nowiki>1439360398 |
||
|为实体添加冷却。 |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:barter|minecraft:barter]]}} |
|{{samp|[[Manual:Minecraft:barter|minecraft:barter]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|<nowiki>-</nowiki>1660828566 |
|<nowiki>-</nowiki>1660828566 |
||
|允许实体通过以物易物的方式掉落物品。 |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:block_climber|minecraft:block_climber]]}} |
|{{samp|[[Manual:Minecraft:block_climber|minecraft:block_climber]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|<nowiki>-</nowiki>505801518 |
|<nowiki>-</nowiki>505801518 |
||
|允许玩家在脚手架上检测和操作。 |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:block_sensor|minecraft:block_sensor]]}} |
|{{samp|[[Manual:Minecraft:block_sensor|minecraft:block_sensor]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|1944169706 |
|1944169706 |
||
|当在此传感器特定方块列表中的方块被破坏时触发事件。 |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:boostable|minecraft:boostable]]}} |
|{{samp|[[Manual:Minecraft:boostable|minecraft:boostable]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|<nowiki>-</nowiki>8316315 |
|<nowiki>-</nowiki>8316315 |
||
|定义可骑行实体提升的条件和行为。 |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:boss|minecraft:boss]]}} |
|{{samp|[[Manual:Minecraft:boss|minecraft:boss]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|<nowiki>-</nowiki>1309638025 |
|<nowiki>-</nowiki>1309638025 |
||
|定义BOSS的当前状态以更新BOSS HUD。 |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:break_blocks|minecraft:break_blocks]]}} |
|{{samp|[[Manual:Minecraft:break_blocks|minecraft:break_blocks]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|<nowiki>-</nowiki>944056304 |
|<nowiki>-</nowiki>944056304 |
||
|控制当实体移动时可以破坏何种方块。 |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:breathable|minecraft:breathable]]}} |
|{{samp|[[Manual:Minecraft:breathable|minecraft:breathable]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|<nowiki>-</nowiki>707187232 |
|<nowiki>-</nowiki>707187232 |
||
|控制实体的呼吸。 |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:breedable|minecraft:breedable]]}} |
|{{samp|[[Manual:Minecraft:breedable|minecraft:breedable]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|<nowiki>-</nowiki>1616430100 |
|<nowiki>-</nowiki>1616430100 |
||
|控制一个实体在喂食之后进入<code>love</code>状态。 |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:bribeable|minecraft:bribeable]]}} |
|{{samp|[[Manual:Minecraft:bribeable|minecraft:bribeable]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|<nowiki>-</nowiki>2125526908 |
|<nowiki>-</nowiki>2125526908 |
||
|控制一个实体进入<code>bribed</code>状态。 |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:buoyant|minecraft:buoyant]]}} |
|{{samp|[[Manual:Minecraft:buoyant|minecraft:buoyant]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|<nowiki>-</nowiki>467213736 |
|<nowiki>-</nowiki>467213736 |
||
|允许实体在特定的流体方块上漂浮。 |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:burns_in_daylight|minecraft:burns_in_daylight]]}} |
|{{samp|[[Manual:Minecraft:burns_in_daylight|minecraft:burns_in_daylight]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|1256874605 |
|1256874605 |
||
|控制此实体在白天燃烧。 |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:celebrate_hunt|minecraft:celebrate_hunt]]}} |
|{{samp|[[Manual:Minecraft:celebrate_hunt|minecraft:celebrate_hunt]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|<nowiki>-</nowiki>789611239 |
|<nowiki>-</nowiki>789611239 |
||
|控制实体在捕猎特定实体后庆祝。 |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:combat_regeneration|minecraft:combat_regeneration]]}} |
|{{samp|[[Manual:Minecraft:combat_regeneration|minecraft:combat_regeneration]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|<nowiki>-</nowiki>315365016 |
|<nowiki>-</nowiki>315365016 |
||
|提供生命恢复I并移除玩家的挖掘疲劳效果。 |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:conditional_bandwidth_optimization|minecraft:conditional_bandwidth_optimization]]}} |
|{{samp|[[Manual:Minecraft:conditional_bandwidth_optimization|minecraft:conditional_bandwidth_optimization]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|1333085468 |
|1333085468 |
||
|定义此实体的条件空间更新带宽优化。 |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:custom_hit_test|minecraft:custom_hit_test]]}} |
|{{samp|[[Manual:Minecraft:custom_hit_test|minecraft:custom_hit_test]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|2035968892 |
|2035968892 |
||
|定义针对实体的近战和远程命中数的命中列表。 |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:damage_over_time|minecraft:damage_over_time]]}} |
|{{samp|[[Manual:Minecraft:damage_over_time|minecraft:damage_over_time]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|<nowiki>-</nowiki>656420526 |
|<nowiki>-</nowiki>656420526 |
||
|按时间间隔对实体造成指定伤害。 |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:damage_sensor|minecraft:damage_sensor]]}} |
|{{samp|[[Manual:Minecraft:damage_sensor|minecraft:damage_sensor]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|<nowiki>-</nowiki>82616534 |
|<nowiki>-</nowiki>82616534 |
||
|定义了该实体在被特定实体或物品伤害后调用何种事件。 |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:despawn|minecraft:despawn]]}} |
|{{samp|[[Manual:Minecraft:despawn|minecraft:despawn]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|1674909940 |
|1674909940 |
||
|当自然消失规则或可选过滤器的值为<code>true</code>时,该实体将自然消失。 |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:drying_out_timer|minecraft:drying_out_timer]]}} |
|{{samp|[[Manual:Minecraft:drying_out_timer|minecraft:drying_out_timer]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|2113510784 |
|2113510784 |
||
|设置一个计时器。当实体不在水中时,该计时器将倒计时并启动<code>dried_out_event</code>并在下雨或实体入水后立即停止及时,且启动<code>stopped_drying_out_event</code>。 |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:economy_trade_table|minecraft:economy_trade_table]]}} |
|{{samp|[[Manual:Minecraft:economy_trade_table|minecraft:economy_trade_table]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|1705466896 |
|1705466896 |
||
|定义实体能够和玩家交易。 |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:entity_sensor|minecraft:entity_sensor]]}} |
|{{samp|[[Manual:Minecraft:entity_sensor|minecraft:entity_sensor]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|<nowiki>-</nowiki>406052184 |
|<nowiki>-</nowiki>406052184 |
||
|当在特定范围内的其他实体满足一些特定条件之后触发事件。 |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:environment_sensor|minecraft:environment_sensor]]}} |
|{{samp|[[Manual:Minecraft:environment_sensor|minecraft:environment_sensor]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|687748970 |
|687748970 |
||
|基于环境条件创建触发器。 |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:equip_item|minecraft:equip_item]]}} |
|{{samp|[[Manual:Minecraft:equip_item|minecraft:equip_item]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|<nowiki>-</nowiki>1774220620 |
|<nowiki>-</nowiki>1774220620 |
||
|控制实体穿着其想穿着的装备。 |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:equippable|minecraft:equippable]]}} |
|{{samp|[[Manual:Minecraft:equippable|minecraft:equippable]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|<nowiki>-</nowiki>1164142226 |
|<nowiki>-</nowiki>1164142226 |
||
|定义为该实体配备物品的行为。 |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:minecraft:exhaustion_values|minecraft:exhaustion_values]]}} |
|{{samp|[[Manual:minecraft:exhaustion_values|minecraft:exhaustion_values]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|1522147793 |
|1522147793 |
||
|定义玩家操作(如疾跑、跳)应消耗多少饥饿值。 |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:experience_reward|minecraft:experience_reward]]}} |
|{{samp|[[Manual:Minecraft:experience_reward|minecraft:experience_reward]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|<nowiki>-</nowiki>1992597900 |
|<nowiki>-</nowiki>1992597900 |
||
|定义该实体在成功繁殖或实体死亡后奖励的经验值。 |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:explode|minecraft:explode]]}} |
|{{samp|[[Manual:Minecraft:explode|minecraft:explode]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|<nowiki>-</nowiki>1683058581 |
|<nowiki>-</nowiki>1683058581 |
||
|定义实体产生的爆炸。 |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:flocking|minecraft:flocking]]}} |
|{{samp|[[Manual:Minecraft:flocking|minecraft:flocking]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|1967597361 |
|1967597361 |
||
|定义实体在水中是否成群结队。 |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:minecraft:game_event_movement_tracking|minecraft: |
|{{samp|[[Manual:minecraft:game_event_movement_tracking|minecraft:game_event_movement_tracking]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|763815151 |
|763815151 |
||
|强制实体作出移动、游泳游戏事件,其具体取决于实体正在何种方块上移动,默认情况下,它会添加到每个实体中。 |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:genetics|minecraft:genetics]]}} |
|{{samp|[[Manual:Minecraft:genetics|minecraft:genetics]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|<nowiki>-</nowiki>82484670 |
|<nowiki>-</nowiki>82484670 |
||
|定义实体的基因和等位基因传递给后代的方式,以及这些特征如何在孩子身上表现出来。 |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:giveable|minecraft:giveable]]}} |
|{{samp|[[Manual:Minecraft:giveable|minecraft:giveable]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|1739199795 |
|1739199795 |
||
|Defines sets of items that can be used to trigger events when used on the entity. The item will also be taken and placed in the entity's inventory. |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:group_size|minecraft:group_size]]}} |
|{{samp|[[Manual:Minecraft:group_size|minecraft:group_size]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|<nowiki>-</nowiki>1997375941 |
|<nowiki>-</nowiki>1997375941 |
||
|Keeps track of entity group size in the given radius. |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:grows_crop|minecraft:grows_crop]]}} |
|{{samp|[[Manual:Minecraft:grows_crop|minecraft:grows_crop]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|43636353 |
|43636353 |
||
|当实体走过农作物时可以使农作物生长。 |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:healable|minecraft:healable]]}} |
|{{samp|[[Manual:Minecraft:healable|minecraft:healable]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|<nowiki>-</nowiki>54247424 |
|<nowiki>-</nowiki>54247424 |
||
|Defines the interactions with the entity for healing it. |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:home|minecraft:home]]}} |
|{{samp|[[Manual:Minecraft:home|minecraft:home]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|610829097 |
|610829097 |
||
|Saves a home point of interest for when the the entity is spawned. |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:hurt_on_condition|minecraft:hurt_on_condition]]}} |
|{{samp|[[Manual:Minecraft:hurt_on_condition|minecraft:hurt_on_condition]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|163715083 |
|163715083 |
||
|定义实体何时应当受到伤害的一组条件。 |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:inside_block_notifier|minecraft:inside_block_notifier]]}} |
|{{samp|[[Manual:Minecraft:inside_block_notifier|minecraft:inside_block_notifier]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|<nowiki>-</nowiki>377593253 |
|<nowiki>-</nowiki>377593253 |
||
|Verifies whether the entity is inside any of the listed blocks. |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:insomnia|minecraft:insomnia]]}} |
|{{samp|[[Manual:Minecraft:insomnia|minecraft:insomnia]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|<nowiki>-</nowiki>300455606 |
|<nowiki>-</nowiki>300455606 |
||
|添加自从上次休息经过了多长时间的计时器,以判断幻翼是否应当生成。 |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:instant_despawn|minecraft:instant_despawn]]}} |
|{{samp|[[Manual:Minecraft:instant_despawn|minecraft:instant_despawn]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|<nowiki>-</nowiki>634288138 |
|<nowiki>-</nowiki>634288138 |
||
|令实体立即自然消失。 |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:interact|minecraft:interact]]}} |
|{{samp|[[Manual:Minecraft:interact|minecraft:interact]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|<nowiki>-</nowiki>1996861528 |
|<nowiki>-</nowiki>1996861528 |
||
|定义与该实体的互动。 |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:inventory|minecraft:inventory]]}} |
|{{samp|[[Manual:Minecraft:inventory|minecraft:inventory]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|1941951218 |
|1941951218 |
||
|定义该实体的物品栏如何管理。 |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:item_hopper|minecraft:item_hopper]]}} |
|{{samp|[[Manual:Minecraft:item_hopper|minecraft:item_hopper]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|<nowiki>-</nowiki>447601772 |
|<nowiki>-</nowiki>447601772 |
||
|定义实体像漏斗方块一样工作。 |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:jump.dynamic|minecraft:jump.dynamic]]}} |
|{{samp|[[Manual:Minecraft:jump.dynamic|minecraft:jump.dynamic]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|945664737 |
|945664737 |
||
|Defines a dynamic type jump control that will change jump properties based on the speed modifier of the entity. |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:jump.static|minecraft:jump.static]]}} |
|{{samp|[[Manual:Minecraft:jump.static|minecraft:jump.static]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|1064987526 |
|1064987526 |
||
|允许实体跳跃。 |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:leashable|minecraft:leashable]]}} |
|{{samp|[[Manual:Minecraft:leashable|minecraft:leashable]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|893445039 |
|893445039 |
||
|允许实体被拴住,并且定义被拴住的条件以及当实体被拴住后触发的事件。 |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:lookat|minecraft:lookat]]}} |
|{{samp|[[Manual:Minecraft:lookat|minecraft:lookat]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|<nowiki>-</nowiki>1329707008 |
|<nowiki>-</nowiki>1329707008 |
||
|定义当其他实体看向该实体时的行为。 |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:managed_wandering_trader|minecraft:managed_wandering_trader]]}} |
|{{samp|[[Manual:Minecraft:managed_wandering_trader|minecraft:managed_wandering_trader]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|846609640 |
|846609640 |
||
|允许此实体交易。 |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:mob_effect|minecraft:mob_effect]]}} |
|{{samp|[[Manual:Minecraft:mob_effect|minecraft:mob_effect]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|490430596 |
|490430596 |
||
|Applies a mob effect to entities that get within range. |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:movement.amphibious|minecraft:movement.amphibious]]}} |
|{{samp|[[Manual:Minecraft:movement.amphibious|minecraft:movement.amphibious]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|<nowiki>-</nowiki>500784850 |
|<nowiki>-</nowiki>500784850 |
||
|(运动机制)允许实体可以在水中游泳以及在陆地上行走。 |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:movement.basic|minecraft:movement.basic]]}} |
|{{samp|[[Manual:Minecraft:movement.basic|minecraft:movement.basic]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|3354475 |
|3354475 |
||
|(运动机制)定义实体的运动。 |
|||
| |
|||
|- |
|||
|{{samp|[[Manual:Minecraft:movement.dolphin|minecraft:movement.dolphin]]}} |
|||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|3354475 |
|||
|(运动机制)定义实体像海豚般运动。 |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:movement.fly|minecraft:movement.fly]]}} |
|{{samp|[[Manual:Minecraft:movement.fly|minecraft:movement.fly]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|<nowiki>-</nowiki>1487316136 |
|<nowiki>-</nowiki>1487316136 |
||
|(运动机制)允许实体飞翔。 |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:movement.generic|minecraft:movement.generic]]}} |
|{{samp|[[Manual:Minecraft:movement.generic|minecraft:movement.generic]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|<nowiki>-</nowiki>1363369868 |
|<nowiki>-</nowiki>1363369868 |
||
|(运动机制)允许实体游泳、飞翔、攀爬等。 |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:movement.hover|minecraft:movement.hover]]}} |
|{{samp|[[Manual:Minecraft:movement.hover|minecraft:movement.hover]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|1743805051 |
|1743805051 |
||
|(运动机制)Defines the movement control for flying entities with a gliding movement. |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:movement.jump|minecraft:movement.jump]]}} |
|{{samp|[[Manual:Minecraft:movement.jump|minecraft:movement.jump]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|1256268727 |
|1256268727 |
||
|(运动机制)Causes the entity to jump as it moves with a specified delay between jumps. |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:movement.skip|minecraft:movement.skip]]}} |
|{{samp|[[Manual:Minecraft:movement.skip|minecraft:movement.skip]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|<nowiki>-</nowiki>1828832272 |
|<nowiki>-</nowiki>1828832272 |
||
|(运动机制)Causes the entity to hop as it moves. |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:movement.sway|minecraft:movement.sway]]}} |
|{{samp|[[Manual:Minecraft:movement.sway|minecraft:movement.sway]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|2126249079 |
|2126249079 |
||
|(运动机制)Causes the entity to sway side to side giving the impression it is swimming. |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:nameable|minecraft:nameable]]}} |
|{{samp|[[Manual:Minecraft:nameable|minecraft:nameable]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|<nowiki>-</nowiki>595398763 |
|<nowiki>-</nowiki>595398763 |
||
|允许实体被命名(例如使用命名牌时)。 |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:navigation.climb|minecraft:navigation.climb]]}} |
|{{samp|[[Manual:Minecraft:navigation.climb|minecraft:navigation.climb]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|<nowiki>-</nowiki>1075360945 |
|<nowiki>-</nowiki>1075360945 |
||
|(寻路机制)控制实体生成包括垂直的墙在内的路径,像原版蜘蛛一样。 |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:navigation.float|minecraft:navigation.float]]}} |
|{{samp|[[Manual:Minecraft:navigation.float|minecraft:navigation.float]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|<nowiki>-</nowiki>842998036 |
|<nowiki>-</nowiki>842998036 |
||
|(寻路机制)控制实体生成可以在空中漂浮的路径,像普通的恶魂一样。 |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:navigation.fly|minecraft:navigation.fly]]}} |
|{{samp|[[Manual:Minecraft:navigation.fly|minecraft:navigation.fly]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|<nowiki>-</nowiki>1997823129 |
|<nowiki>-</nowiki>1997823129 |
||
|(寻路机制)控制实体生成包含空气的路径,像原版鹦鹉一样。 |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:navigation.generic|minecraft:navigation.generic]]}} |
|{{samp|[[Manual:Minecraft:navigation.generic|minecraft:navigation.generic]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|1768002583 |
|1768002583 |
||
|(寻路机制)控制实体生成可以通过行走、游泳、飞翔并且/或者是到处攀爬以及跳上跳下一个方块的路径。 |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:navigation.hover|minecraft:navigation.hover]]}} |
|{{samp|[[Manual:Minecraft:navigation.hover|minecraft:navigation.hover]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|<nowiki>-</nowiki>769247640 |
|<nowiki>-</nowiki>769247640 |
||
|(寻路机制)Compels the entity to generate paths in the air like the vanilla Bees do. Keeps them from falling from the skies and doing predictive movement. |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:navigation.swim|minecraft:navigation.swim]]}} |
|{{samp|[[Manual:Minecraft:navigation.swim|minecraft:navigation.swim]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|1908076634 |
|1908076634 |
||
|(寻路机制)控制实体生成包含水在内的路径。 |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:navigation.walk|minecraft:navigation.walk]]}} |
|{{samp|[[Manual:Minecraft:navigation.walk|minecraft:navigation.walk]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|1909033775 |
|1909033775 |
||
|(寻路机制)控制实体生成能够到处走动以及跳上或跳下一个方块的路径。 |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft: |
|{{samp|[[Manual:Minecraft:npc_(实体组件)|minecraft:npc]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|1140005505 |
|1140005505 |
||
|使实体能够调出一个NPC窗口,并像原版NPC一样工作。(仅限国际版) |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:out_of_control|minecraft:out_of_control]]}} |
|{{samp|[[Manual:Minecraft:out_of_control|minecraft:out_of_control]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|<nowiki>-</nowiki>639930856 |
|<nowiki>-</nowiki>639930856 |
||
|定义实体<code>out of control</code>的状态 |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:peek|minecraft:peek]]}} |
|{{samp|[[Manual:Minecraft:peek|minecraft:peek]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|<nowiki>-</nowiki>863721039 |
|<nowiki>-</nowiki>863721039 |
||
|定义一个实体的偷窥行为。 |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:persistent|minecraft:persistent]]}} |
|{{samp|[[Manual:Minecraft:persistent|minecraft:persistent]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|1435858387 |
|1435858387 |
||
|定义一个实体是否持久于世界之中(即是否不会自然刷新)。 |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:physics|minecraft:physics]]}} |
|{{samp|[[Manual:Minecraft:physics|minecraft:physics]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|1021552959 |
|1021552959 |
||
|定义一个实体的物理属性,包括它是否能被重力影响以及它是否和其他物体碰撞。 |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:preferred_path|minecraft:preferred_path]]}} |
|{{samp|[[Manual:Minecraft:preferred_path|minecraft:preferred_path]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|1431188951 |
|1431188951 |
||
|Specifies costing information for entities that prefer to walk on preferred paths. |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:projectile_(实体组件)|minecraft:projectile]]}} |
|{{samp|[[Manual:Minecraft:projectile_(实体组件)|minecraft:projectile]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|1922456869 |
|1922456869 |
||
|允许实体是被扔出去的实体。 |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:pushable|minecraft:pushable]]}} |
|{{samp|[[Manual:Minecraft:pushable|minecraft:pushable]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|<nowiki>-</nowiki>1784639134 |
|<nowiki>-</nowiki>1784639134 |
||
|Defines what can push an entity between other entities and pistons. |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:raid_trigger|minecraft:raid_trigger]]}} |
|{{samp|[[Manual:Minecraft:raid_trigger|minecraft:raid_trigger]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|2093209329 |
|2093209329 |
||
|允许在实体的位置触发袭击。 |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:rail_movement|minecraft:rail_movement]]}} |
|{{samp|[[Manual:Minecraft:rail_movement|minecraft:rail_movement]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|<nowiki>-</nowiki>78235634 |
|<nowiki>-</nowiki>78235634 |
||
|Defines the entity's movement on the rails. An entity with this component is only allowed to move on the rail. |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:rail_sensor|minecraft:rail_sensor]]}} |
|{{samp|[[Manual:Minecraft:rail_sensor|minecraft:rail_sensor]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|1273161273 |
|1273161273 |
||
|定义实体在通过激活或未激活的铁轨的行为。 |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:ravager_blocked|minecraft:ravager_blocked]]}} |
|{{samp|[[Manual:Minecraft:ravager_blocked|minecraft:ravager_blocked]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|<nowiki>-</nowiki>1417579541 |
|<nowiki>-</nowiki>1417579541 |
||
|定义劫掠兽的近战攻击被阻挡后的反应。 |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:rideable|minecraft:rideable]]}} |
|{{samp|[[Manual:Minecraft:rideable|minecraft:rideable]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|1656173828 |
|1656173828 |
||
|定义实体是否可以被骑乘。 |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:scale_by_age|minecraft:scale_by_age]]}} |
|{{samp|[[Manual:Minecraft:scale_by_age|minecraft:scale_by_age]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|64881972 |
|64881972 |
||
|Defines the entity's size interpolation based on the entity's age. |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:scheduler|minecraft:scheduler]]}} |
|{{samp|[[Manual:Minecraft:scheduler|minecraft:scheduler]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|<nowiki>-</nowiki>684492525 |
|<nowiki>-</nowiki>684492525 |
||
|Initiates scheduled entity events at time of day events. |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:shareables|minecraft:shareables]]}} |
|{{samp|[[Manual:Minecraft:shareables|minecraft:shareables]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|1301057082 |
|1301057082 |
||
|定义实体想要分享或捡起来的物品列表。 |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:shooter_(实体组件)|minecraft:shooter]]}} |
|{{samp|[[Manual:Minecraft:shooter_(实体组件)|minecraft:shooter]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|184150118 |
|184150118 |
||
|定义实体的远程攻击行为。<code>minecraft:behavior.ranged_attack</code>AI意向使用此组件来决定射出何种投掷物。 |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:sittable|minecraft:sittable]]}} |
|{{samp|[[Manual:Minecraft:sittable|minecraft:sittable]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|<nowiki>-</nowiki>1376274106 |
|<nowiki>-</nowiki>1376274106 |
||
|定义实体的<code>sit</code>状态。 |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:spawn_entity|minecraft:spawn_entity]]}} |
|{{samp|[[Manual:Minecraft:spawn_entity|minecraft:spawn_entity]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|1991964333 |
|1991964333 |
||
|为实体添加一个计时器来计时生成实体或物品(掉落物实体形式,类似于原版鸡的下蛋行为)。 |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:minecraft:suspect_tracking|minecraft:suspect_tracking]]}} |
|{{samp|[[Manual:minecraft:suspect_tracking|minecraft:suspect_tracking]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|690744457 |
|690744457 |
||
|(UNDOCUMENTED) |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:tameable|minecraft:tameable]]}} |
|{{samp|[[Manual:Minecraft:tameable|minecraft:tameable]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|932870003 |
|932870003 |
||
|定义实体被玩家所驯服的规则。 |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:tamemount|minecraft:tamemount]]}} |
|{{samp|[[Manual:Minecraft:tamemount|minecraft:tamemount]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|1615660288 |
|1615660288 |
||
|Allows the entity to be tamed by mounting it. |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:target_nearby_sensor|minecraft:target_nearby_sensor]]}} |
|{{samp|[[Manual:Minecraft:target_nearby_sensor|minecraft:target_nearby_sensor]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|1309819882 |
|1309819882 |
||
|定义一个可以看见或感知到其他实体存在的范围以能够以它们为目标。 |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:teleport|minecraft:teleport]]}} |
|{{samp|[[Manual:Minecraft:teleport|minecraft:teleport]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|<nowiki>-</nowiki>1900891127 |
|<nowiki>-</nowiki>1900891127 |
||
|定义一个实体的传送行为。 |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:tick_world|minecraft:tick_world]]}} |
|{{samp|[[Manual:Minecraft:tick_world|minecraft:tick_world]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|<nowiki>-</nowiki>381759296 |
|<nowiki>-</nowiki>381759296 |
||
|Defines if the entity ticks the world and the radius around it to tick. |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:timer|minecraft:timer]]}} |
|{{samp|[[Manual:Minecraft:timer|minecraft:timer]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|1862095863 |
|1862095863 |
||
|定义一个计时器并在计时结束之后执行事件。 |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:trade_table|minecraft:trade_table]]}} |
|{{samp|[[Manual:Minecraft:trade_table|minecraft:trade_table]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|50480315 |
|50480315 |
||
|定义实体能够和玩家交易。 |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:trail|minecraft:trail]]}} |
|{{samp|[[Manual:Minecraft:trail|minecraft:trail]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|1632590434 |
|1632590434 |
||
|使实体在世界上移动时在方块上留下痕迹。 |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:transformation|minecraft:transformation]]}} |
|{{samp|[[Manual:Minecraft:transformation|minecraft:transformation]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|<nowiki>-</nowiki>457894577 |
|<nowiki>-</nowiki>457894577 |
||
|定义实体从当前的实体定义转变为其它实体的定义(例如从僵尸转变到溺尸)。 |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:trusting|minecraft:trusting]]}} |
|{{samp|[[Manual:Minecraft:trusting|minecraft:trusting]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|936499892 |
|936499892 |
||
|允许实体信任一个或多个玩家。 |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:minecraft:vibration_damper|minecraft:vibration_damper]]}} |
|{{samp|[[Manual:minecraft:vibration_damper|minecraft:vibration_damper]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|1836172792 |
|1836172792 |
||
|(UNDOCUMENTED) |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:minecraft:vibration_listener|minecraft:vibration_listener]]}} |
|{{samp|[[Manual:minecraft:vibration_listener|minecraft:vibration_listener]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|1844567337 |
|1844567337 |
||
|(UNDOCUMENTED) |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:water_movement|minecraft:water_movement]]}} |
|{{samp|[[Manual:Minecraft:water_movement|minecraft:water_movement]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|<nowiki>-</nowiki>128701925 |
|<nowiki>-</nowiki>128701925 |
||
|定义实体在水中移动的速度。 |
|||
| |
|||
|} |
|} |
||
第559行: | 第886行: | ||
{| class="wikitable collapsible" |
{| class="wikitable collapsible" |
||
!<div style="white-space:nowrap; padding:0em 8em 0em 8em;">名称</div> |
!<div style="white-space:nowrap; padding:0em 8em 0em 8em;">名称</div> |
||
!<div style="white-space:nowrap;">可用性</div> |
|||
!实验性玩法 |
|||
!走出实验版本 |
|||
!<div style="white-space:nowrap; padding:0em 8em 0em 8em;">描述</div> |
!<div style="white-space:nowrap; padding:0em 8em 0em 8em;">描述</div> |
||
|- |
|- |
||
|{{samp |
|{{samp|minecraft:entity_transformed}} |
||
|{{tc|yes|可用}} |
|||
| |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|当实体转换为另一个实体时调用事件 |
|||
|- |
|- |
||
|{{samp |
|{{samp|minecraft:entity_born}} |
||
|{{tc|yes|可用}} |
|||
| |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|当实体出生时调用事件 |
|||
|- |
|- |
||
|{{samp |
|{{samp|minecraft:entity_spawned}} |
||
|{{tc|yes|可用}} |
|||
| |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|当实体生成时调用事件 |
|||
|- |
|- |
||
|{{samp |
|{{samp|minecraft:on_prime}} |
||
|{{tc|yes|可用}} |
|||
| |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|当实体开始爆炸膨胀时调用事件 |
|||
|} |
|} |
||
===触发器=== |
===触发器=== |
||
{| class="wikitable collapsible" |
{| class="wikitable collapsible" |
||
!<div style="white-space:nowrap; padding:0em 8em 0em 8em;">名称</div> |
!<div style="white-space:nowrap; padding:0em 8em 0em 8em;">名称</div> |
||
!<div style="white-space:nowrap;">可用性</div> |
|||
!实验性玩法 |
|||
!走出实验版本 |
|||
!数字ID |
!数字ID |
||
!<div style="white-space:nowrap; padding:0em 8em 0em 8em;">描述</div> |
!<div style="white-space:nowrap; padding:0em 8em 0em 8em;">描述</div> |
||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:on_death|minecraft:on_death]]}} |
|{{samp|[[Manual:Minecraft:on_death|minecraft:on_death]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|<nowiki>-</nowiki>49357854 |
|<nowiki>-</nowiki>49357854 |
||
| |
| |
||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:on_friendly_anger|minecraft:on_friendly_angry]]}} |
|{{samp|[[Manual:Minecraft:on_friendly_anger|minecraft:on_friendly_angry]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|<nowiki>-</nowiki>1009986313 |
|<nowiki>-</nowiki>1009986313 |
||
| |
| |
||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:on_hurt|minecraft:on_hurt]]}} |
|{{samp|[[Manual:Minecraft:on_hurt|minecraft:on_hurt]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|<nowiki>-</nowiki>1028603471 |
|<nowiki>-</nowiki>1028603471 |
||
| |
| |
||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:on_hurt_by_player|minecraft:on_hurt_by_player]]}} |
|{{samp|[[Manual:Minecraft:on_hurt_by_player|minecraft:on_hurt_by_player]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|<nowiki>-</nowiki>599009831 |
|<nowiki>-</nowiki>599009831 |
||
| |
| |
||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:on_ignite|minecraft:on_ignite]]}} |
|{{samp|[[Manual:Minecraft:on_ignite|minecraft:on_ignite]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|<nowiki>-</nowiki>1911489054 |
|<nowiki>-</nowiki>1911489054 |
||
| |
| |
||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:on_start_landing|minecraft:on_start_landing]]}} |
|{{samp|[[Manual:Minecraft:on_start_landing|minecraft:on_start_landing]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|<nowiki>-</nowiki>555648368 |
|<nowiki>-</nowiki>555648368 |
||
| |
| |
||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:on_start_takeoff|minecraft:on_start_takeoff]]}} |
|{{samp|[[Manual:Minecraft:on_start_takeoff|minecraft:on_start_takeoff]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|426083399 |
|426083399 |
||
| |
| |
||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:on_target_acquired|minecraft:on_target_acquired]]}} |
|{{samp|[[Manual:Minecraft:on_target_acquired|minecraft:on_target_acquired]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|1063277906 |
|1063277906 |
||
| |
| |
||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:on_target_escape|minecraft:on_target_escape]]}} |
|{{samp|[[Manual:Minecraft:on_target_escape|minecraft:on_target_escape]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|<nowiki>-</nowiki>1373130027 |
|<nowiki>-</nowiki>1373130027 |
||
| |
| |
||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:on_wake_with_owner|minecraft:on_wake_with_owner]]}} |
|{{samp|[[Manual:Minecraft:on_wake_with_owner|minecraft:on_wake_with_owner]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|<nowiki>-</nowiki>1543219003 |
|<nowiki>-</nowiki>1543219003 |
||
| |
| |
||
第623行: | 第999行: | ||
{| class="wikitable collapsible" |
{| class="wikitable collapsible" |
||
!<div style="white-space:nowrap; padding:0em 8em 0em 8em;">名称</div> |
!<div style="white-space:nowrap; padding:0em 8em 0em 8em;">名称</div> |
||
!<div style="white-space:nowrap;">可用性</div> |
|||
!实验性玩法 |
|||
!走出实验版本 |
|||
!数字ID |
!数字ID |
||
!<div style="padding:0em 8em 0em 8em;white-space:nowrap;">描述</div> |
!<div style="padding:0em 8em 0em 8em;white-space:nowrap;">描述</div> |
||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:behavior.admire_item|minecraft:behavior.admire_item]]}} |
|{{samp|[[Manual:Minecraft:behavior.admire_item|minecraft:behavior.admire_item]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|1024844406 |
|1024844406 |
||
|控制实体端详物品。 |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:behavior.barter|minecraft:behavior.barter]]}} |
|{{samp|[[Manual:Minecraft:behavior.barter|minecraft:behavior.barter]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|536670686 |
|536670686 |
||
|在玩家提供交易后,通过在实体附近放置特定物品来迫使实体丢弃物品作为回报。 |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:behavior.beg|minecraft:behavior.beg]]}} |
|{{samp|[[Manual:Minecraft:behavior.beg|minecraft:behavior.beg]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|1346418048 |
|1346418048 |
||
|控制此实体注视并跟随拿着它们喜欢的食物的玩家 |
|控制此实体注视并跟随拿着它们喜欢的食物的玩家 |
||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:behavior.break_door|minecraft:behavior.break_door]]}} |
|{{samp|[[Manual:Minecraft:behavior.break_door|minecraft:behavior.break_door]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|<nowiki>-</nowiki>1798237626 |
|<nowiki>-</nowiki>1798237626 |
||
|控制此实体破坏门 |
|控制此实体破坏门 |
||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:behavior.breed|minecraft:behavior.breed]]}} |
|{{samp|[[Manual:Minecraft:behavior.breed|minecraft:behavior.breed]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|51166360 |
|51166360 |
||
|控制此实体与其他实体繁殖 |
|控制此实体与其他实体繁殖 |
||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:behavior.celebrate|minecraft:behavior.celebrate]]}} |
|{{samp|[[Manual:Minecraft:behavior.celebrate|minecraft:behavior.celebrate]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|995178519 |
|995178519 |
||
|Allows this entity to celebrate by making celebration sounds and jumping. |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:behavior.croak|minecraft:behavior.croak]]}} |
|{{samp|[[Manual:Minecraft:behavior.croak|minecraft:behavior.croak]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
| |
| |
||
|Allows the entity to croak at a random time interval with configurable conditions. |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:behavior.defend_trusted_target|minecraft:behavior.defend_trusted_target]]}} |
|{{samp|[[Manual:Minecraft:behavior.defend_trusted_target|minecraft:behavior.defend_trusted_target]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|2070046390 |
|2070046390 |
||
|Compels an entity to react with an event when a trusted target is attacked. |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:behavior.door_interact|minecraft:behavior.door_interact]]}} |
|{{samp|[[Manual:Minecraft:behavior.door_interact|minecraft:behavior.door_interact]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|<nowiki>-</nowiki>286762735 |
|<nowiki>-</nowiki>286762735 |
||
|控制实体开门和关门 |
|控制实体开门和关门 |
||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:behavior.dragondeath|minecraft:behavior.dragondeath]]}} |
|{{samp|[[Manual:Minecraft:behavior.dragondeath|minecraft:behavior.dragondeath]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|<nowiki>-</nowiki>1541162059 |
|<nowiki>-</nowiki>1541162059 |
||
|控制实体在死亡时播放末影龙死亡动画,此标识控制末影龙的死亡动画并且不能被其他实体控制用。 |
|控制实体在死亡时播放末影龙死亡动画,此标识控制末影龙的死亡动画并且不能被其他实体控制用。 |
||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:behavior.dragonholdingpattern|minecraft:behavior.dragonholdingpattern]]}} |
|{{samp|[[Manual:Minecraft:behavior.dragonholdingpattern|minecraft:behavior.dragonholdingpattern]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|1066617362 |
|1066617362 |
||
|控制龙围绕中央平台以圆形轨迹飞行,只能被末影龙控制用。 |
|控制龙围绕中央平台以圆形轨迹飞行,只能被末影龙控制用。 |
||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:behavior.dragonlanding|minecraft:behavior.dragonlanding]]}} |
|{{samp|[[Manual:Minecraft:behavior.dragonlanding|minecraft:behavior.dragonlanding]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|<nowiki>-</nowiki>152352492 |
|<nowiki>-</nowiki>152352492 |
||
|控制龙停止飞行并过渡到栖息模式,只能被末影龙控制用。 |
|控制龙停止飞行并过渡到栖息模式,只能被末影龙控制用。 |
||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:behavior.dragonscanning|minecraft:behavior.dragonscanning]]}} |
|{{samp|[[Manual:Minecraft:behavior.dragonscanning|minecraft:behavior.dragonscanning]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|<nowiki>-</nowiki>1003941066 |
|<nowiki>-</nowiki>1003941066 |
||
|控制龙处于栖息模式时寻找要攻击的玩家,只能被末影龙控制用。 |
|控制龙处于栖息模式时寻找要攻击的玩家,只能被末影龙控制用。 |
||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:behavior.dragontakeoff|minecraft:behavior.dragontakeoff]]}} |
|{{samp|[[Manual:Minecraft:behavior.dragontakeoff|minecraft:behavior.dragontakeoff]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|<nowiki>-</nowiki>1912535317 |
|<nowiki>-</nowiki>1912535317 |
||
|控制龙由栖息变为盘旋,只能被末影龙控制用。 |
|控制龙由栖息变为盘旋,只能被末影龙控制用。 |
||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:behavior.drink_potion|minecraft:behavior.drink_potion]]}} |
|{{samp|[[Manual:Minecraft:behavior.drink_potion|minecraft:behavior.drink_potion]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|277029334 |
|277029334 |
||
|控制实体根据环境条件喝下药水。 |
|控制实体根据环境条件喝下药水。 |
||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:behavior.eat_carried_item|minecraft:behavior.eat_carried_item]]}} |
|{{samp|[[Manual:Minecraft:behavior.eat_carried_item|minecraft:behavior.eat_carried_item]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|<nowiki>-</nowiki>184757575 |
|<nowiki>-</nowiki>184757575 |
||
|Compels an entity to eat any item in its inventory and gain the benefits of the item. |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:behavior.eat_mob|minecraft:behavior.eat_mob]]}} |
|{{samp|[[Manual:Minecraft:behavior.eat_mob|minecraft:behavior.eat_mob]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
| |
| |
||
|Compels the entity to eat a specified mob. |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:behavior.enderman_leave_block|minecraft:behavior.enderman_leave_block]]}} |
|{{samp|[[Manual:Minecraft:behavior.enderman_leave_block|minecraft:behavior.enderman_leave_block]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|<nowiki>-</nowiki>717580550 |
|<nowiki>-</nowiki>717580550 |
||
|控制末影人放下它们随机拿起的方块,只能被末影人控制用。 |
|控制末影人放下它们随机拿起的方块,只能被末影人控制用。 |
||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:behavior.enderman_take_block|minecraft:behavior.enderman_take_block]]}} |
|{{samp|[[Manual:Minecraft:behavior.enderman_take_block|minecraft:behavior.enderman_take_block]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|<nowiki>-</nowiki>537294220 |
|<nowiki>-</nowiki>537294220 |
||
|控制末影人随机拿走一个方块,只能拿被末影人时控制用。 |
|控制末影人随机拿走一个方块,只能拿被末影人时控制用。 |
||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:behavior.explore_outskirts|minecraft:behavior.explore_outskirts]]}} |
|{{samp|[[Manual:Minecraft:behavior.explore_outskirts|minecraft:behavior.explore_outskirts]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|<nowiki>-</nowiki>1955198366 |
|<nowiki>-</nowiki>1955198366 |
||
|控制实体探索村庄外围区域。 |
|控制实体探索村庄外围区域。 |
||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:behavior.find_cover|minecraft:behavior.find_cover]]}} |
|{{samp|[[Manual:Minecraft:behavior.find_cover|minecraft:behavior.find_cover]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|<nowiki>-</nowiki>1231227755 |
|<nowiki>-</nowiki>1231227755 |
||
|控制实体像狐狸那样寻找一个不露天的地方。 |
|控制实体像狐狸那样寻找一个不露天的地方。 |
||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:behavior.find_mount|minecraft:behavior.find_mount]]}} |
|{{samp|[[Manual:Minecraft:behavior.find_mount|minecraft:behavior.find_mount]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|731306871 |
|731306871 |
||
|控制实体骑到另外一个实体身上。 |
|控制实体骑到另外一个实体身上。 |
||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:behavior.find_underwater_treasure|minecraft:behavior.find_underwater_treasure]]}} |
|{{samp|[[Manual:Minecraft:behavior.find_underwater_treasure|minecraft:behavior.find_underwater_treasure]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|<nowiki>-</nowiki>1602192311 |
|<nowiki>-</nowiki>1602192311 |
||
|控制实体移动至最近的海底废墟或沉船。 |
|控制实体移动至最近的海底废墟或沉船。 |
||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:behavior.flee_sun|minecraft:behavior.flee_sun]]}} |
|{{samp|[[Manual:Minecraft:behavior.flee_sun|minecraft:behavior.flee_sun]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|<nowiki>-</nowiki>617664229 |
|<nowiki>-</nowiki>617664229 |
||
|控制实体避开阳光直射和寻找阴影庇护。 |
|控制实体避开阳光直射和寻找阴影庇护。 |
||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:behavior.float|minecraft:behavior.float]]}} |
|{{samp|[[Manual:Minecraft:behavior.float|minecraft:behavior.float]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|1758503000 |
|1758503000 |
||
|控制实体能浮在水面上。 |
|控制实体能浮在水面上。 |
||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:behavior.float_wander|minecraft:behavior.float_wander]]}} |
|{{samp|[[Manual:Minecraft:behavior.float_wander|minecraft:behavior.float_wander]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|<nowiki>-</nowiki>1122048364 |
|<nowiki>-</nowiki>1122048364 |
||
|控制实体能像恶魂那样漂浮。 |
|控制实体能像恶魂那样漂浮。 |
||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:behavior.follow_caravan|minecraft:behavior.follow_caravan]]}} |
|{{samp|[[Manual:Minecraft:behavior.follow_caravan|minecraft:behavior.follow_caravan]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|9936402 |
|9936402 |
||
|控制实体跟随商队里的实体。 |
|控制实体跟随商队里的实体。 |
||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:behavior.follow_mob|minecraft:behavior.follow_mob]]}} |
|{{samp|[[Manual:Minecraft:behavior.follow_mob|minecraft:behavior.follow_mob]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|<nowiki>-</nowiki>1524701626 |
|<nowiki>-</nowiki>1524701626 |
||
|控制此实体跟随其他实体。 |
|控制此实体跟随其他实体。 |
||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:behavior.follow_owner|minecraft:behavior.follow_owner]]}} |
|{{samp|[[Manual:Minecraft:behavior.follow_owner|minecraft:behavior.follow_owner]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|1213259599 |
|1213259599 |
||
|控制实体跟随其主人。 |
|控制实体跟随其主人。 |
||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:behavior.follow_parent|minecraft:behavior.follow_parent]]}} |
|{{samp|[[Manual:Minecraft:behavior.follow_parent|minecraft:behavior.follow_parent]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|2127040136 |
|2127040136 |
||
|控制实体跟随在其父母周围。 |
|控制实体跟随在其父母周围。 |
||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:behavior.follow_target_captain|minecraft:behavior.follow_target_captain]]}} |
|{{samp|[[Manual:Minecraft:behavior.follow_target_captain|minecraft:behavior.follow_target_captain]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|<nowiki>-</nowiki>135480526 |
|<nowiki>-</nowiki>135480526 |
||
|控制实体朝着目前的目标队长移动。 |
|控制实体朝着目前的目标队长移动。 |
||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:behavior.go_home|minecraft:behavior.go_home]]}} |
|{{samp|[[Manual:Minecraft:behavior.go_home|minecraft:behavior.go_home]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|<nowiki>-</nowiki>1579225026 |
|<nowiki>-</nowiki>1579225026 |
||
|控制此实体回到其出生点。 |
|控制此实体回到其出生点。 |
||
|- |
|- |
||
|{{samp|[[Manual:minecraft:behavior.hide|minecraft:behavior.hide]]}} |
|{{samp|[[Manual:minecraft:behavior.hide|minecraft:behavior.hide]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|233394190 |
|233394190 |
||
|控制实体寻找躲藏处(仅对村民有效)。 |
|控制实体寻找躲藏处(仅对村民有效)。 |
||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:behavior.hold_ground|minecraft:behavior.hold_ground]]}} |
|{{samp|[[Manual:Minecraft:behavior.hold_ground|minecraft:behavior.hold_ground]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|1804286487 |
|1804286487 |
||
|Compels an entity to stop at their current location, turn to face a mob they are targeting, and react with an event. |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:behavior.hurt_by_target|minecraft:behavior.hurt_by_target]]}} |
|{{samp|[[Manual:Minecraft:behavior.hurt_by_target|minecraft:behavior.hurt_by_target]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|<nowiki>-</nowiki>1710404297 |
|<nowiki>-</nowiki>1710404297 |
||
|控制实体把对它造成伤害的实体标记为目标。 |
|控制实体把对它造成伤害的实体标记为目标。 |
||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:behavior.inspect_bookshelf|minecraft:behavior.inspect_bookshelf]]}} |
|{{samp|[[Manual:Minecraft:behavior.inspect_bookshelf|minecraft:behavior.inspect_bookshelf]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|40191182 |
|40191182 |
||
|控制实体查阅书架。 |
|控制实体查阅书架。 |
||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:behavior.jump_to_block|minecraft:behavior.jump_to_block]]}} |
|{{samp|[[Manual:Minecraft:behavior.jump_to_block|minecraft:behavior.jump_to_block]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
| |
| |
||
|Compels the mob to search around for a block to jump to and then jump to that block. |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:behavior.knockback_roar|minecraft:behavior.knockback_roar]]}} |
|{{samp|[[Manual:Minecraft:behavior.knockback_roar|minecraft:behavior.knockback_roar]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|<nowiki>-</nowiki>1304117826 |
|<nowiki>-</nowiki>1304117826 |
||
|控制实体对附近所有实体造成击退伤害。 |
|控制实体对附近所有实体造成击退伤害。 |
||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:behavior.lay_down|minecraft:behavior.lay_down]]}} |
|{{samp|[[Manual:Minecraft:behavior.lay_down|minecraft:behavior.lay_down]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|<nowiki>-</nowiki>2074934675 |
|<nowiki>-</nowiki>2074934675 |
||
|控制实体趴下。 |
|控制实体趴下。 |
||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:behavior.lay_egg|minecraft:behavior.lay_egg]]}} |
|{{samp|[[Manual:Minecraft:behavior.lay_egg|minecraft:behavior.lay_egg]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|<nowiki>-</nowiki>1207740530 |
|<nowiki>-</nowiki>1207740530 |
||
|控制实体在怀孕时在沙子上下蛋。 |
|控制实体在怀孕时在沙子上下蛋。 |
||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:behavior.leap_at_target|minecraft:behavior.leap_at_target]]}} |
|{{samp|[[Manual:Minecraft:behavior.leap_at_target|minecraft:behavior.leap_at_target]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|256926956 |
|256926956 |
||
|控制怪物跳起来攻击它们的目标,只能被敌对实体时控制用。 |
|控制怪物跳起来攻击它们的目标,只能被敌对实体时控制用。 |
||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:behavior.look_at_entity|minecraft:behavior.look_at_entity]]}} |
|{{samp|[[Manual:Minecraft:behavior.look_at_entity|minecraft:behavior.look_at_entity]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|<nowiki>-</nowiki>1735428573 |
|<nowiki>-</nowiki>1735428573 |
||
|控制实体看着它们附近的实体。 |
|控制实体看着它们附近的实体。 |
||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:behavior.look_at_player|minecraft:behavior.look_at_player]]}} |
|{{samp|[[Manual:Minecraft:behavior.look_at_player|minecraft:behavior.look_at_player]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|<nowiki>-</nowiki>1892159379 |
|<nowiki>-</nowiki>1892159379 |
||
|控制实体附近有玩家时看着玩家。 |
|控制实体附近有玩家时看着玩家。 |
||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:behavior.look_at_target|minecraft:behavior.look_at_target]]}} |
|{{samp|[[Manual:Minecraft:behavior.look_at_target|minecraft:behavior.look_at_target]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|<nowiki>-</nowiki>885375871 |
|<nowiki>-</nowiki>885375871 |
||
|控制实体看着被它们标记的目标。 |
|控制实体看着被它们标记的目标。 |
||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:behavior.look_at_trading_player|minecraft:behavior.look_at_trading_player]]}} |
|{{samp|[[Manual:Minecraft:behavior.look_at_trading_player|minecraft:behavior.look_at_trading_player]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|<nowiki>-</nowiki>2094605693 |
|<nowiki>-</nowiki>2094605693 |
||
|控制实体看着与它们交易的目标。 |
|控制实体看着与它们交易的目标。 |
||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:behavior.make_love|minecraft:behavior.make_love]]}} |
|{{samp|[[Manual:Minecraft:behavior.make_love|minecraft:behavior.make_love]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|<nowiki>-</nowiki>1551283431 |
|<nowiki>-</nowiki>1551283431 |
||
|控制村民寻找配偶以生成其他村民,此标识只能被村民控制用。 |
|控制村民寻找配偶以生成其他村民,此标识只能被村民控制用。 |
||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:behavior.mingle|minecraft:behavior.mingle]]}} |
|{{samp|[[Manual:Minecraft:behavior.mingle|minecraft:behavior.mingle]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|385775952 |
|385775952 |
||
|控制村民前往村庄中钟的位置,并与其他村民待在一起。 |
|控制村民前往村庄中钟的位置,并与其他村民待在一起。 |
||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:behavior.mount_pathing|minecraft:behavior.mount_pathing]]}} |
|{{samp|[[Manual:Minecraft:behavior.mount_pathing|minecraft:behavior.mount_pathing]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|1112137677 |
|1112137677 |
||
|控制实体自行游荡寻找攻击目标。 |
|控制实体自行游荡寻找攻击目标。 |
||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:behavior.move_indoors|minecraft:behavior.move_indoors]]}} |
|{{samp|[[Manual:Minecraft:behavior.move_indoors|minecraft:behavior.move_indoors]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|2107078532 |
|2107078532 |
||
|控制村民寻找房屋,此标志只能被村民控制用。 |
|控制村民寻找房屋,此标志只能被村民控制用。 |
||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:behavior.move_through_village|minecraft:behavior.move_through_village]]}} |
|{{samp|[[Manual:Minecraft:behavior.move_through_village|minecraft:behavior.move_through_village]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|779377630 |
|779377630 |
||
|控制村民创建环绕村庄的路径,此标志只能被村民控制用。 |
|控制村民创建环绕村庄的路径,此标志只能被村民控制用。 |
||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:behavior.move_to_land|minecraft:behavior.move_to_land]]}} |
|{{samp|[[Manual:Minecraft:behavior.move_to_land|minecraft:behavior.move_to_land]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|<nowiki>-</nowiki>943551837 |
|<nowiki>-</nowiki>943551837 |
||
|控制此实体在水里时回到岸上。 |
|控制此实体在水里时回到岸上。 |
||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:behavior.move_to_lava|minecraft:behavior.move_to_lava]]}} |
|{{samp|[[Manual:Minecraft:behavior.move_to_lava|minecraft:behavior.move_to_lava]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|<nowiki>-</nowiki>945036492 |
|<nowiki>-</nowiki>945036492 |
||
|Compels an entity to move to lava when on land. |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:minecraft:behavior.move_to_poi|minecraft:behavior.move_to_poi]]}} |
|{{samp|[[Manual:minecraft:behavior.move_to_poi|minecraft:behavior.move_to_poi]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|1721669938 |
|1721669938 |
||
|控制实体移动到POI(工作方块、床、钟)。 |
|控制实体移动到POI(工作方块、床、钟)。 |
||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:behavior.move_to_random_block|minecraft:behavior.move_to_random_block]]}} |
|{{samp|[[Manual:Minecraft:behavior.move_to_random_block|minecraft:behavior.move_to_random_block]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|395022171 |
|395022171 |
||
|控制实体向一个随机方块移动。 |
|控制实体向一个随机方块移动。 |
||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:behavior.move_to_village|minecraft:behavior.move_to_village]]}} |
|{{samp|[[Manual:Minecraft:behavior.move_to_village|minecraft:behavior.move_to_village]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|<nowiki>-</nowiki>805189394 |
|<nowiki>-</nowiki>805189394 |
||
|控制实体移动到村庄内的一个随机地点。 |
|控制实体移动到村庄内的一个随机地点。 |
||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:behavior.move_to_water|minecraft:behavior.move_to_water]]}} |
|{{samp|[[Manual:Minecraft:behavior.move_to_water|minecraft:behavior.move_to_water]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|1886139445 |
|1886139445 |
||
|控制此实体上岸时回到水里。 |
|控制此实体上岸时回到水里。 |
||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:behavior.move_towards_target|minecraft:behavior.move_towards_target]]}} |
|{{samp|[[Manual:Minecraft:behavior.move_towards_target|minecraft:behavior.move_towards_target]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|<nowiki>-</nowiki>166537884 |
|<nowiki>-</nowiki>166537884 |
||
|控制实体移向其当前目标。 |
|控制实体移向其当前目标。 |
||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:behavior.nap|minecraft:behavior.nap]]}} |
|{{samp|[[Manual:Minecraft:behavior.nap|minecraft:behavior.nap]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|992184933 |
|992184933 |
||
|控制实体小睡(无需床)。 |
|控制实体小睡(无需床)。 |
||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:behavior.nearest_attackable_target|minecraft:behavior.nearest_attackable_target]]}} |
|{{samp|[[Manual:Minecraft:behavior.nearest_attackable_target|minecraft:behavior.nearest_attackable_target]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|5824270165841165755 |
|5824270165841165755 |
||
|控制实体检查并追赶距离最近的有效目标。 |
|控制实体检查并追赶距离最近的有效目标。 |
||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:behavior.nearest_prioritized_attackable_target|minecraft:behavior.nearest_priorized_attackable_target]]}} |
|{{samp|[[Manual:Minecraft:behavior.nearest_prioritized_attackable_target|minecraft:behavior.nearest_priorized_attackable_target]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|335414683 |
|335414683 |
||
|Compels an entity to target and prioritize the nearest valid target. |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:behavior.ocelot_sit_on_block|minecraft:behavior.ocelot_sit_on_block]]}} |
|{{samp|[[Manual:Minecraft:behavior.ocelot_sit_on_block|minecraft:behavior.ocelot_sit_on_block]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|<nowiki>-</nowiki>1327999383 |
|<nowiki>-</nowiki>1327999383 |
||
|控制实体像豹猫那样原地坐下。 |
|控制实体像豹猫那样原地坐下。 |
||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:behavior.offer_flower|minecraft:behavior.offer_flower]]}} |
|{{samp|[[Manual:Minecraft:behavior.offer_flower|minecraft:behavior.offer_flower]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|<nowiki>-</nowiki>885387854 |
|<nowiki>-</nowiki>885387854 |
||
|控制实体送出花(仅对铁傀儡有效)。 |
|控制实体送出花(仅对铁傀儡有效)。 |
||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:behavior.open_door|minecraft:behavior.open_door]]}} |
|{{samp|[[Manual:Minecraft:behavior.open_door|minecraft:behavior.open_door]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|<nowiki>-</nowiki>906200433 |
|<nowiki>-</nowiki>906200433 |
||
|Compels an entity to interact and open a door. |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:behavior.owner_hurt_by_target|minecraft:behavior.owner_hurt_by_target]]}} |
|{{samp|[[Manual:Minecraft:behavior.owner_hurt_by_target|minecraft:behavior.owner_hurt_by_target]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|530667419 |
|530667419 |
||
|Compels an entity to react when the owner is hit by a target. |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:behavior.owner_hurt_target|minecraft:behavior.owner_hurt_target]]}} |
|{{samp|[[Manual:Minecraft:behavior.owner_hurt_target|minecraft:behavior.owner_hurt_target]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|995655261 |
|995655261 |
||
|Compels an entity to react when the owner hits a target. |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:behavior.panic|minecraft:behavior.panic]]}} |
|{{samp|[[Manual:Minecraft:behavior.panic|minecraft:behavior.panic]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|<nowiki>-</nowiki>169886247 |
|<nowiki>-</nowiki>169886247 |
||
|Compels an entity to react when it receives damage. |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:behavior.peek|minecraft:behavior.peek]]}} |
|{{samp|[[Manual:Minecraft:behavior.peek|minecraft:behavior.peek]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|211304085 |
|211304085 |
||
|Compels an entity to peek out. |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:behavior.pet_sleep_with_owner|minecraft:behavior.pet_sleep_with_owner]]}} |
|{{samp|[[Manual:Minecraft:behavior.pet_sleep_with_owner|minecraft:behavior.pet_sleep_with_owner]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|1379392240 |
|1379392240 |
||
|Compels an entity to sleep on a bed shared with its sleeping owner. |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:behavior.pickup_items|minecraft:behavior.pickup_items]]}} |
|{{samp|[[Manual:Minecraft:behavior.pickup_items|minecraft:behavior.pickup_items]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|644287189 |
|644287189 |
||
|Compels an entity to pick up selected items off the ground. |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:behavior.play|minecraft:behavior.play]]}} |
|{{samp|[[Manual:Minecraft:behavior.play|minecraft:behavior.play]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|<nowiki>-</nowiki>505601580 |
|<nowiki>-</nowiki>505601580 |
||
|Compels the mob to play with other mobs by chasing each other and moving around randomly. |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:behavior.player_ride_tamed|minecraft:behavior.player_ride_tamed]]}} |
|{{samp|[[Manual:Minecraft:behavior.player_ride_tamed|minecraft:behavior.player_ride_tamed]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|603869698 |
|603869698 |
||
|Allows an entity to be rideable after being tamed by a player. |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:behavior.raid_garden|minecraft:behavior.raid_garden]]}} |
|{{samp|[[Manual:Minecraft:behavior.raid_garden|minecraft:behavior.raid_garden]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|<nowiki>-</nowiki>1145687602 |
|<nowiki>-</nowiki>1145687602 |
||
|Compels an entity to eat crops that have been planted in a farm. |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:behavior.random_breach|minecraft:behavior.random_breach]]}} |
|{{samp|[[Manual:Minecraft:behavior.random_breach|minecraft:behavior.random_breach]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|928528911 |
|928528911 |
||
|Compels an entity to breach the surface of the water at a random interval. |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:behavior.random_fly|minecraft:behavior.random_fly]]}} |
|{{samp|[[Manual:Minecraft:behavior.random_fly|minecraft:behavior.random_fly]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|<nowiki>-</nowiki>446385505 |
|<nowiki>-</nowiki>446385505 |
||
|Compels an entity to fly to a random spot. |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:behavior.random_hover|minecraft:behavior.random_hover]]}} |
|{{samp|[[Manual:Minecraft:behavior.random_hover|minecraft:behavior.random_hover]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|<nowiki>-</nowiki>1797323808 |
|<nowiki>-</nowiki>1797323808 |
||
|Compels the entity to hover around randomly, close to the surface. |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:behavior.random_look_around|minecraft:behavior.random_look_around]]}} |
|{{samp|[[Manual:Minecraft:behavior.random_look_around|minecraft:behavior.random_look_around]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|1177762851 |
|1177762851 |
||
|Compels an entity to choose a random direction to look in for a random duration within a range. |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:behavior.random_look_around_and_sit|minecraft:behavior.random_look_around_and_sit]]}} |
|{{samp|[[Manual:Minecraft:behavior.random_look_around_and_sit|minecraft:behavior.random_look_around_and_sit]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|<nowiki>-</nowiki>1368070166 |
|<nowiki>-</nowiki>1368070166 |
||
|Compels an entity to sit in place and look around in different directions. The entity must have a sitting animation configured in order to use this goal. |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:behavior.random_sitting|minecraft:behavior.random_sitting]]}} |
|{{samp|[[Manual:Minecraft:behavior.random_sitting|minecraft:behavior.random_sitting]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|1722716662 |
|1722716662 |
||
|Compels an entity to stop and sit for a random duration of time. |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:behavior.random_stroll|minecraft:behavior.random_stroll]]}} |
|{{samp|[[Manual:Minecraft:behavior.random_stroll|minecraft:behavior.random_stroll]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|<nowiki>-</nowiki>1643504294 |
|<nowiki>-</nowiki>1643504294 |
||
|Compels an entity to choose a random direction to walk towards. |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:behavior.random_swim|minecraft:behavior.random_swim]]}} |
|{{samp|[[Manual:Minecraft:behavior.random_swim|minecraft:behavior.random_swim]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|<nowiki>-</nowiki>1465281278 |
|<nowiki>-</nowiki>1465281278 |
||
|Compels an entity to swim in a random point in water. |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:behavior.receive_love|minecraft:behavior.receive_love]]}} |
|{{samp|[[Manual:Minecraft:behavior.receive_love|minecraft:behavior.receive_love]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|1156694272 |
|1156694272 |
||
|Inspires an entity to mate with another similar entity when approached to breed. |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:behavior.restrict_open_door|minecraft:behavior.restrict_open_door]]}} |
|{{samp|[[Manual:Minecraft:behavior.restrict_open_door|minecraft:behavior.restrict_open_door]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|715583988 |
|715583988 |
||
|Compels an entity to stay indoors while the sun is down. |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:behavior.restrict_sun|minecraft:behavior.restrict_sun]]}} |
|{{samp|[[Manual:Minecraft:behavior.restrict_sun|minecraft:behavior.restrict_sun]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|<nowiki>-</nowiki>382716017 |
|<nowiki>-</nowiki>382716017 |
||
|Compels an entity to actively avoid direct sunlight. |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:behavior.rise_to_liquid_level|minecraft:behavior.rise_to_liquid_level]]}} |
|{{samp|[[Manual:Minecraft:behavior.rise_to_liquid_level|minecraft:behavior.rise_to_liquid_level]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|<nowiki>-</nowiki>950950337 |
|<nowiki>-</nowiki>950950337 |
||
|Compels an entity to rise to the top of a liquid block if they are located in one or have spawned under a liquid block. |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:behavior.roll|minecraft:behavior.roll]]}} |
|{{samp|[[Manual:Minecraft:behavior.roll|minecraft:behavior.roll]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|817471653 |
|817471653 |
||
|Compels an entity to roll forward. |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:behavior.run_around_like_crazy|minecraft:behavior.run_around_like_crazy]]}} |
|{{samp|[[Manual:Minecraft:behavior.run_around_like_crazy|minecraft:behavior.run_around_like_crazy]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|<nowiki>-</nowiki>1390363669 |
|<nowiki>-</nowiki>1390363669 |
||
|Compels an entity to run around without a set goal. |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:minecraft:behavior.scared|minecraft:behavior.scared]]}} |
|{{samp|[[Manual:minecraft:behavior.scared|minecraft:behavior.scared]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|1812936510 |
|1812936510 |
||
|Compels an entity to become scared when the weather outside is thundering. |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:behavior.send_event|minecraft:behavior.seed_event]]}} |
|{{samp|[[Manual:Minecraft:behavior.send_event|minecraft:behavior.seed_event]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|<nowiki>-</nowiki>823429137 |
|<nowiki>-</nowiki>823429137 |
||
|Compels an entity to send an event to another entity. |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:behavior.share_items|minecraft:behavior.share_items]]}} |
|{{samp|[[Manual:Minecraft:behavior.share_items|minecraft:behavior.share_items]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|2045906118 |
|2045906118 |
||
|Compels an entity to share items they have in their inventory with other specific entities that have been defined. |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:behavior.silverfish_merge_with_stone|minecraft:behavior.silverfish_merge]]}} |
|{{samp|[[Manual:Minecraft:behavior.silverfish_merge_with_stone|minecraft:behavior.silverfish_merge]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|321908121 |
|321908121 |
||
|Compels an entity to enter a stone block. |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:behavior.silverfish_wake_up_friends|minecraft:behavior.silverfish_wake_up_friends]]}} |
|{{samp|[[Manual:Minecraft:behavior.silverfish_wake_up_friends|minecraft:behavior.silverfish_wake_up_friends]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|484391748 |
|484391748 |
||
|Compels an entity to alert other entities of the same family to leave a stone block. |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:behavior.skeleton_horse_trap|minecraft:behavior.skeleton_horse_trap]]}} |
|{{samp|[[Manual:Minecraft:behavior.skeleton_horse_trap|minecraft:behavior.skeleton_horse_trap]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|530952387 |
|530952387 |
||
|Allows an entity to function as a skeleton horse trap and be triggered, spawning a lightning bolt, additional skeleton horses, and skeleton horse riders, when a player approaches to within a set radius. |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:behavior.sleep|minecraft:behavior.sleep]]}} |
|{{samp|[[Manual:Minecraft:behavior.sleep|minecraft:behavior.sleep]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|<nowiki>-</nowiki>1811763 |
|<nowiki>-</nowiki>1811763 |
||
|Allows an entity to sleep in a bed. |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:behavior.slime_attack|minecraft:behavior.slime_attack]]}} |
|{{samp|[[Manual:Minecraft:behavior.slime_attack|minecraft:behavior.slime_attack]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|<nowiki>-</nowiki>1315951081 |
|<nowiki>-</nowiki>1315951081 |
||
|Enables mobs with <code>minecraft:movement.jump</code> to path towards their target like a <code>slime</code> or <code>magma_cube</code> does to attack. |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:behavior.snacking|minecraft:behavior.snacking]]}} |
|{{samp|[[Manual:Minecraft:behavior.snacking|minecraft:behavior.snacking]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|875141064 |
|875141064 |
||
|Compels an entity to stop and interact with select food items that are nearby. |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:behavior.sneeze|minecraft:behavior.sneeze]]}} |
|{{samp|[[Manual:Minecraft:behavior.sneeze|minecraft:behavior.sneeze]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|1528584076 |
|1528584076 |
||
|Compels an entity to sneeze and potentially startle other entities. While sneezing, the entity may drop an item. |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:behavior.squid_dive|minecraft:behavior.squid_dive]]}} |
|{{samp|[[Manual:Minecraft:behavior.squid_dive|minecraft:behavior.squid_dive]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|1626998843 |
|1626998843 |
||
|Compels an entity to dive underwater. |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:behavior.squid_flee|minecraft:behavior.squid_flee]]}} |
|{{samp|[[Manual:Minecraft:behavior.squid_flee|minecraft:behavior.squid_flee]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|1304043261 |
|1304043261 |
||
|Compels an entity to swim away when attacked. |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:behavior.squid_idle|minecraft:behavior.squid_idle]]}} |
|{{samp|[[Manual:Minecraft:behavior.squid_idle|minecraft:behavior.squid_idle]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|1741234679 |
|1741234679 |
||
|Compels an entity to swim in place. |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:behavior.squid_move_away_from_ground|minecraft:behavior.squid_move_away_from_ground]]}} |
|{{samp|[[Manual:Minecraft:behavior.squid_move_away_from_ground|minecraft:behavior.squid_move_away_from_ground]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|892387674 |
|892387674 |
||
|Compels an entity to swim away from the ground blocks. |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:behavior.squid_out_of_water|minecraft:behavior.squid_out_of_water]]}} |
|{{samp|[[Manual:Minecraft:behavior.squid_out_of_water|minecraft:behavior.squid_out_of_water]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|<nowiki>-</nowiki>1347598607 |
|<nowiki>-</nowiki>1347598607 |
||
|Compels an entity to stay close to a ground block when out of water. |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:behavior.stalk_and_pounce_on_target|minecraft:behavior.stalk_and_pounce_on_target]]}} |
|{{samp|[[Manual:Minecraft:behavior.stalk_and_pounce_on_target|minecraft:behavior.stalk_and_pounce_on_target]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|<nowiki>-</nowiki>1248479202 |
|<nowiki>-</nowiki>1248479202 |
||
|Compels an entity to stalk a specific target. Once within range of the target, the entity will then leap at the target and deal damage based upon its attack attribute. |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:behavior.stay_while_sitting|minecraft:behavior.stay_while_sitting]]}} |
|{{samp|[[Manual:Minecraft:behavior.stay_while_sitting|minecraft:behavior.stay_while_sitting]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|1346980478 |
|1346980478 |
||
|Compels an entity to stay in place while sitting. |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:behavior.stomp_turtle_egg|minecraft:behavior.stomp_turtle_egg]]}} |
|{{samp|[[Manual:Minecraft:behavior.stomp_turtle_egg|minecraft:behavior.stomp_turtle_egg]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|851839416 |
|851839416 |
||
|Compels an entity to target and stomp on turtle eggs when detected. |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:behavior.stroll_towards_village|minecraft:behavior.stroll_towards_village]]}} |
|{{samp|[[Manual:Minecraft:behavior.stroll_towards_village|minecraft:behavior.stroll_towards_village]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|<nowiki>-</nowiki>1563831906 |
|<nowiki>-</nowiki>1563831906 |
||
|Compels an entity to navigate and search for a nearby village. |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:behavior.summon_entity|minecraft:behavior.summon_entity]]}} |
|{{samp|[[Manual:Minecraft:behavior.summon_entity|minecraft:behavior.summon_entity]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|<nowiki>-</nowiki>2005850647 |
|<nowiki>-</nowiki>2005850647 |
||
|Compels an entity to attack other entities by summoning new entities. |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:behavior.swell|minecraft:behavior.swell]]}} |
|{{samp|[[Manual:Minecraft:behavior.swell|minecraft:behavior.swell]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|<nowiki>-</nowiki>1473132493 |
|<nowiki>-</nowiki>1473132493 |
||
|Compels an entity to grow in size when approached and scale down back to normal after a certain distance. |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:behavior.take_flower|minecraft:behavior.take_flower]]}} |
|{{samp|[[Manual:Minecraft:behavior.take_flower|minecraft:behavior.take_flower]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|1218648257 |
|1218648257 |
||
|Allows an entity to receive flowers when presented from the <code>iron_golem</code> entity. |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:behavior.tempt|minecraft:behavior.tempt]]}} |
|{{samp|[[Manual:Minecraft:behavior.tempt|minecraft:behavior.tempt]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|422904556 |
|422904556 |
||
|Compels an entity to be tempted by a set item. |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:behavior.trade_interest|minecraft:behavior.trade_interest]]}} |
|{{samp|[[Manual:Minecraft:behavior.trade_interest|minecraft:behavior.trade_interest]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|<nowiki>-</nowiki>574851053 |
|<nowiki>-</nowiki>574851053 |
||
|Compels an entity to focus on a player that will initiate a trade. |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:behavior.trade_with_player|minecraft:behavior.trade_with_player]]}} |
|{{samp|[[Manual:Minecraft:behavior.trade_with_player|minecraft:behavior.trade_with_player]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|<nowiki>-</nowiki>2048563493 |
|<nowiki>-</nowiki>2048563493 |
||
|Compels the entity to stop moving and trade with the player. |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:behavior.vex_copy_owner_target|minecraft:behavior.vex_copy_owner_target]]}} |
|{{samp|[[Manual:Minecraft:behavior.vex_copy_owner_target|minecraft:behavior.vex_copy_owner_target]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|<nowiki>-</nowiki>643459543 |
|<nowiki>-</nowiki>643459543 |
||
|Compels an entity of the <code>vex</code> family to target the same entity as its owner. |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:behavior.vex_random_move|minecraft:behavior.vex_random_move]]}} |
|{{samp|[[Manual:Minecraft:behavior.vex_random_move|minecraft:behavior.vex_random_move]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|<nowiki>-</nowiki>1117822165 |
|<nowiki>-</nowiki>1117822165 |
||
|Allows an entity of the <code>vex</code> family to move randomly. |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:behavior.wither_random_attack_pos_goal|minecraft:behavior.wither_random_attack_pos_goal]]}} |
|{{samp|[[Manual:Minecraft:behavior.wither_random_attack_pos_goal|minecraft:behavior.wither_random_attack_pos_goal]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|<nowiki>-</nowiki>528895885 |
|<nowiki>-</nowiki>528895885 |
||
|Compels an entity to attack at random. |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:behavior.wither_target_highest_damage|minecraft:behavior.wither_target_highest_damage]]}} |
|{{samp|[[Manual:Minecraft:behavior.wither_target_highest_damage|minecraft:behavior.wither_target_highest_damage]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|<nowiki>-</nowiki>1065562072 |
|<nowiki>-</nowiki>1065562072 |
||
|Compels an entity to focus its attacks on whichever hostile mob has dealt the most damage to it. |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:minecraft:behavior.work|minecraft:behavior.work]]}} |
|{{samp|[[Manual:minecraft:behavior.work|minecraft:behavior.work]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|<nowiki>-</nowiki>1700601421 |
|<nowiki>-</nowiki>1700601421 |
||
|Compels the NPC to use their jobsite point of interest (POI). |
|||
| |
|||
|} |
|} |
||
第1,094行: | 第1,821行: | ||
{| class="wikitable collapsible" |
{| class="wikitable collapsible" |
||
!<div style="white-space:nowrap; padding:0em 8em 0em 8em;">名称</div> |
!<div style="white-space:nowrap; padding:0em 8em 0em 8em;">名称</div> |
||
!<div style="white-space:nowrap;">可用性</div> |
|||
!实验性玩法 |
|||
!走出实验版本 |
|||
!<div style="white-space:nowrap; padding:0em 8em 0em 8em;">描述</div> |
!<div style="white-space:nowrap; padding:0em 8em 0em 8em;">描述</div> |
||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:spawns_on_surface|minecraft:spawns_on_surface]]}} |
|{{samp|[[Manual:Minecraft:spawns_on_surface|minecraft:spawns_on_surface]]}} |
||
|{{tc|yes|可用}} |
|||
| |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|定义实体是否生成在表面 |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:spawns_underwater|minecraft:spawns_underwater]]}} |
|{{samp|[[Manual:Minecraft:spawns_underwater|minecraft:spawns_underwater]]}} |
||
|{{tc|yes|可用}} |
|||
| |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|定义实体是否生成在水中 |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:brightness_filter|minecraft:brightness_filter]]}} |
|{{samp|[[Manual:Minecraft:brightness_filter|minecraft:brightness_filter]]}} |
||
|{{tc|yes|可用}} |
|||
| |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|此组件允许玩家设置生物生成的光照环境等级范围。范围设置在 0 到 16 之间,以及是否忽略天气 |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:weight|minecraft:weight]]}} |
|{{samp|[[Manual:Minecraft:weight|minecraft:weight]]}} |
||
|{{tc|yes|可用}} |
|||
| |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|定义当前的生成规则权重。与权重值较高的生物相比,权重值较低的生物生成几率更低 |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:difficulty_filter|minecraft:difficulty_filter]]}} |
|{{samp|[[Manual:Minecraft:difficulty_filter|minecraft:difficulty_filter]]}} |
||
|{{tc|yes|可用}} |
|||
| |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|此组件允许玩家设置具有特定难度级别的生物生成 |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:herd|minecraft:herd]]}} |
|{{samp|[[Manual:Minecraft:herd|minecraft:herd]]}} |
||
|{{tc|yes|可用}} |
|||
| |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|该组件允许玩家确定实体的生成规模 |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:biome_filter|minecraft:biome_filter]]}} |
|{{samp|[[Manual:Minecraft:biome_filter|minecraft:biome_filter]]}} |
||
|{{tc|yes|可用}} |
|||
| |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|此组件允许玩家指定当前生物在哪些生物群系中生成。检查 minecraft:biome_filter 以查看存在哪些生物群系标签,以及每个生物群系的标记 |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:density_limit|minecraft:density_limit]]}} |
|{{samp|[[Manual:Minecraft:density_limit|minecraft:density_limit]]}} |
||
|{{tc|yes|可用}} |
|||
| |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|此组件允许玩家指定在特定位置生成的生物数量密度 |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:world_age_filter|minecraft:world_age_filter]]}} |
|{{samp|[[Manual:Minecraft:world_age_filter|minecraft:world_age_filter]]}} |
||
|{{tc|yes|可用}} |
|||
| |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|此组件允许玩家在世界中经过一定时间后设置生物生成 |
|||
|} |
|} |
||
第1,127行: | 第1,884行: | ||
{| class="wikitable collapsible" |
{| class="wikitable collapsible" |
||
!<div style="white-space:nowrap; padding:0em 8em 0em 8em;">名称</div> |
!<div style="white-space:nowrap; padding:0em 8em 0em 8em;">名称</div> |
||
!<div style="white-space:nowrap;">可用性</div> |
|||
!实验性玩法 |
|||
!走出实验版本 |
|||
!数字ID |
!数字ID |
||
!<div style="white-space:nowrap; padding:0em 8em 0em 8em;">描述</div> |
!<div style="white-space:nowrap; padding:0em 8em 0em 8em;">描述</div> |
||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:attack|minecraft:attack]]}} |
|{{samp|[[Manual:Minecraft:attack|minecraft:attack]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|1651346034 |
|1651346034 |
||
|设置实体的攻击特性 |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:spell_effects|minecraft:spell_effects]]}} |
|{{samp|[[Manual:Minecraft:spell_effects|minecraft:spell_effects]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|523264365 |
|523264365 |
||
| |
| |
||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:strength|minecraft:strength]]}} |
|{{samp|[[Manual:Minecraft:strength|minecraft:strength]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|648564399 |
|648564399 |
||
| |
|||
|} |
|||
===共享特性=== |
|||
{| class="wikitable collapsible" |
|||
!<div style="white-space:nowrap; padding:0em 8em 0em 8em;">名称</div> |
|||
!<div style="white-space:nowrap;">可用性</div> |
|||
!实验性玩法 |
|||
!走出实验版本 |
|||
!数字ID |
|||
!<div style="white-space:nowrap; padding:0em 8em 0em 8em;">描述</div> |
|||
|- |
|||
|{{samp|[[Manual:minecraft:absorption|minecraft:absorption]]}} |
|||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
| |
|||
|设置实体伤害吸收的量 |
|||
|- |
|||
|{{samp|[[Manual:minecraft:attack_damage|minecraft:attack_damage]]}} |
|||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
| |
|||
|设置实体的攻击伤害 |
|||
|- |
|||
|{{samp|[[Manual:minecraft:follow_range|minecraft:follow_range]]}} |
|||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
| |
|||
| |
|||
|- |
|||
|{{samp|[[Manual:minecraft:health|minecraft:health]]}} |
|||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
| |
|||
|设置实体的真实生命值 |
|||
|- |
|||
|{{samp|[[Manual:minecraft:horse.jump_strength|minecraft:horse.jump_strength]]}} |
|||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
| |
|||
| |
|||
|- |
|||
|{{samp|[[Manual:minecraft:lava_movement|minecraft:lava_movement]]}} |
|||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
| |
|||
| |
|||
|- |
|||
|{{samp|[[Manual:minecraft:knockback_resistance_(实体组件)|minecraft:knockback_resistance]]}} |
|||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
| |
|||
| |
|||
|- |
|||
|{{samp|[[Manual:minecraft:movement|minecraft:movement]]}} |
|||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
| |
|||
|设置实体的移动速度 |
|||
|- |
|||
|{{samp|[[Manual:minecraft:player.exhaustion|minecraft:player.exhaustion]]}} |
|||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
| |
|||
|设置玩家的疲劳度 |
|||
|- |
|||
|{{samp|[[Manual:minecraft:player.experience|minecraft:player.experience]]}} |
|||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
| |
|||
|设置玩家的经验值 |
|||
|- |
|||
|{{samp|[[Manual:minecraft:player.hunger|minecraft:player.hunger]]}} |
|||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
| |
|||
|设置玩家的饥饿值 |
|||
|- |
|||
|{{samp|[[Manual:minecraft:player.level|minecraft:player.level]]}} |
|||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
| |
|||
|设置玩家的经验等级 |
|||
|- |
|||
|{{samp|[[Manual:minecraft:player.saturation|minecraft:player.saturation]]}} |
|||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
| |
|||
|设置玩家的饱和度 |
|||
|- |
|||
|{{samp|[[Manual:minecraft:underwater_movement|minecraft:underwater_movement]]}} |
|||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
| |
|||
|设置实体在水下的移动速度 |
|||
|- |
|||
|{{samp|[[Manual:minecraft:zombie.spawn_reinforcements|minecraft:zombie.spawn_reinforcements]]}} |
|||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
| |
|||
| |
| |
||
|} |
|} |
||
第1,146行: | 第2,030行: | ||
{| class="wikitable collapsible" |
{| class="wikitable collapsible" |
||
!<div style="white-space:nowrap; padding:0em 8em 0em 8em;">名称</div> |
!<div style="white-space:nowrap; padding:0em 8em 0em 8em;">名称</div> |
||
!<div style="white-space:nowrap;">可用性</div> |
|||
!实验性玩法 |
|||
!走出实验版本 |
|||
!数字ID |
!数字ID |
||
!<div style="white-space:nowrap; padding:0em 8em 0em 8em;">描述</div> |
!<div style="white-space:nowrap; padding:0em 8em 0em 8em;">描述</div> |
||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:ambient_sound_interval|minecraft:ambient_sound_interval]]}} |
|{{samp|[[Manual:Minecraft:ambient_sound_interval|minecraft:ambient_sound_interval]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|<nowiki>-</nowiki>1314051310 |
|<nowiki>-</nowiki>1314051310 |
||
| |
| |
||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:can_climb|minecraft:can_climb]]}} |
|{{samp|[[Manual:Minecraft:can_climb|minecraft:can_climb]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|<nowiki>-</nowiki>550459594 |
|<nowiki>-</nowiki>550459594 |
||
|定义实体是否能爬梯子 |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:can_fly|minecraft:can_fly]]}} |
|{{samp|[[Manual:Minecraft:can_fly|minecraft:can_fly]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|985724318 |
|985724318 |
||
| |
| |
||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:can_power_jump|minecraft:can_power_jump]]}} |
|{{samp|[[Manual:Minecraft:can_power_jump|minecraft:can_power_jump]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|<nowiki>-</nowiki>763124853 |
|<nowiki>-</nowiki>763124853 |
||
| |
| |
||
|- |
|- |
||
|{{samp|[[Manual:Minecraft: |
|{{samp|[[Manual:Minecraft:collision_box_(实体组件)|minecraft:collision_box]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|<nowiki>-</nowiki>1277663508 |
|<nowiki>-</nowiki>1277663508 |
||
|设置实体的碰撞箱 |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:color|minecraft:color]]}} |
|{{samp|[[Manual:Minecraft:color|minecraft:color]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|1069623177 |
|1069623177 |
||
| |
| |
||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:color2|minecraft:color2]]}} |
|{{samp|[[Manual:Minecraft:color2|minecraft:color2]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|1429635777 |
|1429635777 |
||
| |
| |
||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:default_look_angle|minecraft:default_look_angle]]}} |
|{{samp|[[Manual:Minecraft:default_look_angle|minecraft:default_look_angle]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|<nowiki>-</nowiki>815556357 |
|<nowiki>-</nowiki>815556357 |
||
| |
| |
||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:equipment|minecraft:equipment]]}} |
|{{samp|[[Manual:Minecraft:equipment|minecraft:equipment]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|714661022 |
|714661022 |
||
| |
| |
||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:fire_immune|minecraft:fire_immune]]}} |
|{{samp|[[Manual:Minecraft:fire_immune|minecraft:fire_immune]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|<nowiki>-</nowiki>1071767182 |
|<nowiki>-</nowiki>1071767182 |
||
| |
| |
||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:floats_in_liquid|minecraft:floats_in_liquid]]}} |
|{{samp|[[Manual:Minecraft:floats_in_liquid|minecraft:floats_in_liquid]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|179778474 |
|179778474 |
||
| |
| |
||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:flying_speed|minecraft:flying_speed]]}} |
|{{samp|[[Manual:Minecraft:flying_speed|minecraft:flying_speed]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|<nowiki>-</nowiki>570508595 |
|<nowiki>-</nowiki>570508595 |
||
|设置实体的飞行速度 |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:friction_modifier|minecraft:friction_modifier]]}} |
|{{samp|[[Manual:Minecraft:friction_modifier|minecraft:friction_modifier]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|<nowiki>-</nowiki>714364556 |
|<nowiki>-</nowiki>714364556 |
||
| |
| |
||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:ground_offset|minecraft:ground_offset]]}} |
|{{samp|[[Manual:Minecraft:ground_offset|minecraft:ground_offset]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|<nowiki>-</nowiki>1816881803 |
|<nowiki>-</nowiki>1816881803 |
||
| |
| |
||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:input_ground_controlled|minecraft:input_ground_controlled]]}} |
|{{samp|[[Manual:Minecraft:input_ground_controlled|minecraft:input_ground_controlled]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|<nowiki>-</nowiki>646415617 |
|<nowiki>-</nowiki>646415617 |
||
| |
| |
||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:is_baby|minecraft:is_baby]]}} |
|{{samp|[[Manual:Minecraft:is_baby|minecraft:is_baby]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|1853172763 |
|1853172763 |
||
|设置实体是婴儿 |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:is_charged|minecraft:is_charged]]}} |
|{{samp|[[Manual:Minecraft:is_charged|minecraft:is_charged]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|125340337 |
|125340337 |
||
| |
| |
||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:is_chested|minecraft:is_chested]]}} |
|{{samp|[[Manual:Minecraft:is_chested|minecraft:is_chested]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|<nowiki>-</nowiki>817599379 |
|<nowiki>-</nowiki>817599379 |
||
| |
| |
||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:is_dyeable|minecraft:is_dyeable]]}} |
|{{samp|[[Manual:Minecraft:is_dyeable|minecraft:is_dyeable]]}} |
||
|{{tc|yes|可用}} |
|||
|1381448355 |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
| 1381448355 |
|||
| |
| |
||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:is_hidden_when_invisible|minecraft:is_hidden_when_invisible]]}} |
|{{samp|[[Manual:Minecraft:is_hidden_when_invisible|minecraft:is_hidden_when_invisible]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|<nowiki>-</nowiki>1553744 |
|<nowiki>-</nowiki>1553744 |
||
| |
| |
||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:is_ignited|minecraft:is_ignited]]}} |
|{{samp|[[Manual:Minecraft:is_ignited|minecraft:is_ignited]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|905710223 |
|905710223 |
||
| |
| |
||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:is_illager_captain|minecraft:is_illager_captain]]}} |
|{{samp|[[Manual:Minecraft:is_illager_captain|minecraft:is_illager_captain]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|921912694 |
|921912694 |
||
| |
| |
||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:is_saddled|minecraft:is_saddled]]}} |
|{{samp|[[Manual:Minecraft:is_saddled|minecraft:is_saddled]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|1037901616 |
|1037901616 |
||
| |
| |
||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:is_shaking|minecraft:is_shaking]]}} |
|{{samp|[[Manual:Minecraft:is_shaking|minecraft:is_shaking]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|523951884 |
|523951884 |
||
| |
| |
||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:is_sheared|minecraft:is_sheared]]}} |
|{{samp|[[Manual:Minecraft:is_sheared|minecraft:is_sheared]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|1154836813 |
|1154836813 |
||
| |
| |
||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:is_stackable|minecraft:is_stackable]]}} |
|{{samp|[[Manual:Minecraft:is_stackable|minecraft:is_stackable]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|1184456737 |
|1184456737 |
||
| |
| |
||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:is_stunned|minecraft:is_stunned]]}} |
|{{samp|[[Manual:Minecraft:is_stunned|minecraft:is_stunned]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|1818977510 |
|1818977510 |
||
| |
| |
||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:is_tamed|minecraft:is_tamed]]}} |
|{{samp|[[Manual:Minecraft:is_tamed|minecraft:is_tamed]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|1646421078 |
|1646421078 |
||
| |
| |
||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:item_controllable|minecraft:item_controllable]]}} |
|{{samp|[[Manual:Minecraft:item_controllable|minecraft:item_controllable]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|1868311069 |
|1868311069 |
||
| |
| |
||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:loot_(实体组件)|minecraft:loot]]}} |
|{{samp|[[Manual:Minecraft:loot_(实体组件)|minecraft:loot]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|1775814032 |
|1775814032 |
||
|设置实体死亡时掉落的战利品表 |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:mark_variant|minecraft:mark_variant]]}} |
|{{samp|[[Manual:Minecraft:mark_variant|minecraft:mark_variant]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|663621689 |
|663621689 |
||
| |
| |
||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:push_through|minecraft:push_through]]}} |
|{{samp|[[Manual:Minecraft:push_through|minecraft:push_through]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|<nowiki>-</nowiki>138030768 |
|<nowiki>-</nowiki>138030768 |
||
| |
| |
||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:scale|minecraft:scale]]}} |
|{{samp|[[Manual:Minecraft:scale|minecraft:scale]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|77854436 |
|77854436 |
||
|设置实体模型的缩放程度 |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:skin_id|minecraft:skin_id]]}} |
|{{samp|[[Manual:Minecraft:skin_id|minecraft:skin_id]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|1838729593 |
|1838729593 |
||
|设置实体的外观id |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:sound_volume|minecraft:sound_volume]]}} |
|{{samp|[[Manual:Minecraft:sound_volume|minecraft:sound_volume]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|937951776 |
|937951776 |
||
|设置实体的基本音量 |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:type_family|minecraft:type_family]]}} |
|{{samp|[[Manual:Minecraft:type_family|minecraft:type_family]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|<nowiki>-</nowiki>255011285 |
|<nowiki>-</nowiki>255011285 |
||
|设置实体的家族 |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:variant|minecraft:variant]]}} |
|{{samp|[[Manual:Minecraft:variant|minecraft:variant]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|<nowiki>-</nowiki>1789583977 |
|<nowiki>-</nowiki>1789583977 |
||
| |
| |
||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:walk_animation_speed|minecraft:walk_animation_speed]]}} |
|{{samp|[[Manual:Minecraft:walk_animation_speed|minecraft:walk_animation_speed]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|972393614 |
|972393614 |
||
|设置实体的行走动画速度(乘数) |
|||
| |
|||
|- |
|- |
||
|{{samp|[[Manual:Minecraft:wants_jockey|minecraft:wants_jockey]]}} |
|{{samp|[[Manual:Minecraft:wants_jockey|minecraft:wants_jockey]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|1832515141 |
|1832515141 |
||
| |
| |
||
第1,309行: | 第2,313行: | ||
{| class="wikitable collapsible" |
{| class="wikitable collapsible" |
||
!<div style="white-space:nowrap; padding:0em 8em 0em 8em;">名称</div> |
!<div style="white-space:nowrap; padding:0em 8em 0em 8em;">名称</div> |
||
!<div style="white-space:nowrap;">可用性</div> |
|||
!实验性玩法 |
|||
!走出实验版本 |
|||
!<div style="white-space:nowrap; padding:0em 8em 0em 8em;">描述</div> |
!<div style="white-space:nowrap; padding:0em 8em 0em 8em;">描述</div> |
||
|- |
|- |
||
|{{samp|[[Manual:clock_time|clock_time]]}} |
|{{samp|[[Manual:clock_time|clock_time]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
| |
| |
||
|- |
|- |
||
|{{samp|[[Manual:distance_to_nearest_player|distance_to_nearest_player]]}} |
|{{samp|[[Manual:distance_to_nearest_player|distance_to_nearest_player]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
| |
| |
||
|- |
|- |
||
|{{samp|[[Manual:has_ability|has_ability]]}} |
|{{samp|[[Manual:has_ability|has_ability]]}} |
||
|{{tc|yes|可用}} |
|||
| |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|当主体实体具有命名能力时返回 true |
|||
|- |
|- |
||
|{{samp|[[Manual:has_biome_tag|has_biome_tag]]}} |
|{{samp|[[Manual:has_biome_tag|has_biome_tag]]}} |
||
|{{tc|yes|可用}} |
|||
| |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|测试主体所在的生物群系是否具有指定的标签 |
|||
|- |
|- |
||
|{{samp|[[Manual:has_component|has_component]]}} |
|{{samp|[[Manual:has_component|has_component]]}} |
||
|{{tc|yes|可用}} |
|||
| |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|当主体实体包含命名组件时返回 true |
|||
|- |
|- |
||
|{{samp|[[Manual:has_container_open|has_container_open]]}} |
|{{samp|[[Manual:has_container_open|has_container_open]]}} |
||
|{{tc|yes|可用}} |
|||
| |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|当主体玩家实体打开容器时返回 true |
|||
|- |
|- |
||
|{{samp|[[Manual:has_damage|has_damage]]}} |
|{{samp|[[Manual:has_damage|has_damage]]}} |
||
|{{tc|yes|可用}} |
|||
| |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|当主体实体收到命名的损害类型时返回 true |
|||
|- |
|- |
||
|{{samp|[[Manual:has_equipment|has_equipment]]}} |
|{{samp|[[Manual:has_equipment|has_equipment]]}} |
||
|{{tc|yes|可用}} |
|||
| |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|测试主体实体的指定槽中是否存在命名项 |
|||
|- |
|- |
||
|{{samp|[[Manual:has_mob_effect|has_mob_effect]]}} |
|{{samp|[[Manual:has_mob_effect|has_mob_effect]]}} |
||
|{{tc|yes|可用}} |
|||
| |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|测试主体是否具有指定的药水效果 |
|||
|- |
|- |
||
|{{samp|[[Manual:has_ranged_weapon|has_ranged]]}} |
|{{samp|[[Manual:has_ranged_weapon|has_ranged]]}} |
||
|{{tc|yes|可用}} |
|||
| |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|当主体实体手持远程武器(如弓或弩)时返回 true |
|||
|- |
|- |
||
|{{samp|[[Manual:has_tag|has_tag]]}} |
|{{samp|[[Manual:has_tag|has_tag]]}} |
||
|{{tc|yes|可用}} |
|||
| |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|如果主体实体拥有此标记,则返回 true |
|||
|- |
|- |
||
|{{samp|[[Manual:has_target|has_target]]}} |
|{{samp|[[Manual:has_target|has_target]]}} |
||
|{{tc|yes|可用}} |
|||
| |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|如果主体实体具有有效的目标,则返回 true |
|||
|- |
|- |
||
|{{samp|[[Manual:has_trade_supply|has_trade_supply]]}} |
|{{samp|[[Manual:has_trade_supply|has_trade_supply]]}} |
||
|{{tc|yes|可用}} |
|||
| |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|测试目标是否剩余任何交易供应。如果目标无法交易,将返回 false |
|||
|- |
|- |
||
|{{samp|[[Manual:hourly_clock_time|hourly_clock_time]]}} |
|{{samp|[[Manual:hourly_clock_time|hourly_clock_time]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
| |
| |
||
|- |
|- |
||
|{{samp|[[Manual:in_block|in_block]]}} |
|{{samp|[[Manual:in_block|in_block]]}} |
||
|{{tc|yes|可用}} |
|||
| |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|当主体实体位于指定的块类型内时返回 true |
|||
|- |
|- |
||
|{{samp|[[Manual:in_caravan|in_caravan]]}} |
|{{samp|[[Manual:in_caravan|in_caravan]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
| |
| |
||
|- |
|- |
||
|{{samp|[[Manual:in_clouds|in_clouds]]}} |
|{{samp|[[Manual:in_clouds|in_clouds]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
| |
| |
||
|- |
|- |
||
|{{samp|[[Manual:in_contact_with_water|in_contact_with_water]]}} |
|{{samp|[[Manual:in_contact_with_water|in_contact_with_water]]}} |
||
|{{tc|yes|可用}} |
|||
| |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|当主体实体与任何形式的水接触时返回 true:水、雨、飞溅水瓶 |
|||
|- |
|- |
||
|{{samp|[[Manual:in_lava|in_lava]]}} |
|{{samp|[[Manual:in_lava|in_lava]]}} |
||
|{{tc|yes|可用}} |
|||
| |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|当主体实体处于熔岩中时返回 true |
|||
|- |
|- |
||
|{{samp|[[Manual:in_nether|in_nether]]}} |
|{{samp|[[Manual:in_nether|in_nether]]}} |
||
|{{tc|yes|可用}} |
|||
| |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|当主体实体位于维度 Nether 中时返回 true |
|||
|- |
|- |
||
|{{samp|[[Manual:in_water|in_water]]}} |
|{{samp|[[Manual:in_water|in_water]]}} |
||
|{{tc|yes|可用}} |
|||
| |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|当主体实体处于水中或雨中时返回 true |
|||
|- |
|- |
||
|{{samp|[[Manual:in_water_or_rain|in_water_or_rain]]}} |
|{{samp|[[Manual:in_water_or_rain|in_water_or_rain]]}} |
||
|{{tc|yes|可用}} |
|||
| |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|当主体实体在水中时返回 true |
|||
|- |
|- |
||
|{{samp|[[Manual:inactivity_timer|inactivity_timer]]}} |
|{{samp|[[Manual:inactivity_timer|inactivity_timer]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
| |
| |
||
|- |
|- |
||
|{{samp|[[Manual:is_altitude|is_altitude]]}} |
|{{samp|[[Manual:is_altitude|is_altitude]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
| |
| |
||
|- |
|- |
||
|{{samp|[[Manual:is_avoiding_mobs|is_avoiding_mobs]]}} |
|{{samp|[[Manual:is_avoiding_mobs|is_avoiding_mobs]]}} |
||
|{{tc|yes|可用}} |
|||
| |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|如果主体实体正在逃离其他生物,则返回 true |
|||
|- |
|- |
||
|{{samp|[[Manual:is_biome|is_biome]]}} |
|{{samp|[[Manual:is_biome|is_biome]]}} |
||
|{{tc|yes|可用}} |
|||
| |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|测试主体当前是否在命名生物群系中 |
|||
|- |
|- |
||
|{{samp|[[Manual:is_block|is_block]]}} |
|{{samp|[[Manual:is_block|is_block]]}} |
||
|{{tc|yes|可用}} |
|||
| |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|当块具有给定名称时返回 true |
|||
|- |
|- |
||
|{{samp|[[Manual:is_brightness|is_brigtness]]}} |
|{{samp|[[Manual:is_brightness|is_brigtness]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
| |
| |
||
|- |
|- |
||
|{{samp|[[Manual:is_climbing|is_climbing]]}} |
|{{samp|[[Manual:is_climbing|is_climbing]]}} |
||
|{{tc|yes|可用}} |
|||
| |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|如果主体实体正在攀爬,则返回 true |
|||
|- |
|- |
||
|{{samp|[[Manual:is_color|is_color]]}} |
|{{samp|[[Manual:is_color|is_color]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
| |
| |
||
|- |
|- |
||
|{{samp|[[Manual:is_daytime|is_daytime]]}} |
|{{samp|[[Manual:is_daytime|is_daytime]]}} |
||
|{{tc|yes|可用}} |
|||
| |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|在白天返回 true |
|||
|- |
|- |
||
|{{samp|[[Manual:is_difficulty|is_difficulty]]}} |
|{{samp|[[Manual:is_difficulty|is_difficulty]]}} |
||
|{{tc|yes|可用}} |
|||
| |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|测试游戏的当前难度级别 |
|||
|- |
|- |
||
|{{samp|[[Manual:is_family|is_family]]}} |
|{{samp|[[Manual:is_family|is_family]]}} |
||
|{{tc|yes|可用}} |
|||
| |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|当主体实体是命名族的成员时返回 true |
|||
|- |
|- |
||
|{{samp|[[Manual:is_game_rule|is_game_rule]]}} |
|{{samp|[[Manual:is_game_rule|is_game_rule]]}} |
||
|{{tc|yes|可用}} |
|||
| |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|测试命名游戏规则是否处于活动状态 |
|||
|- |
|- |
||
|{{samp|[[Manual:is_humid|is_humid]]}} |
|{{samp|[[Manual:is_humid|is_humid]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
| |
| |
||
|- |
|- |
||
|{{samp|[[Manual:is_immobile|is_immobile]]}} |
|{{samp|[[Manual:is_immobile|is_immobile]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
| |
| |
||
|- |
|- |
||
|{{samp|[[Manual:is_in_village|is_village]]}} |
|{{samp|[[Manual:is_in_village|is_village]]}} |
||
|{{tc|yes|可用}} |
|||
| |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|测试主体是否在村庄的范围内 |
|||
|- |
|- |
||
|{{samp|[[Manual:is_leashed|is_leashed]]}} |
|{{samp|[[Manual:is_leashed|is_leashed]]}} |
||
|{{tc|yes|可用}} |
|||
| |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|如果主体实体被牵引,则返回 true |
|||
|- |
|- |
||
|{{samp|[[Manual:is_leashed_to|is_leashed_to]]}} |
|{{samp|[[Manual:is_leashed_to|is_leashed_to]]}} |
||
|{{tc|yes|可用}} |
|||
| |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|如果主体实体被束缚到调用实体,则返回 true |
|||
|- |
|- |
||
|{{samp|[[Manual:is_mark_variant|is_mark_variant]]}} |
|{{samp|[[Manual:is_mark_variant|is_mark_variant]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
| |
| |
||
|- |
|- |
||
|{{samp|[[Manual:is_moving|is_moving]]}} |
|{{samp|[[Manual:is_moving|is_moving]]}} |
||
|{{tc|yes|可用}} |
|||
| |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|如果主体实体正在移动,则返回 true |
|||
|- |
|- |
||
|{{samp|[[Manual:is_owner|is_owner]]}} |
|{{samp|[[Manual:is_owner|is_owner]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
| |
| |
||
|- |
|- |
||
|{{samp|[[Manual:is_persistent|is_persistent]]}} |
|{{samp|[[Manual:is_persistent|is_persistent]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
| |
| |
||
|- |
|- |
||
|{{samp|[[Manual:is_riding|is_riding]]}} |
|{{samp|[[Manual:is_riding|is_riding]]}} |
||
|{{tc|yes|可用}} |
|||
| |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|如果主体实体骑乘另一个实体,则返回 true |
|||
|- |
|- |
||
|{{samp|[[Manual:is_skin_id|is_skin_id]]}} |
|{{samp|[[Manual:is_skin_id|is_skin_id]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
| |
| |
||
|- |
|- |
||
|{{samp|[[Manual:is_sleeping|is_sleeping]]}} |
|{{samp|[[Manual:is_sleeping|is_sleeping]]}} |
||
|{{tc|yes|可用}} |
|||
| |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|测试当前实体是否在睡觉状态 |
|||
|- |
|- |
||
|{{samp|[[Manual:is_sneaking|is_sneaking]]}} |
|{{samp|[[Manual:is_sneaking|is_sneaking]]}} |
||
|{{tc|yes|可用}} |
|||
| |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|测试当前实体是否在潜行状态 |
|||
|- |
|- |
||
|{{samp|[[Manual:is_snow_covered|is_snow_covered]]}} |
|{{samp|[[Manual:is_snow_covered|is_snow_covered]]}} |
||
|{{tc|yes|可用}} |
|||
| |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|测试主体实体是否在积雪覆盖的区域 |
|||
|- |
|- |
||
|{{samp|[[Manual:is_target|is_target]]}} |
|{{samp|[[Manual:is_target|is_target]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
| |
| |
||
|- |
|- |
||
|{{samp|[[Manual:is_temperature_type|is_temperature_type]]}} |
|{{samp|[[Manual:is_temperature_type|is_temperature_type]]}} |
||
|{{tc|yes|可用}} |
|||
| |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|测试当前温度是否为给定类型 |
|||
|- |
|- |
||
|{{samp|[[Manual:is_temperature_value|is_temperature_value]]}} |
|{{samp|[[Manual:is_temperature_value|is_temperature_value]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
| |
| |
||
|- |
|- |
||
|{{samp|[[Manual:is_underground|is_underground]]}} |
|{{samp|[[Manual:is_underground|is_underground]]}} |
||
|{{tc|yes|可用}} |
|||
| |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|当主体实体位于地下时返回 true。如果实体上方有非实心块,则被视为地下实体 |
|||
|- |
|- |
||
|{{samp|[[Manual:is_underwater|is_underwater]]}} |
|{{samp|[[Manual:is_underwater|is_underwater]]}} |
||
|{{tc|yes|可用}} |
|||
| |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|当主体实体在水下时返回 true |
|||
|- |
|- |
||
|{{samp|[[Manual:is_variant|is_variant]]}} |
|{{samp|[[Manual:is_variant|is_variant]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
| |
| |
||
|- |
|- |
||
|{{samp|[[Manual:is_visible|is_visible]]}} |
|{{samp|[[Manual:is_visible|is_visible]]}} |
||
|{{tc|yes|可用}} |
|||
| |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|如果主体实体可见,则返回 true |
|||
|- |
|- |
||
|{{samp|[[Manual:is_weather|is_weather]]}} |
|{{samp|[[Manual:is_weather|is_weather]]}} |
||
|{{tc|yes|可用}} |
|||
| |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|测试实体当前所处的天气环境 |
|||
|- |
|- |
||
|{{samp|[[Manual:light_level|light_level]]}} |
|{{samp|[[Manual:light_level|light_level]]}} |
||
|{{tc|yes|可用}} |
|||
| |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|测试实体当前所处的亮度环境。范围设置在 0 到 16 之间 |
|||
|- |
|- |
||
|{{samp|[[Manual:moon_intensity|moon_intensity]]}} |
|{{samp|[[Manual:moon_intensity|moon_intensity]]}} |
||
|{{tc|yes|可用}} |
|||
| |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|将当前月球强度与 0.0 和 1.0 范围内的浮点值进行比较。0.0为满月 |
|||
|- |
|- |
||
|{{samp|[[Manual:moon_phase|moon_phase]]}} |
|{{samp|[[Manual:moon_phase|moon_phase]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
| |
| |
||
|- |
|- |
||
|{{samp|[[Manual:on_ground|on_ground]]}} |
|{{samp|[[Manual:on_ground|on_ground]]}} |
||
|{{tc|yes|可用}} |
|||
| |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|当主体实体位于地面上时返回 true |
|||
|- |
|- |
||
|{{samp|[[Manual:on_ladder|on_ladder]]}} |
|{{samp|[[Manual:on_ladder|on_ladder]]}} |
||
|{{tc|yes|可用}} |
|||
| |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|当主体实体位于梯子上时返回 true |
|||
|- |
|- |
||
|{{samp|[[Manual:random_chance|random_chance]]}} |
|{{samp|[[Manual:random_chance|random_chance]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
| |
| |
||
|- |
|- |
||
|{{samp|[[Manual:rider_count|rider_count]]}} |
|{{samp|[[Manual:rider_count|rider_count]]}} |
||
|{{tc|yes|可用}} |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
| |
| |
||
|- |
|- |
||
|{{samp|[[Manual:surface_mob|surface_mob]]}} |
|{{samp|[[Manual:surface_mob|surface_mob]]}} |
||
|{{tc|yes|可用}} |
|||
| |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|测试主体实体是否为地表生物。由生成规则而定 |
|||
|- |
|- |
||
|{{samp|[[Manual:trusts|trusts]]}} |
|{{samp|[[Manual:trusts|trusts]]}} |
||
|{{tc|yes|可用}} |
|||
| |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|如果主体实体受测试实体信任,则返回 true |
|||
|- |
|- |
||
|{{samp|[[Manual:weather|weather]]}} |
|{{samp|[[Manual:weather|weather]]}} |
||
|{{tc|yes|可用}} |
|||
| |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|测试实体正在经历的当前天气状态 |
|||
|- |
|- |
||
|{{samp|[[Manual:weather_at_position|weather_at_position]]}} |
|{{samp|[[Manual:weather_at_position|weather_at_position]]}} |
||
|{{tc|yes|可用}} |
|||
| |
|||
|{{tc|n/a}} |
|||
|{{tc|n/a}} |
|||
|根据提供的天气值测试参与者位置的当前天气 |
|||
|} |
|} |
2024年3月11日 (一) 06:33的最新版本
描述[编辑]
客户端[编辑]
名称
|
类型
|
默认值
|
描述
|
---|---|---|---|
identifier | 字符串 | 无 | 设置该实体的赋命名空间标识符。 |
min_engine_version | 字符串 | 无 | 设置该实体使用的最小游戏引擎版本。 |
materials | 对象 | 无 | 设置该实体使用的材质。 |
textures | 对象 | 无 | 设置该实体使用的纹理。 |
geometry | 对象 | 无 | 设置该实体使用的模型。 |
scripts | 对象 | 无 | 实体脚本,可用于控制实体的缩放比例、执行何种动画或动画控制器以及在每次执行动画之前执行的Molang表达式。 |
animations | 对象 | 无 | 设置该实体使用的动画或动画控制器。 |
animation_controllers | 对象 | 无 | 设置该实体使用的动画控制器(仅限格式版本1.8.0使用) |
render_controllers | 对象 | 无 | 设置该实体使用的渲染控制器,以控制何时使用何种材质、纹理和模型。 |
locators | 对象 | 无 | |
enable_attachables | 布尔值 | true
|
设置该实体是否启用附着物。 |
hide_armor | 布尔值 | true
|
|
spawn_egg | 对象 | 无 | 设置该实体的刷怪蛋颜色,仅限行为包的描述中的is_spawnable为true时自动在创造模式物品栏中添加刷怪蛋。 |
服务端[编辑]
名称
|
类型
|
默认值
|
数字ID
|
描述
|
---|---|---|---|---|
identifier | 字符串 | 无 | — | 设置该实体的赋命名空间标识符。 |
is_experimental | 布尔值 | false
|
— | 设置该实体是否属于实验性玩法。 |
is_spawnable | 布尔值 | false
|
— | 设置该实体是否可以自然生成或通过刷怪蛋生成(当设置为true 时游戏会自动向物品栏中添加刷怪蛋物品)。
|
is_summonable | 布尔值 | false
|
— | 设置该实体是否可被命令生成。 |
runtime_identifier | 字符串 | 无 | — | 设置该实体调用何种实体的硬编码,必须是一个原版实体的硬编码。 |
scripts | 对象 | 无 | -76244517 | 设置该实体的脚本,可用于控制执行何种动画或动画控制器。 |
animations | 对象 | 无 | 1232311658 | 设置该实体的动画和动画控制器,可用于执行命令或触发events 定义的生成事件。
|
组件[编辑]
基础组件[编辑]
名称
|
可用性
|
实验性玩法 | 走出实验版本 | 数字ID | 描述
|
---|---|---|---|---|---|
minecraft:addrider | 可用 | N/A | N/A | -1014528905 | 为实体添加骑手。 |
minecraft:admire_item | 可用 | N/A | N/A | -1838165406 | 使实体在端详物品时无视可攻击的目标。 |
minecraft:ageable | 可用 | N/A | N/A | 1092934985 | 为实体的生长添加一个计时器,并且可使用特定物品喂食该实体来加速其生长。 |
minecraft:anger_level | 可用 | N/A | N/A | 500775548 | 允许实体对可疑目标产生愤怒。 |
minecraft:angry | 可用 | N/A | N/A | 725411499 | 通过计时器设置实体的愤怒状态。 |
minecraft:annotation.break_door | 可用 | N/A | N/A | 2116838963 | 允许实体破门(假设组件在导航中使用了适当的标志) |
minecraft:annotation.open_door | 可用 | N/A | N/A | 1004733768 | 允许实体开门(假设组件在导航中使用了适当的标志) |
minecraft:area_attack | 可用 | N/A | N/A | 1169114880 | 在定义区域内对其他实体造成伤害。 |
minecraft:attack_cooldown | 可用 | N/A | N/A | -1439360398 | 为实体添加冷却。 |
minecraft:barter | 可用 | N/A | N/A | -1660828566 | 允许实体通过以物易物的方式掉落物品。 |
minecraft:block_climber | 可用 | N/A | N/A | -505801518 | 允许玩家在脚手架上检测和操作。 |
minecraft:block_sensor | 可用 | N/A | N/A | 1944169706 | 当在此传感器特定方块列表中的方块被破坏时触发事件。 |
minecraft:boostable | 可用 | N/A | N/A | -8316315 | 定义可骑行实体提升的条件和行为。 |
minecraft:boss | 可用 | N/A | N/A | -1309638025 | 定义BOSS的当前状态以更新BOSS HUD。 |
minecraft:break_blocks | 可用 | N/A | N/A | -944056304 | 控制当实体移动时可以破坏何种方块。 |
minecraft:breathable | 可用 | N/A | N/A | -707187232 | 控制实体的呼吸。 |
minecraft:breedable | 可用 | N/A | N/A | -1616430100 | 控制一个实体在喂食之后进入love 状态。
|
minecraft:bribeable | 可用 | N/A | N/A | -2125526908 | 控制一个实体进入bribed 状态。
|
minecraft:buoyant | 可用 | N/A | N/A | -467213736 | 允许实体在特定的流体方块上漂浮。 |
minecraft:burns_in_daylight | 可用 | N/A | N/A | 1256874605 | 控制此实体在白天燃烧。 |
minecraft:celebrate_hunt | 可用 | N/A | N/A | -789611239 | 控制实体在捕猎特定实体后庆祝。 |
minecraft:combat_regeneration | 可用 | N/A | N/A | -315365016 | 提供生命恢复I并移除玩家的挖掘疲劳效果。 |
minecraft:conditional_bandwidth_optimization | 可用 | N/A | N/A | 1333085468 | 定义此实体的条件空间更新带宽优化。 |
minecraft:custom_hit_test | 可用 | N/A | N/A | 2035968892 | 定义针对实体的近战和远程命中数的命中列表。 |
minecraft:damage_over_time | 可用 | N/A | N/A | -656420526 | 按时间间隔对实体造成指定伤害。 |
minecraft:damage_sensor | 可用 | N/A | N/A | -82616534 | 定义了该实体在被特定实体或物品伤害后调用何种事件。 |
minecraft:despawn | 可用 | N/A | N/A | 1674909940 | 当自然消失规则或可选过滤器的值为true 时,该实体将自然消失。
|
minecraft:drying_out_timer | 可用 | N/A | N/A | 2113510784 | 设置一个计时器。当实体不在水中时,该计时器将倒计时并启动dried_out_event 并在下雨或实体入水后立即停止及时,且启动stopped_drying_out_event 。
|
minecraft:economy_trade_table | 可用 | N/A | N/A | 1705466896 | 定义实体能够和玩家交易。 |
minecraft:entity_sensor | 可用 | N/A | N/A | -406052184 | 当在特定范围内的其他实体满足一些特定条件之后触发事件。 |
minecraft:environment_sensor | 可用 | N/A | N/A | 687748970 | 基于环境条件创建触发器。 |
minecraft:equip_item | 可用 | N/A | N/A | -1774220620 | 控制实体穿着其想穿着的装备。 |
minecraft:equippable | 可用 | N/A | N/A | -1164142226 | 定义为该实体配备物品的行为。 |
minecraft:exhaustion_values | 可用 | N/A | N/A | 1522147793 | 定义玩家操作(如疾跑、跳)应消耗多少饥饿值。 |
minecraft:experience_reward | 可用 | N/A | N/A | -1992597900 | 定义该实体在成功繁殖或实体死亡后奖励的经验值。 |
minecraft:explode | 可用 | N/A | N/A | -1683058581 | 定义实体产生的爆炸。 |
minecraft:flocking | 可用 | N/A | N/A | 1967597361 | 定义实体在水中是否成群结队。 |
minecraft:game_event_movement_tracking | 可用 | N/A | N/A | 763815151 | 强制实体作出移动、游泳游戏事件,其具体取决于实体正在何种方块上移动,默认情况下,它会添加到每个实体中。 |
minecraft:genetics | 可用 | N/A | N/A | -82484670 | 定义实体的基因和等位基因传递给后代的方式,以及这些特征如何在孩子身上表现出来。 |
minecraft:giveable | 可用 | N/A | N/A | 1739199795 | Defines sets of items that can be used to trigger events when used on the entity. The item will also be taken and placed in the entity's inventory. |
minecraft:group_size | 可用 | N/A | N/A | -1997375941 | Keeps track of entity group size in the given radius. |
minecraft:grows_crop | 可用 | N/A | N/A | 43636353 | 当实体走过农作物时可以使农作物生长。 |
minecraft:healable | 可用 | N/A | N/A | -54247424 | Defines the interactions with the entity for healing it. |
minecraft:home | 可用 | N/A | N/A | 610829097 | Saves a home point of interest for when the the entity is spawned. |
minecraft:hurt_on_condition | 可用 | N/A | N/A | 163715083 | 定义实体何时应当受到伤害的一组条件。 |
minecraft:inside_block_notifier | 可用 | N/A | N/A | -377593253 | Verifies whether the entity is inside any of the listed blocks. |
minecraft:insomnia | 可用 | N/A | N/A | -300455606 | 添加自从上次休息经过了多长时间的计时器,以判断幻翼是否应当生成。 |
minecraft:instant_despawn | 可用 | N/A | N/A | -634288138 | 令实体立即自然消失。 |
minecraft:interact | 可用 | N/A | N/A | -1996861528 | 定义与该实体的互动。 |
minecraft:inventory | 可用 | N/A | N/A | 1941951218 | 定义该实体的物品栏如何管理。 |
minecraft:item_hopper | 可用 | N/A | N/A | -447601772 | 定义实体像漏斗方块一样工作。 |
minecraft:jump.dynamic | 可用 | N/A | N/A | 945664737 | Defines a dynamic type jump control that will change jump properties based on the speed modifier of the entity. |
minecraft:jump.static | 可用 | N/A | N/A | 1064987526 | 允许实体跳跃。 |
minecraft:leashable | 可用 | N/A | N/A | 893445039 | 允许实体被拴住,并且定义被拴住的条件以及当实体被拴住后触发的事件。 |
minecraft:lookat | 可用 | N/A | N/A | -1329707008 | 定义当其他实体看向该实体时的行为。 |
minecraft:managed_wandering_trader | 可用 | N/A | N/A | 846609640 | 允许此实体交易。 |
minecraft:mob_effect | 可用 | N/A | N/A | 490430596 | Applies a mob effect to entities that get within range. |
minecraft:movement.amphibious | 可用 | N/A | N/A | -500784850 | (运动机制)允许实体可以在水中游泳以及在陆地上行走。 |
minecraft:movement.basic | 可用 | N/A | N/A | 3354475 | (运动机制)定义实体的运动。 |
minecraft:movement.dolphin | 可用 | N/A | N/A | 3354475 | (运动机制)定义实体像海豚般运动。 |
minecraft:movement.fly | 可用 | N/A | N/A | -1487316136 | (运动机制)允许实体飞翔。 |
minecraft:movement.generic | 可用 | N/A | N/A | -1363369868 | (运动机制)允许实体游泳、飞翔、攀爬等。 |
minecraft:movement.hover | 可用 | N/A | N/A | 1743805051 | (运动机制)Defines the movement control for flying entities with a gliding movement. |
minecraft:movement.jump | 可用 | N/A | N/A | 1256268727 | (运动机制)Causes the entity to jump as it moves with a specified delay between jumps. |
minecraft:movement.skip | 可用 | N/A | N/A | -1828832272 | (运动机制)Causes the entity to hop as it moves. |
minecraft:movement.sway | 可用 | N/A | N/A | 2126249079 | (运动机制)Causes the entity to sway side to side giving the impression it is swimming. |
minecraft:nameable | 可用 | N/A | N/A | -595398763 | 允许实体被命名(例如使用命名牌时)。 |
minecraft:navigation.climb | 可用 | N/A | N/A | -1075360945 | (寻路机制)控制实体生成包括垂直的墙在内的路径,像原版蜘蛛一样。 |
minecraft:navigation.float | 可用 | N/A | N/A | -842998036 | (寻路机制)控制实体生成可以在空中漂浮的路径,像普通的恶魂一样。 |
minecraft:navigation.fly | 可用 | N/A | N/A | -1997823129 | (寻路机制)控制实体生成包含空气的路径,像原版鹦鹉一样。 |
minecraft:navigation.generic | 可用 | N/A | N/A | 1768002583 | (寻路机制)控制实体生成可以通过行走、游泳、飞翔并且/或者是到处攀爬以及跳上跳下一个方块的路径。 |
minecraft:navigation.hover | 可用 | N/A | N/A | -769247640 | (寻路机制)Compels the entity to generate paths in the air like the vanilla Bees do. Keeps them from falling from the skies and doing predictive movement. |
minecraft:navigation.swim | 可用 | N/A | N/A | 1908076634 | (寻路机制)控制实体生成包含水在内的路径。 |
minecraft:navigation.walk | 可用 | N/A | N/A | 1909033775 | (寻路机制)控制实体生成能够到处走动以及跳上或跳下一个方块的路径。 |
minecraft:npc | 可用 | N/A | N/A | 1140005505 | 使实体能够调出一个NPC窗口,并像原版NPC一样工作。(仅限国际版) |
minecraft:out_of_control | 可用 | N/A | N/A | -639930856 | 定义实体out of control 的状态
|
minecraft:peek | 可用 | N/A | N/A | -863721039 | 定义一个实体的偷窥行为。 |
minecraft:persistent | 可用 | N/A | N/A | 1435858387 | 定义一个实体是否持久于世界之中(即是否不会自然刷新)。 |
minecraft:physics | 可用 | N/A | N/A | 1021552959 | 定义一个实体的物理属性,包括它是否能被重力影响以及它是否和其他物体碰撞。 |
minecraft:preferred_path | 可用 | N/A | N/A | 1431188951 | Specifies costing information for entities that prefer to walk on preferred paths. |
minecraft:projectile | 可用 | N/A | N/A | 1922456869 | 允许实体是被扔出去的实体。 |
minecraft:pushable | 可用 | N/A | N/A | -1784639134 | Defines what can push an entity between other entities and pistons. |
minecraft:raid_trigger | 可用 | N/A | N/A | 2093209329 | 允许在实体的位置触发袭击。 |
minecraft:rail_movement | 可用 | N/A | N/A | -78235634 | Defines the entity's movement on the rails. An entity with this component is only allowed to move on the rail. |
minecraft:rail_sensor | 可用 | N/A | N/A | 1273161273 | 定义实体在通过激活或未激活的铁轨的行为。 |
minecraft:ravager_blocked | 可用 | N/A | N/A | -1417579541 | 定义劫掠兽的近战攻击被阻挡后的反应。 |
minecraft:rideable | 可用 | N/A | N/A | 1656173828 | 定义实体是否可以被骑乘。 |
minecraft:scale_by_age | 可用 | N/A | N/A | 64881972 | Defines the entity's size interpolation based on the entity's age. |
minecraft:scheduler | 可用 | N/A | N/A | -684492525 | Initiates scheduled entity events at time of day events. |
minecraft:shareables | 可用 | N/A | N/A | 1301057082 | 定义实体想要分享或捡起来的物品列表。 |
minecraft:shooter | 可用 | N/A | N/A | 184150118 | 定义实体的远程攻击行为。minecraft:behavior.ranged_attack AI意向使用此组件来决定射出何种投掷物。
|
minecraft:sittable | 可用 | N/A | N/A | -1376274106 | 定义实体的sit 状态。
|
minecraft:spawn_entity | 可用 | N/A | N/A | 1991964333 | 为实体添加一个计时器来计时生成实体或物品(掉落物实体形式,类似于原版鸡的下蛋行为)。 |
minecraft:suspect_tracking | 可用 | N/A | N/A | 690744457 | (UNDOCUMENTED) |
minecraft:tameable | 可用 | N/A | N/A | 932870003 | 定义实体被玩家所驯服的规则。 |
minecraft:tamemount | 可用 | N/A | N/A | 1615660288 | Allows the entity to be tamed by mounting it. |
minecraft:target_nearby_sensor | 可用 | N/A | N/A | 1309819882 | 定义一个可以看见或感知到其他实体存在的范围以能够以它们为目标。 |
minecraft:teleport | 可用 | N/A | N/A | -1900891127 | 定义一个实体的传送行为。 |
minecraft:tick_world | 可用 | N/A | N/A | -381759296 | Defines if the entity ticks the world and the radius around it to tick. |
minecraft:timer | 可用 | N/A | N/A | 1862095863 | 定义一个计时器并在计时结束之后执行事件。 |
minecraft:trade_table | 可用 | N/A | N/A | 50480315 | 定义实体能够和玩家交易。 |
minecraft:trail | 可用 | N/A | N/A | 1632590434 | 使实体在世界上移动时在方块上留下痕迹。 |
minecraft:transformation | 可用 | N/A | N/A | -457894577 | 定义实体从当前的实体定义转变为其它实体的定义(例如从僵尸转变到溺尸)。 |
minecraft:trusting | 可用 | N/A | N/A | 936499892 | 允许实体信任一个或多个玩家。 |
minecraft:vibration_damper | 可用 | N/A | N/A | 1836172792 | (UNDOCUMENTED) |
minecraft:vibration_listener | 可用 | N/A | N/A | 1844567337 | (UNDOCUMENTED) |
minecraft:water_movement | 可用 | N/A | N/A | -128701925 | 定义实体在水中移动的速度。 |
内置事件[编辑]
名称
|
可用性
|
实验性玩法 | 走出实验版本 | 描述
|
---|---|---|---|---|
minecraft:entity_transformed | 可用 | N/A | N/A | 当实体转换为另一个实体时调用事件 |
minecraft:entity_born | 可用 | N/A | N/A | 当实体出生时调用事件 |
minecraft:entity_spawned | 可用 | N/A | N/A | 当实体生成时调用事件 |
minecraft:on_prime | 可用 | N/A | N/A | 当实体开始爆炸膨胀时调用事件 |
触发器[编辑]
名称
|
可用性
|
实验性玩法 | 走出实验版本 | 数字ID | 描述
|
---|---|---|---|---|---|
minecraft:on_death | 可用 | N/A | N/A | -49357854 | |
minecraft:on_friendly_angry | 可用 | N/A | N/A | -1009986313 | |
minecraft:on_hurt | 可用 | N/A | N/A | -1028603471 | |
minecraft:on_hurt_by_player | 可用 | N/A | N/A | -599009831 | |
minecraft:on_ignite | 可用 | N/A | N/A | -1911489054 | |
minecraft:on_start_landing | 可用 | N/A | N/A | -555648368 | |
minecraft:on_start_takeoff | 可用 | N/A | N/A | 426083399 | |
minecraft:on_target_acquired | 可用 | N/A | N/A | 1063277906 | |
minecraft:on_target_escape | 可用 | N/A | N/A | -1373130027 | |
minecraft:on_wake_with_owner | 可用 | N/A | N/A | -1543219003 |
AI意向[编辑]
名称
|
可用性
|
实验性玩法 | 走出实验版本 | 数字ID | 描述
|
---|---|---|---|---|---|
minecraft:behavior.admire_item | 可用 | N/A | N/A | 1024844406 | 控制实体端详物品。 |
minecraft:behavior.barter | 可用 | N/A | N/A | 536670686 | 在玩家提供交易后,通过在实体附近放置特定物品来迫使实体丢弃物品作为回报。 |
minecraft:behavior.beg | 可用 | N/A | N/A | 1346418048 | 控制此实体注视并跟随拿着它们喜欢的食物的玩家 |
minecraft:behavior.break_door | 可用 | N/A | N/A | -1798237626 | 控制此实体破坏门 |
minecraft:behavior.breed | 可用 | N/A | N/A | 51166360 | 控制此实体与其他实体繁殖 |
minecraft:behavior.celebrate | 可用 | N/A | N/A | 995178519 | Allows this entity to celebrate by making celebration sounds and jumping. |
minecraft:behavior.croak | 可用 | N/A | N/A | Allows the entity to croak at a random time interval with configurable conditions. | |
minecraft:behavior.defend_trusted_target | 可用 | N/A | N/A | 2070046390 | Compels an entity to react with an event when a trusted target is attacked. |
minecraft:behavior.door_interact | 可用 | N/A | N/A | -286762735 | 控制实体开门和关门 |
minecraft:behavior.dragondeath | 可用 | N/A | N/A | -1541162059 | 控制实体在死亡时播放末影龙死亡动画,此标识控制末影龙的死亡动画并且不能被其他实体控制用。 |
minecraft:behavior.dragonholdingpattern | 可用 | N/A | N/A | 1066617362 | 控制龙围绕中央平台以圆形轨迹飞行,只能被末影龙控制用。 |
minecraft:behavior.dragonlanding | 可用 | N/A | N/A | -152352492 | 控制龙停止飞行并过渡到栖息模式,只能被末影龙控制用。 |
minecraft:behavior.dragonscanning | 可用 | N/A | N/A | -1003941066 | 控制龙处于栖息模式时寻找要攻击的玩家,只能被末影龙控制用。 |
minecraft:behavior.dragontakeoff | 可用 | N/A | N/A | -1912535317 | 控制龙由栖息变为盘旋,只能被末影龙控制用。 |
minecraft:behavior.drink_potion | 可用 | N/A | N/A | 277029334 | 控制实体根据环境条件喝下药水。 |
minecraft:behavior.eat_carried_item | 可用 | N/A | N/A | -184757575 | Compels an entity to eat any item in its inventory and gain the benefits of the item. |
minecraft:behavior.eat_mob | 可用 | N/A | N/A | Compels the entity to eat a specified mob. | |
minecraft:behavior.enderman_leave_block | 可用 | N/A | N/A | -717580550 | 控制末影人放下它们随机拿起的方块,只能被末影人控制用。 |
minecraft:behavior.enderman_take_block | 可用 | N/A | N/A | -537294220 | 控制末影人随机拿走一个方块,只能拿被末影人时控制用。 |
minecraft:behavior.explore_outskirts | 可用 | N/A | N/A | -1955198366 | 控制实体探索村庄外围区域。 |
minecraft:behavior.find_cover | 可用 | N/A | N/A | -1231227755 | 控制实体像狐狸那样寻找一个不露天的地方。 |
minecraft:behavior.find_mount | 可用 | N/A | N/A | 731306871 | 控制实体骑到另外一个实体身上。 |
minecraft:behavior.find_underwater_treasure | 可用 | N/A | N/A | -1602192311 | 控制实体移动至最近的海底废墟或沉船。 |
minecraft:behavior.flee_sun | 可用 | N/A | N/A | -617664229 | 控制实体避开阳光直射和寻找阴影庇护。 |
minecraft:behavior.float | 可用 | N/A | N/A | 1758503000 | 控制实体能浮在水面上。 |
minecraft:behavior.float_wander | 可用 | N/A | N/A | -1122048364 | 控制实体能像恶魂那样漂浮。 |
minecraft:behavior.follow_caravan | 可用 | N/A | N/A | 9936402 | 控制实体跟随商队里的实体。 |
minecraft:behavior.follow_mob | 可用 | N/A | N/A | -1524701626 | 控制此实体跟随其他实体。 |
minecraft:behavior.follow_owner | 可用 | N/A | N/A | 1213259599 | 控制实体跟随其主人。 |
minecraft:behavior.follow_parent | 可用 | N/A | N/A | 2127040136 | 控制实体跟随在其父母周围。 |
minecraft:behavior.follow_target_captain | 可用 | N/A | N/A | -135480526 | 控制实体朝着目前的目标队长移动。 |
minecraft:behavior.go_home | 可用 | N/A | N/A | -1579225026 | 控制此实体回到其出生点。 |
minecraft:behavior.hide | 可用 | N/A | N/A | 233394190 | 控制实体寻找躲藏处(仅对村民有效)。 |
minecraft:behavior.hold_ground | 可用 | N/A | N/A | 1804286487 | Compels an entity to stop at their current location, turn to face a mob they are targeting, and react with an event. |
minecraft:behavior.hurt_by_target | 可用 | N/A | N/A | -1710404297 | 控制实体把对它造成伤害的实体标记为目标。 |
minecraft:behavior.inspect_bookshelf | 可用 | N/A | N/A | 40191182 | 控制实体查阅书架。 |
minecraft:behavior.jump_to_block | 可用 | N/A | N/A | Compels the mob to search around for a block to jump to and then jump to that block. | |
minecraft:behavior.knockback_roar | 可用 | N/A | N/A | -1304117826 | 控制实体对附近所有实体造成击退伤害。 |
minecraft:behavior.lay_down | 可用 | N/A | N/A | -2074934675 | 控制实体趴下。 |
minecraft:behavior.lay_egg | 可用 | N/A | N/A | -1207740530 | 控制实体在怀孕时在沙子上下蛋。 |
minecraft:behavior.leap_at_target | 可用 | N/A | N/A | 256926956 | 控制怪物跳起来攻击它们的目标,只能被敌对实体时控制用。 |
minecraft:behavior.look_at_entity | 可用 | N/A | N/A | -1735428573 | 控制实体看着它们附近的实体。 |
minecraft:behavior.look_at_player | 可用 | N/A | N/A | -1892159379 | 控制实体附近有玩家时看着玩家。 |
minecraft:behavior.look_at_target | 可用 | N/A | N/A | -885375871 | 控制实体看着被它们标记的目标。 |
minecraft:behavior.look_at_trading_player | 可用 | N/A | N/A | -2094605693 | 控制实体看着与它们交易的目标。 |
minecraft:behavior.make_love | 可用 | N/A | N/A | -1551283431 | 控制村民寻找配偶以生成其他村民,此标识只能被村民控制用。 |
minecraft:behavior.mingle | 可用 | N/A | N/A | 385775952 | 控制村民前往村庄中钟的位置,并与其他村民待在一起。 |
minecraft:behavior.mount_pathing | 可用 | N/A | N/A | 1112137677 | 控制实体自行游荡寻找攻击目标。 |
minecraft:behavior.move_indoors | 可用 | N/A | N/A | 2107078532 | 控制村民寻找房屋,此标志只能被村民控制用。 |
minecraft:behavior.move_through_village | 可用 | N/A | N/A | 779377630 | 控制村民创建环绕村庄的路径,此标志只能被村民控制用。 |
minecraft:behavior.move_to_land | 可用 | N/A | N/A | -943551837 | 控制此实体在水里时回到岸上。 |
minecraft:behavior.move_to_lava | 可用 | N/A | N/A | -945036492 | Compels an entity to move to lava when on land. |
minecraft:behavior.move_to_poi | 可用 | N/A | N/A | 1721669938 | 控制实体移动到POI(工作方块、床、钟)。 |
minecraft:behavior.move_to_random_block | 可用 | N/A | N/A | 395022171 | 控制实体向一个随机方块移动。 |
minecraft:behavior.move_to_village | 可用 | N/A | N/A | -805189394 | 控制实体移动到村庄内的一个随机地点。 |
minecraft:behavior.move_to_water | 可用 | N/A | N/A | 1886139445 | 控制此实体上岸时回到水里。 |
minecraft:behavior.move_towards_target | 可用 | N/A | N/A | -166537884 | 控制实体移向其当前目标。 |
minecraft:behavior.nap | 可用 | N/A | N/A | 992184933 | 控制实体小睡(无需床)。 |
minecraft:behavior.nearest_attackable_target | 可用 | N/A | N/A | 5824270165841165755 | 控制实体检查并追赶距离最近的有效目标。 |
minecraft:behavior.nearest_priorized_attackable_target | 可用 | N/A | N/A | 335414683 | Compels an entity to target and prioritize the nearest valid target. |
minecraft:behavior.ocelot_sit_on_block | 可用 | N/A | N/A | -1327999383 | 控制实体像豹猫那样原地坐下。 |
minecraft:behavior.offer_flower | 可用 | N/A | N/A | -885387854 | 控制实体送出花(仅对铁傀儡有效)。 |
minecraft:behavior.open_door | 可用 | N/A | N/A | -906200433 | Compels an entity to interact and open a door. |
minecraft:behavior.owner_hurt_by_target | 可用 | N/A | N/A | 530667419 | Compels an entity to react when the owner is hit by a target. |
minecraft:behavior.owner_hurt_target | 可用 | N/A | N/A | 995655261 | Compels an entity to react when the owner hits a target. |
minecraft:behavior.panic | 可用 | N/A | N/A | -169886247 | Compels an entity to react when it receives damage. |
minecraft:behavior.peek | 可用 | N/A | N/A | 211304085 | Compels an entity to peek out. |
minecraft:behavior.pet_sleep_with_owner | 可用 | N/A | N/A | 1379392240 | Compels an entity to sleep on a bed shared with its sleeping owner. |
minecraft:behavior.pickup_items | 可用 | N/A | N/A | 644287189 | Compels an entity to pick up selected items off the ground. |
minecraft:behavior.play | 可用 | N/A | N/A | -505601580 | Compels the mob to play with other mobs by chasing each other and moving around randomly. |
minecraft:behavior.player_ride_tamed | 可用 | N/A | N/A | 603869698 | Allows an entity to be rideable after being tamed by a player. |
minecraft:behavior.raid_garden | 可用 | N/A | N/A | -1145687602 | Compels an entity to eat crops that have been planted in a farm. |
minecraft:behavior.random_breach | 可用 | N/A | N/A | 928528911 | Compels an entity to breach the surface of the water at a random interval. |
minecraft:behavior.random_fly | 可用 | N/A | N/A | -446385505 | Compels an entity to fly to a random spot. |
minecraft:behavior.random_hover | 可用 | N/A | N/A | -1797323808 | Compels the entity to hover around randomly, close to the surface. |
minecraft:behavior.random_look_around | 可用 | N/A | N/A | 1177762851 | Compels an entity to choose a random direction to look in for a random duration within a range. |
minecraft:behavior.random_look_around_and_sit | 可用 | N/A | N/A | -1368070166 | Compels an entity to sit in place and look around in different directions. The entity must have a sitting animation configured in order to use this goal. |
minecraft:behavior.random_sitting | 可用 | N/A | N/A | 1722716662 | Compels an entity to stop and sit for a random duration of time. |
minecraft:behavior.random_stroll | 可用 | N/A | N/A | -1643504294 | Compels an entity to choose a random direction to walk towards. |
minecraft:behavior.random_swim | 可用 | N/A | N/A | -1465281278 | Compels an entity to swim in a random point in water. |
minecraft:behavior.receive_love | 可用 | N/A | N/A | 1156694272 | Inspires an entity to mate with another similar entity when approached to breed. |
minecraft:behavior.restrict_open_door | 可用 | N/A | N/A | 715583988 | Compels an entity to stay indoors while the sun is down. |
minecraft:behavior.restrict_sun | 可用 | N/A | N/A | -382716017 | Compels an entity to actively avoid direct sunlight. |
minecraft:behavior.rise_to_liquid_level | 可用 | N/A | N/A | -950950337 | Compels an entity to rise to the top of a liquid block if they are located in one or have spawned under a liquid block. |
minecraft:behavior.roll | 可用 | N/A | N/A | 817471653 | Compels an entity to roll forward. |
minecraft:behavior.run_around_like_crazy | 可用 | N/A | N/A | -1390363669 | Compels an entity to run around without a set goal. |
minecraft:behavior.scared | 可用 | N/A | N/A | 1812936510 | Compels an entity to become scared when the weather outside is thundering. |
minecraft:behavior.seed_event | 可用 | N/A | N/A | -823429137 | Compels an entity to send an event to another entity. |
minecraft:behavior.share_items | 可用 | N/A | N/A | 2045906118 | Compels an entity to share items they have in their inventory with other specific entities that have been defined. |
minecraft:behavior.silverfish_merge | 可用 | N/A | N/A | 321908121 | Compels an entity to enter a stone block. |
minecraft:behavior.silverfish_wake_up_friends | 可用 | N/A | N/A | 484391748 | Compels an entity to alert other entities of the same family to leave a stone block. |
minecraft:behavior.skeleton_horse_trap | 可用 | N/A | N/A | 530952387 | Allows an entity to function as a skeleton horse trap and be triggered, spawning a lightning bolt, additional skeleton horses, and skeleton horse riders, when a player approaches to within a set radius. |
minecraft:behavior.sleep | 可用 | N/A | N/A | -1811763 | Allows an entity to sleep in a bed. |
minecraft:behavior.slime_attack | 可用 | N/A | N/A | -1315951081 | Enables mobs with minecraft:movement.jump to path towards their target like a slime or magma_cube does to attack.
|
minecraft:behavior.snacking | 可用 | N/A | N/A | 875141064 | Compels an entity to stop and interact with select food items that are nearby. |
minecraft:behavior.sneeze | 可用 | N/A | N/A | 1528584076 | Compels an entity to sneeze and potentially startle other entities. While sneezing, the entity may drop an item. |
minecraft:behavior.squid_dive | 可用 | N/A | N/A | 1626998843 | Compels an entity to dive underwater. |
minecraft:behavior.squid_flee | 可用 | N/A | N/A | 1304043261 | Compels an entity to swim away when attacked. |
minecraft:behavior.squid_idle | 可用 | N/A | N/A | 1741234679 | Compels an entity to swim in place. |
minecraft:behavior.squid_move_away_from_ground | 可用 | N/A | N/A | 892387674 | Compels an entity to swim away from the ground blocks. |
minecraft:behavior.squid_out_of_water | 可用 | N/A | N/A | -1347598607 | Compels an entity to stay close to a ground block when out of water. |
minecraft:behavior.stalk_and_pounce_on_target | 可用 | N/A | N/A | -1248479202 | Compels an entity to stalk a specific target. Once within range of the target, the entity will then leap at the target and deal damage based upon its attack attribute. |
minecraft:behavior.stay_while_sitting | 可用 | N/A | N/A | 1346980478 | Compels an entity to stay in place while sitting. |
minecraft:behavior.stomp_turtle_egg | 可用 | N/A | N/A | 851839416 | Compels an entity to target and stomp on turtle eggs when detected. |
minecraft:behavior.stroll_towards_village | 可用 | N/A | N/A | -1563831906 | Compels an entity to navigate and search for a nearby village. |
minecraft:behavior.summon_entity | 可用 | N/A | N/A | -2005850647 | Compels an entity to attack other entities by summoning new entities. |
minecraft:behavior.swell | 可用 | N/A | N/A | -1473132493 | Compels an entity to grow in size when approached and scale down back to normal after a certain distance. |
minecraft:behavior.take_flower | 可用 | N/A | N/A | 1218648257 | Allows an entity to receive flowers when presented from the iron_golem entity.
|
minecraft:behavior.tempt | 可用 | N/A | N/A | 422904556 | Compels an entity to be tempted by a set item. |
minecraft:behavior.trade_interest | 可用 | N/A | N/A | -574851053 | Compels an entity to focus on a player that will initiate a trade. |
minecraft:behavior.trade_with_player | 可用 | N/A | N/A | -2048563493 | Compels the entity to stop moving and trade with the player. |
minecraft:behavior.vex_copy_owner_target | 可用 | N/A | N/A | -643459543 | Compels an entity of the vex family to target the same entity as its owner.
|
minecraft:behavior.vex_random_move | 可用 | N/A | N/A | -1117822165 | Allows an entity of the vex family to move randomly.
|
minecraft:behavior.wither_random_attack_pos_goal | 可用 | N/A | N/A | -528895885 | Compels an entity to attack at random. |
minecraft:behavior.wither_target_highest_damage | 可用 | N/A | N/A | -1065562072 | Compels an entity to focus its attacks on whichever hostile mob has dealt the most damage to it. |
minecraft:behavior.work | 可用 | N/A | N/A | -1700601421 | Compels the NPC to use their jobsite point of interest (POI). |
生成规则[编辑]
名称
|
可用性
|
实验性玩法 | 走出实验版本 | 描述
|
---|---|---|---|---|
minecraft:spawns_on_surface | 可用 | N/A | N/A | 定义实体是否生成在表面 |
minecraft:spawns_underwater | 可用 | N/A | N/A | 定义实体是否生成在水中 |
minecraft:brightness_filter | 可用 | N/A | N/A | 此组件允许玩家设置生物生成的光照环境等级范围。范围设置在 0 到 16 之间,以及是否忽略天气 |
minecraft:weight | 可用 | N/A | N/A | 定义当前的生成规则权重。与权重值较高的生物相比,权重值较低的生物生成几率更低 |
minecraft:difficulty_filter | 可用 | N/A | N/A | 此组件允许玩家设置具有特定难度级别的生物生成 |
minecraft:herd | 可用 | N/A | N/A | 该组件允许玩家确定实体的生成规模 |
minecraft:biome_filter | 可用 | N/A | N/A | 此组件允许玩家指定当前生物在哪些生物群系中生成。检查 minecraft:biome_filter 以查看存在哪些生物群系标签,以及每个生物群系的标记 |
minecraft:density_limit | 可用 | N/A | N/A | 此组件允许玩家指定在特定位置生成的生物数量密度 |
minecraft:world_age_filter | 可用 | N/A | N/A | 此组件允许玩家在世界中经过一定时间后设置生物生成 |
特性[编辑]
名称
|
可用性
|
实验性玩法 | 走出实验版本 | 数字ID | 描述
|
---|---|---|---|---|---|
minecraft:attack | 可用 | N/A | N/A | 1651346034 | 设置实体的攻击特性 |
minecraft:spell_effects | 可用 | N/A | N/A | 523264365 | |
minecraft:strength | 可用 | N/A | N/A | 648564399 |
共享特性[编辑]
名称
|
可用性
|
实验性玩法 | 走出实验版本 | 数字ID | 描述
|
---|---|---|---|---|---|
minecraft:absorption | 可用 | N/A | N/A | 设置实体伤害吸收的量 | |
minecraft:attack_damage | 可用 | N/A | N/A | 设置实体的攻击伤害 | |
minecraft:follow_range | 可用 | N/A | N/A | ||
minecraft:health | 可用 | N/A | N/A | 设置实体的真实生命值 | |
minecraft:horse.jump_strength | 可用 | N/A | N/A | ||
minecraft:lava_movement | 可用 | N/A | N/A | ||
minecraft:knockback_resistance | 可用 | N/A | N/A | ||
minecraft:movement | 可用 | N/A | N/A | 设置实体的移动速度 | |
minecraft:player.exhaustion | 可用 | N/A | N/A | 设置玩家的疲劳度 | |
minecraft:player.experience | 可用 | N/A | N/A | 设置玩家的经验值 | |
minecraft:player.hunger | 可用 | N/A | N/A | 设置玩家的饥饿值 | |
minecraft:player.level | 可用 | N/A | N/A | 设置玩家的经验等级 | |
minecraft:player.saturation | 可用 | N/A | N/A | 设置玩家的饱和度 | |
minecraft:underwater_movement | 可用 | N/A | N/A | 设置实体在水下的移动速度 | |
minecraft:zombie.spawn_reinforcements | 可用 | N/A | N/A |
实体属性[编辑]
名称
|
可用性
|
实验性玩法 | 走出实验版本 | 数字ID | 描述
|
---|---|---|---|---|---|
minecraft:ambient_sound_interval | 可用 | N/A | N/A | -1314051310 | |
minecraft:can_climb | 可用 | N/A | N/A | -550459594 | 定义实体是否能爬梯子 |
minecraft:can_fly | 可用 | N/A | N/A | 985724318 | |
minecraft:can_power_jump | 可用 | N/A | N/A | -763124853 | |
minecraft:collision_box | 可用 | N/A | N/A | -1277663508 | 设置实体的碰撞箱 |
minecraft:color | 可用 | N/A | N/A | 1069623177 | |
minecraft:color2 | 可用 | N/A | N/A | 1429635777 | |
minecraft:default_look_angle | 可用 | N/A | N/A | -815556357 | |
minecraft:equipment | 可用 | N/A | N/A | 714661022 | |
minecraft:fire_immune | 可用 | N/A | N/A | -1071767182 | |
minecraft:floats_in_liquid | 可用 | N/A | N/A | 179778474 | |
minecraft:flying_speed | 可用 | N/A | N/A | -570508595 | 设置实体的飞行速度 |
minecraft:friction_modifier | 可用 | N/A | N/A | -714364556 | |
minecraft:ground_offset | 可用 | N/A | N/A | -1816881803 | |
minecraft:input_ground_controlled | 可用 | N/A | N/A | -646415617 | |
minecraft:is_baby | 可用 | N/A | N/A | 1853172763 | 设置实体是婴儿 |
minecraft:is_charged | 可用 | N/A | N/A | 125340337 | |
minecraft:is_chested | 可用 | N/A | N/A | -817599379 | |
minecraft:is_dyeable | 可用 | N/A | N/A | 1381448355 | |
minecraft:is_hidden_when_invisible | 可用 | N/A | N/A | -1553744 | |
minecraft:is_ignited | 可用 | N/A | N/A | 905710223 | |
minecraft:is_illager_captain | 可用 | N/A | N/A | 921912694 | |
minecraft:is_saddled | 可用 | N/A | N/A | 1037901616 | |
minecraft:is_shaking | 可用 | N/A | N/A | 523951884 | |
minecraft:is_sheared | 可用 | N/A | N/A | 1154836813 | |
minecraft:is_stackable | 可用 | N/A | N/A | 1184456737 | |
minecraft:is_stunned | 可用 | N/A | N/A | 1818977510 | |
minecraft:is_tamed | 可用 | N/A | N/A | 1646421078 | |
minecraft:item_controllable | 可用 | N/A | N/A | 1868311069 | |
minecraft:loot | 可用 | N/A | N/A | 1775814032 | 设置实体死亡时掉落的战利品表 |
minecraft:mark_variant | 可用 | N/A | N/A | 663621689 | |
minecraft:push_through | 可用 | N/A | N/A | -138030768 | |
minecraft:scale | 可用 | N/A | N/A | 77854436 | 设置实体模型的缩放程度 |
minecraft:skin_id | 可用 | N/A | N/A | 1838729593 | 设置实体的外观id |
minecraft:sound_volume | 可用 | N/A | N/A | 937951776 | 设置实体的基本音量 |
minecraft:type_family | 可用 | N/A | N/A | -255011285 | 设置实体的家族 |
minecraft:variant | 可用 | N/A | N/A | -1789583977 | |
minecraft:walk_animation_speed | 可用 | N/A | N/A | 972393614 | 设置实体的行走动画速度(乘数) |
minecraft:wants_jockey | 可用 | N/A | N/A | 1832515141 |
过滤器[编辑]
名称
|
可用性
|
实验性玩法 | 走出实验版本 | 描述
|
---|---|---|---|---|
clock_time | 可用 | N/A | N/A | |
distance_to_nearest_player | 可用 | N/A | N/A | |
has_ability | 可用 | N/A | N/A | 当主体实体具有命名能力时返回 true |
has_biome_tag | 可用 | N/A | N/A | 测试主体所在的生物群系是否具有指定的标签 |
has_component | 可用 | N/A | N/A | 当主体实体包含命名组件时返回 true |
has_container_open | 可用 | N/A | N/A | 当主体玩家实体打开容器时返回 true |
has_damage | 可用 | N/A | N/A | 当主体实体收到命名的损害类型时返回 true |
has_equipment | 可用 | N/A | N/A | 测试主体实体的指定槽中是否存在命名项 |
has_mob_effect | 可用 | N/A | N/A | 测试主体是否具有指定的药水效果 |
has_ranged | 可用 | N/A | N/A | 当主体实体手持远程武器(如弓或弩)时返回 true |
has_tag | 可用 | N/A | N/A | 如果主体实体拥有此标记,则返回 true |
has_target | 可用 | N/A | N/A | 如果主体实体具有有效的目标,则返回 true |
has_trade_supply | 可用 | N/A | N/A | 测试目标是否剩余任何交易供应。如果目标无法交易,将返回 false |
hourly_clock_time | 可用 | N/A | N/A | |
in_block | 可用 | N/A | N/A | 当主体实体位于指定的块类型内时返回 true |
in_caravan | 可用 | N/A | N/A | |
in_clouds | 可用 | N/A | N/A | |
in_contact_with_water | 可用 | N/A | N/A | 当主体实体与任何形式的水接触时返回 true:水、雨、飞溅水瓶 |
in_lava | 可用 | N/A | N/A | 当主体实体处于熔岩中时返回 true |
in_nether | 可用 | N/A | N/A | 当主体实体位于维度 Nether 中时返回 true |
in_water | 可用 | N/A | N/A | 当主体实体处于水中或雨中时返回 true |
in_water_or_rain | 可用 | N/A | N/A | 当主体实体在水中时返回 true |
inactivity_timer | 可用 | N/A | N/A | |
is_altitude | 可用 | N/A | N/A | |
is_avoiding_mobs | 可用 | N/A | N/A | 如果主体实体正在逃离其他生物,则返回 true |
is_biome | 可用 | N/A | N/A | 测试主体当前是否在命名生物群系中 |
is_block | 可用 | N/A | N/A | 当块具有给定名称时返回 true |
is_brigtness | 可用 | N/A | N/A | |
is_climbing | 可用 | N/A | N/A | 如果主体实体正在攀爬,则返回 true |
is_color | 可用 | N/A | N/A | |
is_daytime | 可用 | N/A | N/A | 在白天返回 true |
is_difficulty | 可用 | N/A | N/A | 测试游戏的当前难度级别 |
is_family | 可用 | N/A | N/A | 当主体实体是命名族的成员时返回 true |
is_game_rule | 可用 | N/A | N/A | 测试命名游戏规则是否处于活动状态 |
is_humid | 可用 | N/A | N/A | |
is_immobile | 可用 | N/A | N/A | |
is_village | 可用 | N/A | N/A | 测试主体是否在村庄的范围内 |
is_leashed | 可用 | N/A | N/A | 如果主体实体被牵引,则返回 true |
is_leashed_to | 可用 | N/A | N/A | 如果主体实体被束缚到调用实体,则返回 true |
is_mark_variant | 可用 | N/A | N/A | |
is_moving | 可用 | N/A | N/A | 如果主体实体正在移动,则返回 true |
is_owner | 可用 | N/A | N/A | |
is_persistent | 可用 | N/A | N/A | |
is_riding | 可用 | N/A | N/A | 如果主体实体骑乘另一个实体,则返回 true |
is_skin_id | 可用 | N/A | N/A | |
is_sleeping | 可用 | N/A | N/A | 测试当前实体是否在睡觉状态 |
is_sneaking | 可用 | N/A | N/A | 测试当前实体是否在潜行状态 |
is_snow_covered | 可用 | N/A | N/A | 测试主体实体是否在积雪覆盖的区域 |
is_target | 可用 | N/A | N/A | |
is_temperature_type | 可用 | N/A | N/A | 测试当前温度是否为给定类型 |
is_temperature_value | 可用 | N/A | N/A | |
is_underground | 可用 | N/A | N/A | 当主体实体位于地下时返回 true。如果实体上方有非实心块,则被视为地下实体 |
is_underwater | 可用 | N/A | N/A | 当主体实体在水下时返回 true |
is_variant | 可用 | N/A | N/A | |
is_visible | 可用 | N/A | N/A | 如果主体实体可见,则返回 true |
is_weather | 可用 | N/A | N/A | 测试实体当前所处的天气环境 |
light_level | 可用 | N/A | N/A | 测试实体当前所处的亮度环境。范围设置在 0 到 16 之间 |
moon_intensity | 可用 | N/A | N/A | 将当前月球强度与 0.0 和 1.0 范围内的浮点值进行比较。0.0为满月 |
moon_phase | 可用 | N/A | N/A | |
on_ground | 可用 | N/A | N/A | 当主体实体位于地面上时返回 true |
on_ladder | 可用 | N/A | N/A | 当主体实体位于梯子上时返回 true |
random_chance | 可用 | N/A | N/A | |
rider_count | 可用 | N/A | N/A | |
surface_mob | 可用 | N/A | N/A | 测试主体实体是否为地表生物。由生成规则而定 |
trusts | 可用 | N/A | N/A | 如果主体实体受测试实体信任,则返回 true |
weather | 可用 | N/A | N/A | 测试实体正在经历的当前天气状态 |
weather_at_position | 可用 | N/A | N/A | 根据提供的天气值测试参与者位置的当前天气 |