- 欢迎来到Minecraft插件百科!
- 对百科编辑一脸懵逼?帮助:快速入门带您快速熟悉百科编辑!
- 因近日遭受攻击,百科现已限制编辑,有意编辑请加入插件百科企鹅群:223812289
Difference between revisions of "GuillaumeVDN的插件文档/关联"
Qsefthuopq (talk | contribs) (创建页面,内容为“{{模板: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…”) |
Qsefthuopq (talk | contribs) (→Citizens) |
||
Line 1: | Line 1: | ||
{{模板:VDNBox}} | {{模板:VDNBox}} | ||
=Citizens= | =Citizens= | ||
− | + | 这一页面介绍关联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=== | + | <code>type: CITIZENS_NPC_RELATIVE_SINGLE |
− | ===CITIZENS_NPC_RELATIVE_CYLINDER_OUTSIDE=== | + | npc: 1 # NPC id |
+ | location: | ||
+ | # …… 相对位置(见配置/一些通用配置/相对位置) | ||
+ | point_tolerance: COORDS # 检测位置是否匹配时的点容差 | ||
+ | # 值:COORDS(匹配坐标),STRICT (distance <= 0.75),REGULAR (distance <= 1.5),LENIENT (distance <= 2.25)</code> | ||
+ | |||
+ | === CITIZENS_NPC_RELATIVE_AREA_INSIDE === | ||
+ | 相对于NPC在区域内 / <code>can find random</code> / <code>can find closest</code> / <code>can fill</code> | ||
+ | <code>type: CITIZENS_NPC_RELATIVE_AREA_INSIDE | ||
+ | npc: 1 # NPC id | ||
+ | bound1: | ||
+ | # …… 相对位置(见配置/一些通用配置/相对位置) | ||
+ | bound2: | ||
+ | # …… 相对位置(见配置/一些通用配置/相对位置)</code> | ||
+ | |||
+ | === CITIZENS_NPC_RELATIVE_AREA_OUTSIDE === | ||
+ | 相对于NPC在区域外 / <code>can find random</code> / <code>can find closest</code> / <code>can fill</code> (区域轮廓) | ||
+ | <code>type: CITIZENS_NPC_RELATIVE_AREA_OUTSIDE | ||
+ | npc: 1 # NPC id | ||
+ | bound1: | ||
+ | # …… 相对位置(见配置/一些通用配置/相对位置) | ||
+ | bound2: | ||
+ | # …… 相对位置(见配置/一些通用配置/相对位置)</code> | ||
+ | |||
+ | === CITIZENS_NPC_RELATIVE_SPHERE_INSIDE === | ||
+ | 相对于NPC在球体内 / <code>can find random</code> / <code>can find closest</code> / <code>can fill</code> | ||
+ | <code>type: CITIZENS_NPC_RELATIVE_SPHERE_INSIDE | ||
+ | npc: 1 # NPC id | ||
+ | center: | ||
+ | # …… 相对位置(见配置/一些通用配置/相对位置) | ||
+ | radius: 5.0</code> | ||
+ | |||
+ | === CITIZENS_NPC_RELATIVE_SPHERE_OUTSIDE === | ||
+ | 相对于NPC在球体外 / <code>can find random</code> / <code>can find closest</code> / <code>can fill</code> (sphere outline) | ||
+ | <code>type: CITIZENS_NPC_RELATIVE_SPHERE_OUTSIDE | ||
+ | npc: 1 # NPC id | ||
+ | center: | ||
+ | # …… 相对位置(见配置/一些通用配置/相对位置) | ||
+ | radius: 5.0</code> | ||
+ | |||
+ | === CITIZENS_NPC_RELATIVE_CYLINDER_INSIDE === | ||
+ | 相对于NPC在圆柱内 / <code>can find random</code> / <code>can find closest</code> | ||
+ | <code>type: CITIZENS_NPC_RELATIVE_SPHERE_OUTSIDE | ||
+ | npc: 1 # NPC id | ||
+ | center: # 圆柱中心(忽略Y轴) | ||
+ | # …… 相对位置(见配置/一些通用配置/相对位置) | ||
+ | radius: 5.0</code> | ||
+ | |||
+ | === CITIZENS_NPC_RELATIVE_CYLINDER_OUTSIDE === | ||
+ | 相对于NPC在圆柱外 / <code>can find random</code> / <code>can find closest</code> | ||
+ | <code>type: CITIZENS_NPC_RELATIVE_CYLINDER_OUTSIDE | ||
+ | npc: 1 # NPC id | ||
+ | center: # 圆柱中心(忽略Y轴) | ||
+ | # …… 相对位置(见配置/一些通用配置/相对位置) | ||
+ | radius: 5.0</code> | ||
=MythicMobs= | =MythicMobs= |
Revision as of 18:47, 24 November 2020
Contents
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 (distance <= 0.75),REGULAR (distance <= 1.5),LENIENT (distance <= 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
(sphere outline)
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
This describes the integrated features for MythicMobs, generic to all plugins.