Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
MythicMobs MythicMobs
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 158
    • Issues 158
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • MythicCraft
  • MythicMobsMythicMobs
  • Wiki
  • UsefulTips

Last edited by Brickgard Jan 31, 2024
Page history
This is an old version of this page. You can view the most recent version or browse the history.

UsefulTips

The following is a list of Skills that might result to be of use

Table of contents:

  • General Rules
  • Mobs
    • Overrides
  • Skills
    • Chat Messagges
  • Items
  • Drops & DropTables
    • Multiple Drops
    • Specific Drops
  • Spawning
    • Random Spawns

General Rules

  • NEVER test ANYTHING while in creative mode
  • Always read the wiki page of what you are using in depth
  • Always keep your plugins updated
  • Make sure you are on a supported version. You can check that by doing /mm version

Mobs

Overrides

My PILLAGER override is not giving bad omen
This is a common issue. To fix this, consider adding the following skill to your PILLAGER mob override:  
  Skills:
  - skill{s=[
    - potion{t=BAD_OMEN;l=4;d=120000} ?~haspotioneffect{t=BAD_OMEN;l=3to4}
    - potion{t=BAD_OMEN;l=3;d=120000} ?~haspotioneffect{t=BAD_OMEN;l=2}
    - potion{t=BAD_OMEN;l=2;d=120000} ?~haspotioneffect{t=BAD_OMEN;l=1}
    - potion{t=BAD_OMEN;l=1;d=120000} ?~haspotioneffect{t=BAD_OMEN;l=0}
    - potion{t=BAD_OMEN;l=0;d=120000}
    ]} @trigger ~onDeath ?~isPlayer ?wearing{m=WHITE_BANNER}

Skills

Chat Messagges

I want to warn every player that a mob has spawned The Placeholders wiki page contains one such example.

Items

Drops & DropTables

Multiple Drops

Let every player that took part in the fight receive a drop
This can be done by enabling the mob's ThreatTable Module and by executing the following mechanic when the mob dies:  
  Skills:
  - dropitem{i=droptable_name} @ThreatTablePlayers ~onDeath

In this manner, the mob will drop the droptable named droptable_name to every player in the mob Threat Table, effectively dropping it to every player that engaged the mob in combat

Let only the X players who dealt the most damage receive a drop
This can be done by enabling the mob's ThreatTable Module and by executing the following mechanic when the mob dies:  
  Skills:
  - dropitem{i=droptable_name} @ThreatTablePlayers{limit=X;sort=HIGHEST_THREAT} ~onDeath

Where X is the number of top players you want being able to receive the drop.

While this method is not necessarily precise (threat can decay, among other things) it's extremely simple to implement and the precision is in an acceptable range

Specific Drops

Let only the player who dealt the most damage receive a drop
This can be done by enabling the mob's ThreatTable Module and by executing the following mechanic when the mob dies:  
  Skills:
  - dropitem{i=droptable_name} @ThreatTablePlayers{limit=1;sort=HIGHEST_THREAT} ~onDeath

While this method is not necessarily precise (threat can decay, among other things) it's extremely simple to implement and the precision is in an acceptable range

Drop items to the last player that hit the mob
In this case, you will need to set a variable on the mob every time it is hit only if the trigger is a Player. Then, onDeath, you can use a UUID targeter to drop a specific item to whoever the variable is memorizing. This way, even if the mob dies for some other causes (Fire damage, Fall damage etc.), a player will always be selected for the drop, and is, as such, far more stable than dropping an item onDeath to the trigger.  
  Skills:
  - setvariable{var=caster.lastplayer;type=STRING;val=<trigger.uuid>} @self ~onDamaged ?~isPlayer
  - dropitem{...} @UUID{u="<caster.var.lastplayer>"} ~onDeath ?variableisset{var=caster.lastplayer}

Spawning

Random Spawns

Mobs with the ADD spawn action are not spawning You must have enabled `GenerateSpawnPoints` in the plugin's config file. You must not be in creative or spectator mode.
Clone repository
Home
Changelogs
Premium Features
Commands and Permissions
FAQ / Common Issues
Mythic Add-ons
Compatible Plugins
API Information
Packs
Mobs
  • Mob Options
    • Display Options
  • Mob Levels
  • Mob Factions
  • Power Scaling
  • Damage Modifiers
  • Equipment
  • BossBar
  • Custom AI
  • Custom Kill Messages
  • Threat Tables
  • Immunity Tables
  • Templates
  • Vanilla Overrides
  • Extra: Disguises
  • Extra: ModelEngine
Skills
  • Mechanics
  • Effects
  • Targeters
    • Filters
  • Triggers
  • Conditions
    • In-line conditions
  • Metaskills
  • Placeholders
  • Variables
  • Math
Items
  • Options
  • Attributes
  • Enchantments
  • Potions
  • Banner Layers
  • Firework
Drops & DropTables
  • Drop Types
Spawning
  • Spawners
  • Random Spawns
Stats
  • Custom Stat Options
  • Modifiers
  • Built in Stats
Examples
Useful Tips