差别
这里会显示出您选择的修订版和当前版本之间的差别。
后一修订版 | 前一修订版 | ||
插件手册:mythicmobs:可选项_options [2021/08/25 21:46] – 创建 duangfafa | 插件手册:mythicmobs:可选项_options [2021/08/30 13:18] (当前版本) – 移除 duangfafa | ||
---|---|---|---|
行 1: | 行 1: | ||
- | ====== Options ====== | ||
- | ===== Mob Options ===== | ||
- | |||
- | ---- | ||
- | {{: | ||
- | 这是在 MythicMobs 中创建生物时所有可用选项的数据库。这些选项位于 Options 标签下,如下所示: | ||
- | <code yaml [enable_line_numbers=" | ||
- | VeryFastSkeleton: | ||
- | Type: skeleton | ||
- | Display: 'Very Fast Skeleton' | ||
- | Options: | ||
- | MovementSpeed: | ||
- | NoDamageTicks: | ||
- | </ | ||
- | ===== 通用选项 ===== | ||
- | 这些选项是通用的,无论生物类型如何都可以使用。 | ||
- | 所有怪物 | ||
- | |||
- | AlwaysShowName: | ||
- | * 是否应始终显示名称标签,即使不看生物和穿过方块。 | ||
- | * 相当于 NBT 标签“CustomNameVisible” | ||
- | * 默认为假。 | ||
- | AttackSpeed: | ||
- | * 设置生物的攻击速度。 | ||
- | * 默认为各个生物的原版攻击速度。 (什么都不做。) | ||
- | ApplyInvisibility: | ||
- | * 对生物设置永久隐形效果(不需要隐形药水~onSpawn)。 | ||
- | * 默认为假。 | ||
- | Collidable: [true/ | ||
- | * 生物是否有碰撞。 | ||
- | * 默认为真。 | ||
- | * 请注意,Minecraft 中的碰撞是双向的,因此需要将碰撞对象和碰撞对象都设置为 false 以确保不会发生碰撞。 | ||
- | * Note that collisions in Minecraft are bidirectional, | ||
- | Despawn: [true/ | ||
- | * 确定如果附近没有玩家,怪物是否会消失。 | ||
- | * 如果您使用大量刷怪箱或实体会淹没您的服务器,通常应该打开。 | ||
- | * 等效的 NBT 标签是“PersistenceRequired” | ||
- | * 默认为真。 | ||
- | FollowRange: | ||
- | * 生物和目标之间的最大距离(可以是一个位置) | ||
- | * 还定义了目标最初会激怒玩家的最大范围。 | ||
- | * 默认为标准各自的' | ||
- | Glowing: [true/ | ||
- | * 生物是否应该永久发光。 | ||
- | * 默认为假。 | ||
- | Invincible: [true/ | ||
- | * 使暴徒对所有类型的伤害都完全无敌。 | ||
- | * // | ||
- | * 默认为假。 | ||
- | Interactable: | ||
- | * 使暴徒不可互动。 在盔甲架的情况下,否认与其设备相互作用。 | ||
- | * 默认为假。 | ||
- | LockPitch: [true/ | ||
- | * 需要protocollib,防止暴徒的头向上/ | ||
- | * 默认为假。 | ||
- | KnockbackResistance: | ||
- | * Number between 0 and 1 that defines resistance of mob to knockbacks. Defaults to 0. | ||
- | * 0.1 = 10%, 0.5 = 50% 1 = 100% | ||
- | * Note that mobs with 100% resistance can still be knocked back by bow's enchantment: | ||
- | MaxCombatDistance: | ||
- | * The mob cannot be damaged by players further away than # many blocks. | ||
- | * Setting this option to a number less than the distance of a certain mob skill or attack will ensure that the mob can damage the player and will not be as easy to exploit. | ||
- | MovementSpeed: | ||
- | * The movement speed of the mob. | ||
- | * Most mobs default to movement speed of 0.2 | ||
- | * Values above 1 tend to make the mob difficult / impossible to fight. | ||
- | NoAI: [true/ | ||
- | * Wether or not the mob should have AI. //Will override any settings specified in AIGoalSelectors!// | ||
- | * As opposed to AIGoalSelectors, | ||
- | * Defaults to false. | ||
- | NoDamageTicks: | ||
- | * Defines how long the mob is invulnerable after being hit. | ||
- | * If ImmunityTables are turned on for the mob, NoDamageTicks are per player as opposed to global. | ||
- | * Defaults to 10. | ||
- | NoGravity: [true/ | ||
- | * Whether the mob should not have gravity. | ||
- | * Defaults to false. | ||
- | * Note that when this is true, the mob CANNOT have the skill [[skills/ | ||
- | PassthroughDamage: | ||
- | * Causes all damage taken to be redirected to the mob's parent, if they exist | ||
- | * Defaults to false | ||
- | Persistent: [true/ | ||
- | * Makes the mob immune to the "mm m killall" | ||
- | * The mob can still despawn if " | ||
- | * The mob can still be killed if targeted in the "mm m kill X" command or using a " | ||
- | * Defaults to false | ||
- | PreventItemPickup: | ||
- | * Prevents mobs from picking up items. | ||
- | * Defaults to true. | ||
- | PreventLeashing: | ||
- | * Whether to prevents a leash from being placed on the mob. | ||
- | * Defaults to true | ||
- | PreventMobKillDrops: | ||
- | * Prevents mobs killed by that MythicMob from dropping loot. | ||
- | * Defaults to false. | ||
- | PreventOtherDrops: | ||
- | * Should MythicMobs block the mob from dropping its normal items? | ||
- | * Defaults to false. | ||
- | PreventRandomEquipment: | ||
- | * Whether a mob should be allowed to spawn with random equipment. | ||
- | * Defaults to false. | ||
- | PreventRenaming: | ||
- | * Whether to prevent renaming using a nametag. | ||
- | * Defaults to true. | ||
- | PreventSunburn: | ||
- | * Whether to prevent the mob from burning in the sun. | ||
- | * Doesn' | ||
- | * Defaults to false. | ||
- | RepeatAllSkills: | ||
- | * Whether to repeat HP based skills if a mob heals back above the health threshold for them. | ||
- | * Defaults to false. | ||
- | ShowHealth: [true/ | ||
- | * Displays health of mob through messages broadcast within a radius defined by **show< | ||
- | * Defaults to false. | ||
- | Silent: [true/ | ||
- | * Whether or not a mob should use vanilla sound effects. | ||
- | * Defaults to false. | ||
- | |||
- | |||
- | Mob specific options | ||
- | These are specific mob options and will have no effect when used on a | ||
- | different mobtype. | ||
- | |||
- | Armor Stands | ||
- | CanMove: [true/ | ||
- | * Whether an armor stand can move or not. | ||
- | * Only applies to armor stand type mobs. | ||
- | * Defaults to true. | ||
- | * Requires PaperSpigot | ||
- | CanTick: [true/ | ||
- | * Whether an armor stand can tick or not. | ||
- | * Only applies to armor stand type mobs. | ||
- | * Defaults to true. | ||
- | * Requires PaperSpigot | ||
- | HasArms: [true/ | ||
- | * Whether an armor stand has arms or not. | ||
- | * Only applies to armor stand type mobs. | ||
- | * Defaults to false. | ||
- | HasBasePlate: | ||
- | * Whether an armor stand has a baseplate or not. | ||
- | * Only applies to armor stand type mobs. | ||
- | * Defaults to true. | ||
- | HasGravity: [true/ | ||
- | * Whether an armor stand is affected by gravity or not. | ||
- | * Only applies to armor stand type mobs. | ||
- | * Defaults to true. | ||
- | Invisible: [true/ | ||
- | * 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/ | ||
- | * 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/ | ||
- | * 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/ | ||
- | * Whether the bee is carrying pollen. | ||
- | * Defaults to false. | ||
- | HasStung: [true/ | ||
- | * Whether the bee has stung an entity. | ||
- | * Defaults to false. | ||
- | |||
- | Chicken | ||
- | Jockey: [true/ | ||
- | * Wether or not the chicken is a chickenjockey. | ||
- | * Doesn' | ||
- | * Defaults to false. | ||
- | |||
- | Creepers | ||
- | ExplosionRadius: | ||
- | * Sets the radius/ | ||
- | * Defaults to 3 | ||
- | FuseTicks: [number] | ||
- | * Sets the number of ticks it takes for creepers to explode. | ||
- | * Defaults to 30 | ||
- | SuperCharged: | ||
- | * Wether the creeper should spawn as a super charged creeper. | ||
- | * Defaults to false. | ||
- | PreventSuicide: | ||
- | * Prevents creepers from dying upon exploding. Set `mobGriefing` gamerule to true for this option to work. | ||
- | * Defaults to false. | ||
- | |||
- | Enderman | ||
- | PreventTeleport: | ||
- | * 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/ | ||
- | * Drops the falling block' | ||
- | * Defaults to true | ||
- | HurtsEntities: | ||
- | * 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: | ||
- | * Whether or not the hoglin is immune to being zombified | ||
- | * Defaults to false | ||
- | Huntable: [true/ | ||
- | * 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: | ||
- | * 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, | ||
- | Saddled: [true/ | ||
- | * 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/ | ||
- | * 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, | ||
- | * Defaults to HORSE | ||
- | * Removed in MC 1.11+, use [[databases/ | ||
- | |||
- | Iron Golem | ||
- | PlayerCreated: | ||
- | * 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, | ||
- | * 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/ | ||
- | * Whether or not the piglin is able to hunt | ||
- | * Defaults to false | ||
- | ImmuneToZombification: | ||
- | * Whether or not the piglin is immune to being zombified | ||
- | * Defaults to false | ||
- | |||
- | Piglin Brutes | ||
- | ImmuneToZombification: | ||
- | * Whether or not the piglin is immune to being zombified | ||
- | * Defaults to false | ||
- | |||
- | Pigs | ||
- | Saddled: [true/ | ||
- | * 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, | ||
- | Baby: [true/ | ||
- | * Not sure why this exists. | ||
- | * Defaults to false. | ||
- | IsKillerBunny: | ||
- | * Sets the rabbit as the Killer Bunny. | ||
- | |||
- | Sheep | ||
- | Sheared: [true/ | ||
- | * Sheep is already sheared. | ||
- | * Defaults to false. | ||
- | |||
- | Silverfish | ||
- | PreventBlockInfection: | ||
- | * Prevent silverfish from infecting blocks. | ||
- | * Defaults to true. | ||
- | |||
- | Snow Golem | ||
- | Derp: [true/ | ||
- | * Snow Golem is already sheared pumpkin | ||
- | * Defaults to false. | ||
- | PreventSnowFormation: | ||
- | * Prevent snowmen from creating snow. | ||
- | * Defaults to false. | ||
- | |||
- | TNT | ||
- | FuseTicks: [number] | ||
- | * How long the TNT takes to explode | ||
- | * Defaults to -1 (instantly) | ||
- | ExplosionYield: | ||
- | * Determines the strength of the explosion | ||
- | * Defaults to -1 (none) | ||
- | Incendiary: [true/ | ||
- | * 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: | ||
- | * 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/ | ||
- | * Villager can be traded with. | ||
- | * Defaults to false. | ||
- | Profession: [profession] | ||
- | * Specifies the profession of the villager type mob. | ||
- | * Can be ARMORER, BUTCHER, CARTOGROPHER, | ||
- | * 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: | ||
- | * Sets whether the zombie will spawn as a jockey. | ||
- | * Only works for Zombies. | ||
- | * Defaults to false. | ||
- | PreventTransformation: | ||
- | * Sets whether zombies can be turned into pigmen/ | ||
- | * Only works for Zombies. | ||
- | * Defaults to false. | ||
- | ReinforcementsChance: | ||
- | * 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 " | ||
- | |||
- | |||
- | 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/ | ||
- | * 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/ | ||
- | * 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** | ||
- | * [[http:// | ||
- | |||
- | Neutral mobs | ||
- | Used for wolves and zombie pigmen. | ||
- | Angry: [true/ | ||
- | * Whether the mob will spawn angry or not. | ||
- | * **Note: Due to a Bukkit/ | ||
- | * **Use AIGoalSelectors and AITargetSelectors if you want to spawn angry wolves.** | ||
- | |||
- | Slimes & Magma Cubes | ||
- | PreventSlimeSplit: | ||
- | * 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/ | ||
- | * Allows players to tame the mobs. Used for wolves, cats and horses. | ||
- | * Defaults to false. | ||
- | |||