这是本文档旧的修订版!
Options
Mob Options
这是在 MythicMobs 中创建生物时所有可用选项的数据库。这些选项位于 Options 标签下,如下所示:
VeryFastSkeleton: Type: skeleton Display: 'Very Fast Skeleton' Options: MovementSpeed: 0.3 NoDamageTicks: 50
通用选项
这些选项是通用的,无论生物类型如何都可以使用。 所有怪物都有效:(就算用机翻你也能看得懂,原文档反人的程度让我放弃了精校)
AlwaysShowName: [true/false] 始终显示名称:[真/假]
- 是否应始终显示名称标签,即使不看生物和穿过方块。
- 相当于 NBT 标签“CustomNameVisible”
- 默认为假。
AttackSpeed: [number] 攻击速度:[数量]
- 设置生物的攻击速度。
- 默认为各个生物的原版攻击速度。 (什么都不做。)
ApplyInvisibility: [true/false] (4.9) 应用隐身:[真/假] (4.9)
- 对生物设置永久隐形效果(不需要隐形药水~onSpawn)。
- 默认为假。
Collidable: [true/false] 可碰撞:[真/假]
- 生物是否有碰撞。
- 默认为真。
- 请注意,Minecraft 中的碰撞是双向的,因此需要将碰撞对象和碰撞对象都设置为 false 以确保不会发生碰撞。
- Note that collisions in Minecraft are bidirectional, so this would need to be set to false on both the collidee and the collidant to ensure no collisions take place.
Despawn: [true/false] 自动消失:[真/假]
- 确定如果附近没有玩家,怪物是否会消失。
- 如果您使用大量刷怪箱或实体会淹没您的服务器,通常应该打开。
- 等效的 NBT 标签是“PersistenceRequired”
- 默认为真。
FollowRange: [value] 跟随范围:[值]
- 生物和目标之间的最大距离(可以是一个位置)
- 还定义了目标最初会激怒玩家的最大范围。
- 默认为标准各自的'我的世界跟'随范围
Glowing: [true/false] 发光:[真/假]
- 生物是否应该永久发光。
- 默认为假。
Invincible: [true/false] 无敌:[真/假]
- 使暴徒对所有类型的伤害都完全无敌。
- 不能被命令技能改变!
- 默认为假。
Interactable: [true/false] 可互动:[真/假]
- 使暴徒不可互动。 在盔甲架的情况下,否认与其设备相互作用。
- 默认为假。
LockPitch: [true/false] (4.9) 锁距:[真/假] (4.9)
- 需要protocollib,防止暴徒的头向上/向下看。
- 默认为假。
KnockbackResistance: [number] 击退抗性:[数量]
- 0 到 1 之间的数字,用于定义生物对击退的抵抗力。 默认为 0。
- 0.1 = 10%,0.5 = 50% 1 = 100%
- 请注意,具有 100% 抗性的生物仍然可以被弓的附魔:ARROW_KNOCKBACK 击退。
MaxCombatDistance: [number] 最大战斗距离:[数字]
- 生物不能被比 # 多块更远的玩家损坏。
- 将此选项设置为小于特定生物技能或攻击距离的数字将确保生物可以伤害玩家并且不会那么容易被利用。
MovementSpeed: [number] 移动速度:[数量]
- 生物的移动速度。
- 大多数生物默认移动速度为 0.2
- 高于 1 的值往往会使暴徒难以/无法战斗。
NoAI: [true/false] 无AI:[真/假]
- 无论暴民是否应该拥有人工智能。 将覆盖 AIGoalSelectors 中指定的任何设置!
- 与 AIGoalSelectors 不同,这将适用于 Enderdragons 和 Withers。
- 默认为假。
NoDamageTicks:[number] 受伤间隔:[]
- 定义生物被击中后无敌的时间。
- 如果为生物打开了 ImmunityTables,则 NoDamageTicks 是针对每个玩家的,而不是全局的。
- 默认为 10。
NoGravity: [true/false] 无重力:[真/假]
- 生物是否应该没有重力。
- 默认为假。
- 请注意,当这是真的时,生物不能拥有 velocity 使用的技能。
PassthroughDamage: [true/false] 穿透伤害:[真/假]
- 导致所有受到的伤害被重定向到生物的父母身上,如果他们存在的话
- 默认为假
Persistent: [true/false] 持久性:[真/假]
- 使生物免疫“mm m killall”命令
- 如果“Despawn”设置为true,暴徒仍然可以消失
- 如果以“mm m kill X”命令或使用“minecraft:kill”命令为目标,该生物仍然可以被杀死
- 默认为假
PreventItemPickup: [true/false] 防止物品拾取:[真/假]
- 防止怪物捡起物品。
- 默认为真。
PreventLeashing: [true/false] 防止拴绳:[真/假]
- 是否防止将皮带拴在暴徒身上。
- 默认为真
PreventMobKillDrops: [true/false] 防止暴民击杀掉落:[真/假] * 防止被 MythicMob 杀死的生物掉落战利品。
- 默认为假。
PreventOtherDrops: [true/false] 防止其他掉落:[真/假]
- MythicMobs 是否应该阻止生物掉落其普通物品?
- 默认为假。
PreventRandomEquipment: [true/false] 防止随机设备:[真/假]
- 是否允许使用随机装备生成生物。
- 默认为假。
PreventRenaming: [true/false] 防止重命名:[真/假]
- 是否防止使用名称标签重命名。
- 默认为真。
PreventSunburn: [true/false] 防止日光伤害:[真/假]
- 是否防止暴徒在阳光下燃烧。
- 不适用于低于 Minecraft 1.13 的版本
- 默认为假。
RepeatAllSkills: [true/false] 重复所有技能:[真/假]
- 如果暴徒恢复到高于他们的生命值阈值,是否重复基于 HP 的技能。
- 默认为假。
ShowHealth: [true/false] 显示血量:[真/假]
- 通过在 show*health*radius 定义的半径内广播的消息显示生物的健康状况,并根据 show*</nowiki 格式化>health<nowiki>*格式。这两个都是config.yml下的全局设置
- 默认为假。
Silent: [true/false] 沉默:[真/假]
- 暴徒是否应该使用原版音效。
- 默认为假。
生物特定选项
These are specific mob options and will have no effect when used on a different mobtype.
Armor Stands CanMove: [true/false] (4.9)
- Whether an armor stand can move or not.
- Only applies to armor stand type mobs.
- Defaults to true.
- Requires PaperSpigot
CanTick: [true/false] (4.9)
- Whether an armor stand can tick or not.
- Only applies to armor stand type mobs.
- Defaults to true.
- Requires PaperSpigot
HasArms: [true/false]
- Whether an armor stand has arms or not.
- Only applies to armor stand type mobs.
- Defaults to false.
HasBasePlate: [true/false] (4.9)
- Whether an armor stand has a baseplate or not.
- Only applies to armor stand type mobs.
- Defaults to true.
HasGravity: [true/false]
- Whether an armor stand is affected by gravity or not.
- Only applies to armor stand type mobs.
- Defaults to true.
Invisible: [true/false]
- Whether an armor stand is invisible or not.
- Only applies to armor stand type mobs.
- Defaults to false.
ItemBody: [MythicItem Name]
- Designates the Mythic Item that should go in the body/chest slot of an armor stand.
- Only applies to armor stand type mobs.
ItemFeet: [MythicItem Name]
- Designates the Mythic Item that should go in the feet slot of an armor stand.
- Only applies to armor stand type mobs.
ItemHand: [MythicItem Name]
- Designates the Mythic Item that should go in the hand slot of an armor stand.
- Only applies to armor stand type mobs.
ItemHead: [MythicItem Name]
- Designates the Mythic Item that should go in the head slot of an armor stand.
- Only applies to armor stand type mobs.
ItemLegs: [MythicItem Name]
- Designates the Mythic Item that should go in the legs slot of an armor stand.
- Only applies to armor stand type mobs.
Marker: [true/false]
- Whether the Armor Stand should be a marker.
- Setting this option to true will prevent the armor stand from being destroyed in the game - making it completely non-interactable.
Small: [true/false]
- Whether an armor stand is small or not.
- Only applies to armor stand type mobs.
- Defaults to false.
Pose:
Head: [0,0,0] Body: [0,0,0] LeftArm: [0,0,0] RightArm: [0,0,0] LeftLeg: [0,0,0] RightLeg: [0,0,0] All these values default to zero. All values accept number ranges - see example below. Note that these pose options will not be recognized under the options-tag but must be set like this: Mob: Type: armor_stand Pose: Head: 0,50,0 Body: 0,10,10 LeftArm: 0 to 360,0,0 RightArm: 0 to 90,0,0
Bees Anger: [number] (4.9)
- Sets the time in ticks until bee anger ends.
- If set to 0 the bee will not be angry.
- Defaults to 0.
HasNectar: [true/false] (4.9)
- Whether the bee is carrying pollen.
- Defaults to false.
HasStung: [true/false] (4.9)
- Whether the bee has stung an entity.
- Defaults to false.
Chicken Jockey: [true/false]
- Wether or not the chicken is a chickenjockey.
- Doesn't really do anything, but it's nice to have options.
- Defaults to false.
Creepers ExplosionRadius: [number]
- Sets the radius/power of the creepers explosion
- Defaults to 3
FuseTicks: [number]
- Sets the number of ticks it takes for creepers to explode.
- Defaults to 30
SuperCharged: [true/false]
- Wether the creeper should spawn as a super charged creeper.
- Defaults to false.
PreventSuicide: [true/false]
- Prevents creepers from dying upon exploding. Set `mobGriefing` gamerule to true for this option to work.
- Defaults to false.
Enderman PreventTeleport: [true/false]
- Meant for Enderman but might work on other mobs. May break teleport skills!
- Defaults to false.
HeldBlock: [Material]
- Sets the block that the Enderman is carrying.
Experience_orb Experience: [Number]
- Sets the amount of experience give by the experience orb mob (4.12 MM)
- Defaults to 1
Falling Blocks Block: [Material type]
- Determines the type of the block.
- Defaults to STONE
BlockData: [Number]
- Additional field for inputting blockdata.
- Defaults to 0
DropsItem: [true/false]
- Drops the falling block's item.
- Defaults to true
HurtsEntities: [true/false]
- Damages entities on impact.
- Defaults to true
Fox FoxType: [Entity type] (4.9)
- Determines the type of the fox.
- Can be RED or SNOW
- Defaults to RED
Hoglin ImmuneToZombification: [true/false] (4.10)
- Whether or not the hoglin is immune to being zombified
- Defaults to false
Huntable: [true/false] (4.10)
- Whether the hoglin is able to be hunted by piglins.
- Defaults to true
Horses, Donkeys, and Mules HorseArmor: [armor_type]
- Used for horses to set the type of armor they have on.
- Can be iron, gold, or diamond
- [armor_type] must be in lower case
CarryingChest: [true/false]
- Used for donkeys to set whether they are carrying a chest or not.
- Defaults to false.
HorseColor: [horse_color]
- Sets color of the horse
- Colors Must be uppercase,can be BLACK, BROWN, CHESTNUT, CREAMY, DARK_BROWN, GRAY or WHITE
Saddled: [true/false]
- Used for horses to set whether they are saddled or not.
- Defaults to false.
HorseStyle: [horse_style]
- Sets the style of the horse.
- Styles can be BLACK_DOTS, WHITE, WHITE_DOTS, WHITEFIELD
Tamed: [true/false]
- Used for horses to set whether they are tamed or not.
- Defaults to false.
HorseType: [type]
- Defines the type of horse
- Can be UNDEAD_HORSE, SKELETON_HORSE, MULE, DONKEY or HORSE
- Defaults to HORSE
- Removed in MC 1.11+, use mob type instead.
Iron Golem PlayerCreated: [true/false]
- Acts as if the player built the mob.
- Defaults to false.
Ocelots Ocelot: [type] (4.9)
- Sets the type of ocelot
- Types can be BLACK_CAT, RED_CAT, SIAMESE_CAT, WILD_OCELOT
- Defaults to WILD_OCELOT
Panda MainGene: [Gene Type] (4.9)*
- Sets the main gene that the panda can pass on to it's offspring.
- Can be NORMAL, AGGRESSIVE, LAZY, WORRIED, PLAYFUL, WEAK, BROWN
- Defaults to NORMAL
HiddenGene: [Gene Type] (4.9)*
- Sets the hidden gene that the panda can pass on to it's offspring.
- Can be NORMAL, AGGRESSIVE, LAZY, WORRIED, PLAYFUL, WEAK, BROWN
- Defaults to NORMAL
Piglin AbleToHunt: [true/false] (4.10)*
- Whether or not the piglin is able to hunt
- Defaults to false
ImmuneToZombification: [true/false] (4.10)*
- Whether or not the piglin is immune to being zombified
- Defaults to false
Piglin Brutes ImmuneToZombification: [true/false] (4.10)*
- Whether or not the piglin is immune to being zombified
- Defaults to false
Pigs Saddled: [true/false]*
- Wether or not the pig spawns with a saddle.
- Defaults to false
Rabbits RabbitType: [rabbit_type]
- Sets type of rabbit
- Types can be BLACK, BLACK_AND_WHITE, BROWN, GOLD, SALT_AND_PEPPER, THE_KILLER_BUNNY or WHITE
Baby: [true/false]
- Not sure why this exists.
- Defaults to false.
IsKillerBunny: [true/false]
- Sets the rabbit as the Killer Bunny.
Sheep Sheared: [true/false]
- Sheep is already sheared.
- Defaults to false.
Silverfish PreventBlockInfection: [true/false]
- Prevent silverfish from infecting blocks.
- Defaults to true.
Snow Golem Derp: [true/false]
- Snow Golem is already sheared pumpkin
- Defaults to false.
PreventSnowFormation: [true/false]
- Prevent snowmen from creating snow.
- Defaults to false.
TNT FuseTicks: [number]
- How long the TNT takes to explode
- Defaults to -1 (instantly)
ExplosionYield: [number]
- Determines the strength of the explosion
- Defaults to -1 (none)
Incendiary: [true/false]
- Wether the explosion is capable of starting fires
- Defaults to false
Tropical Fish Pattern: [type]
- Sets the shape of the fish
- Types can be BETTY, BLOCKFISH, BRINELY, CLAYFISH, DASHER, FLOPPER, GLITTER, KOB, SNOOPER, SPOTTY, STRIPEY, or SUNSTREAK.
BodyColor: [color]
- Sets the primary color of the fish
- Color can be BLACK, BLUE, BROWN, CYAN, GRAY, GREEN, LIGHT_BLUE, LIGHT_GRAY, LIME, MAGENTA, ORANGE, PINK, PURPLE, RED, WHITE, or YELLOW.
PatternColor: [color]
- Sets the secondary color of the fish
- Color can be BLACK, BLUE, BROWN, CYAN, GRAY, GREEN, LIGHT_BLUE, LIGHT_GRAY, LIME, MAGENTA, ORANGE, PINK, PURPLE, RED, WHITE, or YELLOW.
Villagers HasTrades: [true/false]
- Villager can be traded with.
- Defaults to false.
Profession: [profession]
- Specifies the profession of the villager type mob.
- Can be ARMORER, BUTCHER, CARTOGROPHER, CLERIC, FARMER, FISHERMAN, FLETCHER, LEATHERWORKER, LIBRARIAN, MASON, NITWIT, NONE, SHEPHERD, TOOLSMITH, WEAPONSMITH.
- Villagers without this option will roll a random profession on their initial spawn.
- Examples:
Profession: MASON Type: [type]
- Represents Villager type, usually corresponding to what biome they spawn in.
- Can be DESERT, JUNGLE, PLAINS, SAVANNA, SNOW, SWAMP, TAIGA.
- Defaults to PLAINS.
- Examples:
Type: PLAINS Level: [level]
- Villager profession level, levels 1 - 5.
- Level 1 villagers might switch professions. If you want a villager to hold its profession, give them a level of 2 or higher.
- Required if setting villager professions.
Zombies (all variants) PreventJockeyMounts: [true/false] (4.9)
- Sets whether the zombie will spawn as a jockey.
- Only works for Zombies.
- Defaults to false.
PreventTransformation: [true/false] (4.8)
- Sets whether zombies can be turned into pigmen/drowned.
- Only works for Zombies.
- Defaults to false.
ReinforcementsChance: [number]
- Chance for zombies to spawn reinforcements on taking damage.
- Should be a number between 0 and 1 (0% and 100% chance)
- Only works for Zombies.
- Defaults to 0.
Zombie Villagers Profession: [type]
- Sets the type of the villager the zombie should represent.
- This option will also make the zombie turn into the respective villager type when being cured using potions.
- Can be “FARMER”, …
Group specific options
Breedable mobs Age: [number]
- -1 for Baby. 1 for Adults
- What the age of the mob will be.
- Usable on any mob that can age. For example: Sheep, Pigs, Cows…
- Defaults to 1.
- Use very low negative numbers to mess with the mobs model (not supported)
- May not be working properly
AgeLock: [true/false]
- Whether the mobs age should be locked in place.
- Useful for keeping a baby mob from growing up over time.
- Defaults to false
- This is required if you want Age option to work
Baby: [true/false]
- Sets baby/adult status of mob.
- Use if Age: [number] does not work.
Colorable Mobs Used for sheep and wolves. Color: [number]
- Number between 0 and 15
- Sets the wool color of sheep or the collar color of wolves
- The string is the name of the color you want. Ex: Color: RED
Neutral mobs Used for wolves and zombie pigmen. Angry: [true/false]
- Whether the mob will spawn angry or not.
- Note: Due to a Bukkit/Spigot bug wolves can not be spawned angry with this option.
- Use AIGoalSelectors and AITargetSelectors if you want to spawn angry wolves.
Slimes & Magma Cubes PreventSlimeSplit: [true/false]
- Prevents slimes and magmacubes from splitting.
- Default to false
Size: [number]
- Sets the size of slimes, magma cubes, and phantoms.
- Can get VERY big and get exponentially larger with each increase.
- Extremely high size will cause server lag and possibly crashes.
- Default to 1to8(Phantoms is 1)
Tameable Mobs Tameable: [true/false]
- Allows players to tame the mobs. Used for wolves, cats and horses.
- Defaults to false.