欢迎来到Minecraft插件百科!
对百科编辑一脸懵逼?
帮助:快速入门
带您快速熟悉百科编辑!
因近日遭受攻击,百科现已限制编辑,有意编辑请加入插件百科企鹅群:223812289
查看“MythicMobsExtension”的源代码
←
MythicMobsExtension
跳转到导航
跳转到搜索
因为以下原因,您没有权限编辑本页:
您请求的操作仅限属于这些用户组的用户执行:
用户
、
自动确认用户
、
巡查者
您可以查看和复制此页面的源代码。
{{Plugin Infobox |icon= |plugin=MythicMobsExtension |version=1.238f |pre= |ver= |author=muhahahahe |URL=https://www.spigotmc.org/resources/mythicmobsextension.51884/ }} =插件介绍= 这个插件是基于mythicmobs的一个API,可以给你的mythicmobs插件添加60多种机械,50多种条件和10多个目标. =前置= 至少4.1以上版本的 [https://www.spigotmc.org/resources/%E2%9A%94-mythicmobs-%E2%96%BAthe-1-custom-mob-creator%E2%97%84.5702/ MythicMobs]<br /> 一些机械需要用到 [https://dev.bukkit.org/projects/holographic-displays HolographicDisplays] =条件Conditions= 条件的使用方法和mythicmobs内的用法一样<br /> [http://mythicmobs.net/manual/doku.php/conditions/start#how_do_conditions_work 官方教程] ---- ==可用条件列表== {| class="wikitable" |- |- | attackable || behind || BiomeFix || crouching || damageable |- || eir || facingDirection || FactionsFlag || getBowTension || getIndicator |- | hasMeta || hasSpawner || hasTarget || inFaction || inFront |- || inMobArena || inMotion || inSolidBlock || isBurning || isGoggling |- | isPresent || isSpinning || isStunned || isVehicle || jumping |- || lastBowTension || lastDamageCause || leir || lookAtMe || looksAtMe |- | MobsInRadius || moveSpeed || onCooldown || onSolidBlock || ownerAlive |- || ownsItem || ownsItemSimple || parsedStance || pir || playerTime |- | playerWeather || relativeDirection || running || sameFaction || sameSpawner |- || sameWorld || sleeping || testfor || vDistance || WGDenySpawnFlag||WGStateFlag |} ==总体条件== ''译者注:mm怪物即为mythicmobs内的怪物'' - biomefix{b=[SINGLE/ARRAY];action=[BOOLEAN]} 检测施放者或目标所在的生物群系 例子: - biomefix{b=DESERT,PLAINS;action=true} - crouching{action=[BOOLEAN]} 检测玩家是否处于潜行状态 例子: - crouching{action=true} - eir{types=[SINGLE/ARRAY/ALL];amount=[数值/数值范围];radius=[数值];action=[boolean];insameblock/isb=[BOOLEAN]} 检测在所给出范围内的实体数 例子: - eir{types=ARMOR_STAND;amount=1;radius=5;action=true} - facingdirection{d=[CARDINAL-POINT];action=[BOOLEAN]} 检测目标是否看着指定的方向 例子: - facingdirection{f=SOUTH_WEST;action=true} - factionsflag{flag=[SINGLE/ARRAY];action=[BOOLEAN]} 检测 if the faction has a specific flag set or unset 例子: - factionsflag{flag=firespread;action=false} - getbowtension{range=[数值/数值范围];debug=[BOOLEAN];action=[BOOLEAN]} 检测拉弓状态 例子: - getbowtension{range=1;action=true} - getindicator{value=[数值/数值范围];action=[BOOLEAN]} 检测玩家的攻击指示器 0 = 无攻击指示器, 1 = 满的攻击指示器 例子: - getindicator{value=<0.51;action=true} - hasspawner{names=[SINGLE/ARRAY/ANY];action=[BOOLEAN]} 检测mm怪物是否来自于刷怪笼 例子: - hasspawner{names=MySpawner;action=true} - hastarget{action=[BOOLEAN]} 检测 if the caster has a target 注意: *This only works on the caster, if you use it in a TargetConditions it will throw an error!* 例子: - hastarget{action=true} - infaction{faction=[STRING/ARRAY];action=[BOOLEAN]} 检测 if the caster is in the faction or one of the factions 注意: 只对mm怪物生效 例子: - infaction{faction=MyFaction;action=true} - inmobarena 检测 施放者, 目标或指定位置是否在怪物竞技场内. 需要 MobArena 插件 - inmotion{action=[BOOLEAN]} 检测 if the target is in motion wont work on non-living entities or players 例子: - inmotion{action=true} - insolidblock{action=[BOOLEAN]} 检测 if the targeted entity or location is in a solid block 例子: - insolidblock{action=true} - jumping{action=[BOOLEAN]} 检测 if the targeted entity is jumping 例子: - jumping{action=true} - lastbowtension{range=[数值/数值范围];debug=[BOOLEAN];action=[BOOLEAN]} 检测 with how much tension the bow was shot 例子: - lastbowtension{range=>0.7;action=true} - lastdamagecause{cause=[BukkitDamageCause];damager=[BukkitEntityType];action=[BOOLEAN]} 检测 the last damage event on the caster or target Note: entity for check must be a MythicMob 例子: - lastdamagecause{cause=PROJECTILE;damager=PLAYER;action=true} - leir{types=[SINGLE/ARRAY/ALL];amount=[数值/数值范围];radius=[数值];action=[boolean];insameblock/isb=[BOOLEAN]} 检测 for the living entities in the given range 例子: - leir{types=ZOMBIE,SQUID;amount=2;radius=15;action=true} - mobsinradius{mobtypes=[SINGLE/ARRAY/ALL];a=[NUMERIC/NUMERIC范围];r=[NUMERIC];action=[BOOLEAN]} 检测 the amount of mobs in a given area around the caster/target/location 例子: - mobsinradius{m=ALL;a=5to10;r=20;action=TRUE} - movespeed{range=[数值/数值范围]} 检测 the movementspeed of the targeted living entity 例子: - movespeed{range=>0.1} - oncooldown{value=[数值/数值-Range];action=[BOOLEAN]} 检测 if the players item is on cooldown 例子: - oncooldown{value=1to10;action=true} - owneralive{action=[boolean]} 检测 if the owner is online, alive or in the same world 例子: - owneralive{action=true} - pir{amount=[数值/数值范围];radius=[数值];action=[boolean];insameblock/isb=[BOOLEAN]} 检测 if the amount of players are in the given range 例子: - pir{amount=5;radius=10;action=true} - playertime{time=[数值/数值范围];action=[boolean]} 检测 the targeted player's time only use it with playertime mechanic 例子: - playertime{time=0to12000;action=true} - playerweather{weather=[WEATHERTYPE];action=[boolean]} 检测 the targeted player's weather only use it with playerweather mechanic 例子: - playerweather{weather=CLEAR;action=true} - running{action=[BOOLEAN]} 检测 if the targeted player is running/sprinting 例子: - running{action=true} - sleeping{action=[boolean]} 检测 if the targeted player is sleeping 例子: - sleeping{action=true} - testfor{vc="[valid_testfor_stuff]";action=[BOOLEAN]} 检测 the caster or target with valid testfor stuff 例子: - testfor{vc="XpLevel:20";action=true} - wgdenyspawnflag{types=[BukkitEntityType];action=[BOOLEAN]} 检测 if the region has denied the spawning of defined entities(usually used in randomspawns) 例子: - wgdenyspawnflag{types=ZOMBIE,SKELETON;action=false} - wgstateflag{flag=[WorldGuardFlag];action=[BOOLEAN]} 检测 if the region has set the defined flag 例子: - wgstateflag{flag=mob-spawning;action=false} ==对比条件== - attackable{cause=[BukkitEntityDamageEvent];action=[BOOLEAN]} 检测 if the target is attackable by the caster with this DamageEvent 例子: - attackable{cause=PROJECTILE;action=false} - behind{view=[ANGLE_VALUE];action=[BOOLEAN]} 检测 if the caster is behind of its target 例子: - behind{view=90;action=true} - damageable{cause=[BukkitEntityDamageEvent];action=[BOOLEAN]} 检测 if the target is damageable with this DamageEvent 例子: - damageable{cause=PROJECTILE;action=true} - hasmeta{meta="tag=[TAGNAME];value=[TAGVALUE];type=[BOOLEAN/NUMERIC/STRING]";compareself=[BOOLEAN];action=[BOOLEAN]} compares the meta of 2 entities, can also used on caster itself can check multiple metas (seperated by && for AND or || for OR) 例子: - hasmeta{meta="tag=lastdamagedentity;value=<target.uuid>; type=STRING";cs=true;action=true} - hasmetasimple{tag=[TAGNAME];value=[TAGVALUE];type=[BOOLEAN/NUMERIC/STRING]";compareself=[BOOLEAN];action=[BOOLEAN]} same as hasmeta but can only compare 1 例子: - hasmetasimple{tag=lastdamagedentity;value=<target.uuid>; type=STRING;cs=true;action=true} - infront{view=[ANGLE-数值];action=[BOOLEAN]} 检测 if the caster is infront of its target 例子: - infront{view=10;action=false} - isburning{range=[数值];action=[BOOLEAN]} 检测 if the targeted entity is burning when a range is provided 检测 if the amount of ticks provided matches with FIRE_TICKS 例子: - isburning{action=true} - isgoggling{action=[BOOLEAN]} 检测 if the player is looking at something 例子: - isgoggling{action=true} - ispresent{action=[BOOLEAN]} 检测 if an entity is present 例子: - ispresent{action=true} - isspinning{action=[BOOLEAN]} 检测 if the player is spinning use with the playerspin mechanic 例子: - isspinning{action=true} - isstunned{action=[BOOLEAN]} 检测 if the caster or target is stunned This works also as TargetConditions: keep in mind to set the right targeter 例子: - isstunned{action=true} - isvehicle{action=[BOOLEAN]} 检测 if the target is riding something 例子: - isvehicle{action=true} - lookatme{fov=[DOUBLE];yo=[DOUBLE];debug=[BOOLEAN]} 检测 if the target is looking at the caster the example uses the default values that are fine for almost any entity with debug set to true you will get a console output with the fov and yo 例子: - lookatme{fov=1.999;yo=-0.4} - onsolidblock{action=[BOOLEAN]} 检测 if the targeted entity or location is on a solid block 例子: - onsolidblock{action=true} - ownsitem{list="where=[ANY/HAND/ARMOR/INVENTORY];material=[ANY/MATERIALTYPE];amount=[数值/数值范围];lore=[LORETEXT]";action=[BOOLEAN]} 检测 one or multiple slots (seperated by && for AND or || for OR) of the target if it has an item or material 例子: - ownsitem{list="where=HAND;material=DIAMOND_SWORD;amount=1 && where=INVENTORY;material=DIAMOND_SWORD;amount=1to2";action=true} - ownsitemsimple{where=[ANY/HAND/ARMOR/INVENTORY];material=[ANY/MATERIALTYPE];amount=[数值/数值范围];lore=[LORETEXT];action=[BOOLEAN]} same as ownsitem but can only check 1 slot 例子: - ownsitemsimple{where=HAND;material=SAND;amount=1;action=true} - parsedstance{s="<variable>";cs=[BOOLEAN];action=[BOOLEAN]} this condition can check if a variable is set as a stance usefull with parsedstance mechanic (注意: if cs is set to true it will always check the caster) 例子: - parsedstance{s="<target.uuid>";cs=true;action=true} - relativedirection{angle=[数值/数值范围];action=[BOOLEAN]} 检测 the direction to the target from the caster 例子: - relativedirection{angle=90;action=false} - samefaction{faction=[STRING/ARRAY];action=[BOOLEAN]} 检测 if the caster and target are in the same faction or one of the factions 注意: 只作用于一只mm的怪物 例子: - samefaction{faction=MyFaction;action=true} - samespawner{action=[BOOLEAN]} 检测 目标MythicMob是否作为来自同一刷怪笼的施放者 例子: - samespawner{action=true} - sameworld{action=[BOOLEAN]} 检测 if the caster and targeted entity or location are in the same world 例子: - sameworld{action=true} - vdistance{d=[NUMERIC];action=[BOOLEAN]} 检测施放者和目标直之间的距离 例子: - vdistance{d=2to3;action=true} =机械= {| class="wikitable" |- ! 技能 !! 描述 |- |asquip||给盔甲架装上装备 |- |cure / removePotion||移除目标身上特点或所有的药水效果 |- |damageArmor||伤害目标身上所有或特定格子顺序的防具 |- |disarm||缴械目标 |- |dropInventory||丢出目标玩家背包内特定倍数或所有的物品 |- |dropStolenItems||掉落之前偷窃的物品 (配合steal使用) |- |entityGoggle / entityGoggleAt||强制非玩家实体看着施放者 |- |equipSkull||修复MC 1.8.8版本的BUG, 给施放者装上头颅 |- |extinguish||熄灭目标身上的火焰 |- |feed||feeds the targeted player |- |playerGoggle / playerGoggleAt||forces the targeted player to look at the caster |- |playerSpin||旋转目标玩家 |- |playerWeather||sets the weather and/or time at the targeted player |- |playerZoom||旋转目标玩家 |- |oxygen||给目标玩家灌满氧气 |- |setRotation||旋转实体 |- |steal||从目标玩家身上偷取物品 |- |stun||makes targeted entities immobile and unable to interact |- |swap||交互施放者和目标的位置 |- |unEquip||卸下施放者指定格子顺序的防具 |} =链接= [https://github.com/BerndiVader/MythicMobsExtension/wiki github原文]
返回
MythicMobsExtension
。
导航菜单
个人工具
登录
命名空间
页面
讨论
大陆简体
查看
阅读
查看源代码
查看历史
更多
搜索
导航
首页
最近更改
随机页面
编辑相关
百科公告
编辑帮助
互助客栈
贡献分数
测试沙盒
发布条目
插件分类
管理
安全
聊天
编程
经济
修正
娱乐
综合
信息
机械
角色
传送
网页
整地
创世
付费
其它
工具
链入页面
相关更改
特殊页面
页面信息
相关网站
MCMOD百科
Minecraft中文百科
Minecraft纪念论坛
Minecraft百度贴吧
虚无世界Wiki