• 欢迎来到Minecraft插件百科!
  • 对百科编辑一脸懵逼?帮助:快速入门带您快速熟悉百科编辑!
  • 因近日遭受攻击,百科现已限制编辑,有意编辑请加入插件百科企鹅群:223812289

“GuillaumeVDN的插件文档/关联”的版本间的差异

来自Minecraft插件百科
跳转至: 导航搜索
(创建页面,内容为“{{模板:VDNBox}} =Citizens= The regular position types have variants where it can be calculated relatively to a certain NPC. This searches for the spawned NPC, and…”)
 
 
(未显示同一用户的6个中间版本)
第1行: 第1行:
 
{{模板:VDNBox}}
 
{{模板:VDNBox}}
 
=Citizens=
 
=Citizens=
The regular position types have variants where it can be calculated relatively to a certain NPC. This searches for the spawned NPC, and then adapt it using the very useful relative location.
+
这一页面介绍关联Citizens的特性,适用于我的所有插件。
==NPC相对位置类型==
+
 
===CITIZENS_NPC_RELATIVE_SINGLE===
+
== NPC相对位置类型 ==
===CITIZENS_NPC_RELATIVE_AREA_INSIDE===
+
这是普通位置类型的变体,它会搜索已生成的NPC并使用相对于该NPC的位置。
===CITIZENS_NPC_RELATIVE_AREA_OUTSIDE===
+
 
===CITIZENS_NPC_RELATIVE_SPHERE_INSIDE===
+
=== CITIZENS_NPC_RELATIVE_SINGLE ===
===CITIZENS_NPC_RELATIVE_SPHERE_OUTSIDE===
+
相对于NPC的特定地点 / <code>can find random</code> / <code>can find closest</code> / <code>can fill</code>
===CITIZENS_NPC_RELATIVE_CYLINDER_INSIDE===
+
<source lang="yaml">type: CITIZENS_NPC_RELATIVE_SINGLE
===CITIZENS_NPC_RELATIVE_CYLINDER_OUTSIDE===
+
npc: 1  # NPC id
 +
location:
 +
  # …… 相对位置(见配置/通用配置/相对位置)
 +
point_tolerance: COORDS  # 检测位置是否匹配时的点容差
 +
                          # 值:COORDS(匹配坐标)、STRICT(距离 <= 0.75)、REGULAR(距离 <= 1.5)LENIENT (距离 <= 2.25)</source>
 +
 
 +
=== CITIZENS_NPC_RELATIVE_AREA_INSIDE ===
 +
相对于NPC在区域内 / <code>can find random</code> / <code>can find closest</code> / <code>can fill</code>
 +
<source lang="yaml">type: CITIZENS_NPC_RELATIVE_AREA_INSIDE
 +
npc: 1  # NPC id
 +
bound1:
 +
  # …… 相对位置(见配置/通用配置/相对位置)
 +
bound2:
 +
  # …… 相对位置(见配置/通用配置/相对位置)</source>
 +
 
 +
=== CITIZENS_NPC_RELATIVE_AREA_OUTSIDE ===
 +
相对于NPC在区域外 / <code>can find random</code> / <code>can find closest</code> / <code>can fill</code> (区域轮廓)
 +
<source lang="yaml">type: CITIZENS_NPC_RELATIVE_AREA_OUTSIDE
 +
npc: 1  # NPC id
 +
bound1:
 +
  # …… 相对位置(见配置/通用配置/相对位置)
 +
bound2:
 +
  # …… 相对位置(见配置/通用配置/相对位置)</source>
 +
 
 +
=== CITIZENS_NPC_RELATIVE_SPHERE_INSIDE ===
 +
相对于NPC在球体内 / <code>can find random</code> / <code>can find closest</code> / <code>can fill</code>
 +
<source lang="yaml">type: CITIZENS_NPC_RELATIVE_SPHERE_INSIDE
 +
npc: 1  # NPC id
 +
center:
 +
  # …… 相对位置(见配置/通用配置/相对位置)
 +
radius: 5.0</source>
 +
 
 +
=== CITIZENS_NPC_RELATIVE_SPHERE_OUTSIDE ===
 +
相对于NPC在球体外 / <code>can find random</code> / <code>can find closest</code> / <code>can fill</code>(球体轮廓)
 +
<source lang="yaml">type: CITIZENS_NPC_RELATIVE_SPHERE_OUTSIDE
 +
npc: 1  # NPC id
 +
center:
 +
  # …… 相对位置(见配置/通用配置/相对位置)
 +
radius: 5.0</source>
 +
 
 +
=== CITIZENS_NPC_RELATIVE_CYLINDER_INSIDE ===
 +
相对于NPC在圆柱内 / <code>can find random</code> / <code>can find closest</code>
 +
<source lang="yaml">type: CITIZENS_NPC_RELATIVE_SPHERE_OUTSIDE
 +
npc: 1  # NPC id
 +
center:  # 圆柱中心(忽略Y轴)
 +
  # …… 相对位置(见配置/通用配置/相对位置)
 +
radius: 5.0</source>
 +
 
 +
=== CITIZENS_NPC_RELATIVE_CYLINDER_OUTSIDE ===
 +
相对于NPC在圆柱外 / <code>can find random</code> / <code>can find closest</code>
 +
<source lang="yaml">type: CITIZENS_NPC_RELATIVE_CYLINDER_OUTSIDE
 +
npc: 1  # NPC id
 +
center:  # 圆柱中心(忽略Y轴)
 +
  # …… 相对位置(见配置/通用配置/相对位置)
 +
radius: 5.0</source>
  
 
=MythicMobs=
 
=MythicMobs=
This describes the integrated features for MythicMobs, generic to all plugins.
+
这一部分介绍关联MythicMobs的特性,适用于我的所有插件。
==怪物相对位置类型==
 
  
 +
== 生物相对位置类型 ==
 +
这是普通位置类型的变体,它会搜索最近匹配的mm生物并使用相对于该生物的位置。
 +
 +
=== CLOSEST_MYTHICMOB_RELATIVE_SINGLE ===
 +
相对于生物的特定位置 / <code>can find random</code> / <code>can find closest</code> / <code>can fill</code>
 +
<source lang="yaml">type: CLOSEST_MYTHICMOB_RELATIVE_SINGLE
 +
mobs: []  # 允许的生物类型(留空则允许全部)
 +
location:
 +
  # …… 相对位置 (见配置/通用配置/相对位置)
 +
point_tolerance: COORDS  # 检测位置是否匹配时的点容差
 +
                          # 值:COORDS(匹配坐标)、STRICT(距离 <= 0.75)、REGULAR(距离 <= 1.5)LENIENT (距离 <= 2.25)</source>
 +
 +
=== CLOSEST_MYTHICMOB_RELATIVE_AREA_INSIDE ===
 +
相对于生物在区域内 / <code>can find random</code> / <code>can find closest</code> / <code>can fill</code>
 +
<source lang="yaml">type: CLOSEST_MYTHICMOB_RELATIVE_AREA_INSIDE
 +
mobs: []  # 允许的生物类型(留空则允许全部)
 +
bound1:
 +
  # …… 相对位置 (见配置/通用配置/相对位置)
 +
bound2:
 +
  # …… 相对位置 (见配置/通用配置/相对位置)</source>
 +
 +
=== CLOSEST_MYTHICMOB_RELATIVE_AREA_OUTSIDE ===
 +
相对于生物在区域外 / <code>can find random</code> / <code>can find closest</code> / <code>can fill</code> (区域轮廓)
 +
<source lang="yaml">type: CLOSEST_MYTHICMOB_RELATIVE_AREA_OUTSIDE
 +
mobs: []  # 允许的生物类型(留空则允许全部)
 +
bound1:
 +
  # …… 相对位置 (见配置/通用配置/相对位置)
 +
bound2:
 +
  # …… 相对位置 (见配置/通用配置/相对位置)</source>
 +
 +
=== CLOSEST_MYTHICMOB_RELATIVE_SPHERE_INSIDE ===
 +
相对于生物在球体内 / <code>can find random</code> / <code>can find closest</code> / <code>can fill</code>
 +
<source lang="yaml">type: CLOSEST_MYTHICMOB_RELATIVE_SPHERE_INSIDE
 +
mobs: []  # 允许的生物类型(留空则允许全部)
 +
center:
 +
  # …… 相对位置 (见配置/通用配置/相对位置)
 +
radius: 5.0</source>
 +
 +
=== CLOSEST_MYTHICMOB_RELATIVE_SPHERE_OUTSIDE ===
 +
相对于生物在球体外 / <code>can find random</code> / <code>can find closest</code> / <code>can fill</code> (sphere outline)
 +
<source lang="yaml">type: CLOSEST_MYTHICMOB_RELATIVE_SPHERE_OUTSIDE
 +
mobs: []  # 允许的生物类型(留空则允许全部)
 +
center:
 +
  # …… 相对位置 (见配置/通用配置/相对位置)
 +
radius: 5.0</source>
 +
 +
=== CLOSEST_MYTHICMOB_RELATIVE_CYLINDER_INSIDE ===
 +
相对于生物在圆柱内 / <code>can find random</code> / <code>can find closest</code>
 +
<source lang="yaml">type: CLOSEST_MYTHICMOB_RELATIVE_SPHERE_OUTSIDE
 +
mobs: []  # 允许的生物类型(留空则允许全部)
 +
center:  # 圆柱中心(忽略Y轴)
 +
  # …… 相对位置 (见配置/通用配置/相对位置)
 +
radius: 5.0</source>
 +
 +
=== CLOSEST_MYTHICMOB_RELATIVE_CYLINDER_OUTSIDE ===
 +
相对于生物在圆柱外 / <code>can find random</code> / <code>can find closest</code>
 +
<source lang="yaml">type: CLOSEST_MYTHICMOB_RELATIVE_CYLINDER_OUTSIDE
 +
mobs: []  # 允许的生物类型(留空则允许全部)
 +
center:  # 圆柱中心(忽略Y轴)
 +
  # …… 相对位置 (见配置/通用配置/相对位置)
 +
radius: 5.0</source>
  
 
=WorldGuard=
 
=WorldGuard=
  
==位置类型==
+
 
 +
这一部分介绍关联WorldGuard的特性,适用于我的全部插件。
 +
 
 +
== 位置类型 ==
 +
 
 +
=== WORLDGUARD_REGION_INSIDE ===
 +
在WorldGuard区域内 / <code>can find random</code> / <code>can find closest</code> / <code>can fill</code>
 +
<source lang="yaml">type: WORLDGUARD_REGION_INSIDE
 +
bound1: world,x,y,z
 +
bound2: world,x,y,z</source>
 +
 
 +
=== WORLDGUARD_REGION_INSIDE ===
 +
在WorldGuard区域外 / <code>can find random</code> / <code>can find closest</code> / <code>can fill</code> (区域轮廓)
 +
<source lang="yaml">type: WORLDGUARD_REGION_INSIDE
 +
bound1: world,x,y,z
 +
bound2: world,x,y,z</source>

2020年11月29日 (日) 16:11的最新版本

GuillaumeVDN的插件文档
页面

GuillaumeVDN的插件文档 · 迁移

所有插件都有的常见内容

配置 · 杂项 · 关联

QuestCreator

基础内容 · 示例 · 详细特性 · 高级内容 · 关联

Citizens

这一页面介绍关联Citizens的特性,适用于我的所有插件。

NPC相对位置类型

这是普通位置类型的变体,它会搜索已生成的NPC并使用相对于该NPC的位置。

CITIZENS_NPC_RELATIVE_SINGLE

相对于NPC的特定地点 / can find random / can find closest / can fill

type: CITIZENS_NPC_RELATIVE_SINGLE
 npc: 1  # NPC id
 location:
   # …… 相对位置(见配置/通用配置/相对位置)
 point_tolerance: COORDS  # 检测位置是否匹配时的点容差
                          # 值:COORDS(匹配坐标)、STRICT(距离 <= 0.75)、REGULAR(距离 <= 1.5)LENIENT (距离 <= 2.25)

CITIZENS_NPC_RELATIVE_AREA_INSIDE

相对于NPC在区域内 / can find random / can find closest / can fill

type: CITIZENS_NPC_RELATIVE_AREA_INSIDE
 npc: 1  # NPC id
 bound1:
   # …… 相对位置(见配置/通用配置/相对位置)
 bound2:
   # …… 相对位置(见配置/通用配置/相对位置)

CITIZENS_NPC_RELATIVE_AREA_OUTSIDE

相对于NPC在区域外 / can find random / can find closest / can fill (区域轮廓)

type: CITIZENS_NPC_RELATIVE_AREA_OUTSIDE
 npc: 1  # NPC id
 bound1:
   # …… 相对位置(见配置/通用配置/相对位置)
 bound2:
   # …… 相对位置(见配置/通用配置/相对位置)

CITIZENS_NPC_RELATIVE_SPHERE_INSIDE

相对于NPC在球体内 / can find random / can find closest / can fill

type: CITIZENS_NPC_RELATIVE_SPHERE_INSIDE
 npc: 1  # NPC id
 center:
   # …… 相对位置(见配置/通用配置/相对位置)
 radius: 5.0

CITIZENS_NPC_RELATIVE_SPHERE_OUTSIDE

相对于NPC在球体外 / can find random / can find closest / can fill(球体轮廓)

type: CITIZENS_NPC_RELATIVE_SPHERE_OUTSIDE
 npc: 1  # NPC id
 center:
   # …… 相对位置(见配置/通用配置/相对位置)
 radius: 5.0

CITIZENS_NPC_RELATIVE_CYLINDER_INSIDE

相对于NPC在圆柱内 / can find random / can find closest

type: CITIZENS_NPC_RELATIVE_SPHERE_OUTSIDE
 npc: 1  # NPC id
 center:  # 圆柱中心(忽略Y轴)
   # …… 相对位置(见配置/通用配置/相对位置)
 radius: 5.0

CITIZENS_NPC_RELATIVE_CYLINDER_OUTSIDE

相对于NPC在圆柱外 / can find random / can find closest

type: CITIZENS_NPC_RELATIVE_CYLINDER_OUTSIDE
 npc: 1  # NPC id
 center:  # 圆柱中心(忽略Y轴)
   # …… 相对位置(见配置/通用配置/相对位置)
 radius: 5.0

MythicMobs

这一部分介绍关联MythicMobs的特性,适用于我的所有插件。

生物相对位置类型

这是普通位置类型的变体,它会搜索最近匹配的mm生物并使用相对于该生物的位置。

CLOSEST_MYTHICMOB_RELATIVE_SINGLE

相对于生物的特定位置 / can find random / can find closest / can fill

type: CLOSEST_MYTHICMOB_RELATIVE_SINGLE
 mobs: []  # 允许的生物类型(留空则允许全部)
 location:
   # …… 相对位置 (见配置/通用配置/相对位置)
 point_tolerance: COORDS  # 检测位置是否匹配时的点容差
                          # 值:COORDS(匹配坐标)、STRICT(距离 <= 0.75)、REGULAR(距离 <= 1.5)LENIENT (距离 <= 2.25)

CLOSEST_MYTHICMOB_RELATIVE_AREA_INSIDE

相对于生物在区域内 / can find random / can find closest / can fill

type: CLOSEST_MYTHICMOB_RELATIVE_AREA_INSIDE
 mobs: []  # 允许的生物类型(留空则允许全部)
 bound1:
   # …… 相对位置 (见配置/通用配置/相对位置)
 bound2:
   # …… 相对位置 (见配置/通用配置/相对位置)

CLOSEST_MYTHICMOB_RELATIVE_AREA_OUTSIDE

相对于生物在区域外 / can find random / can find closest / can fill (区域轮廓)

type: CLOSEST_MYTHICMOB_RELATIVE_AREA_OUTSIDE
 mobs: []  # 允许的生物类型(留空则允许全部)
 bound1:
   # …… 相对位置 (见配置/通用配置/相对位置)
 bound2:
   # …… 相对位置 (见配置/通用配置/相对位置)

CLOSEST_MYTHICMOB_RELATIVE_SPHERE_INSIDE

相对于生物在球体内 / can find random / can find closest / can fill

type: CLOSEST_MYTHICMOB_RELATIVE_SPHERE_INSIDE
 mobs: []  # 允许的生物类型(留空则允许全部)
 center:
   # …… 相对位置 (见配置/通用配置/相对位置)
 radius: 5.0

CLOSEST_MYTHICMOB_RELATIVE_SPHERE_OUTSIDE

相对于生物在球体外 / can find random / can find closest / can fill (sphere outline)

type: CLOSEST_MYTHICMOB_RELATIVE_SPHERE_OUTSIDE
 mobs: []  # 允许的生物类型(留空则允许全部)
 center:
   # …… 相对位置 (见配置/通用配置/相对位置)
 radius: 5.0

CLOSEST_MYTHICMOB_RELATIVE_CYLINDER_INSIDE

相对于生物在圆柱内 / can find random / can find closest

type: CLOSEST_MYTHICMOB_RELATIVE_SPHERE_OUTSIDE
 mobs: []  # 允许的生物类型(留空则允许全部)
 center:  # 圆柱中心(忽略Y轴)
   # …… 相对位置 (见配置/通用配置/相对位置)
 radius: 5.0

CLOSEST_MYTHICMOB_RELATIVE_CYLINDER_OUTSIDE

相对于生物在圆柱外 / can find random / can find closest

type: CLOSEST_MYTHICMOB_RELATIVE_CYLINDER_OUTSIDE
 mobs: []  # 允许的生物类型(留空则允许全部)
 center:  # 圆柱中心(忽略Y轴)
   # …… 相对位置 (见配置/通用配置/相对位置)
 radius: 5.0

WorldGuard

这一部分介绍关联WorldGuard的特性,适用于我的全部插件。

位置类型

WORLDGUARD_REGION_INSIDE

在WorldGuard区域内 / can find random / can find closest / can fill

type: WORLDGUARD_REGION_INSIDE
 bound1: world,x,y,z
 bound2: world,x,y,z

WORLDGUARD_REGION_INSIDE

在WorldGuard区域外 / can find random / can find closest / can fill (区域轮廓)

type: WORLDGUARD_REGION_INSIDE
 bound1: world,x,y,z
 bound2: world,x,y,z