HomeJavaModsMythicMobsAddon
Mechanics added:
- funnel:
example:
Code (Text):
- funnel{sync=true;d=9999999;b="%rng_random%";is="netherite_ingot[enchantment_glint_override=true]";ot=[ - m{m=hello} @self ];oat=tick;oac=10} @self
Generates a floating item that floating around the player.
All parameters inherit from MythicMobs’ original Aura skill.
Parameters and their default values:
- setPose, format: setpose{p=SITTING}

- setTicksLived(stl): format: stl{t=1}
ticks must >= 1

- savePDC, format:
Code (Text):
savePDC{slot=HAND;data="data";n="mmaddon:pdc"}
- removePDC, format:
Code (Text):
removePDC{slot=HAND;n="mmaddon:pdc"}
slot: EquipmentSlot or integer(which corresponding to the inventory slot, only work for player)
unknown.png
data/d: String to be saved to item
namespacedkey/n: Self explanatory

- parabolic, format: parabolic{g=0.5;tyo=5;oh=....}
gravity/g: gravity, same as projectile mechanic
tyo: topYOffset, represents the height difference between the apex of the parabola and the higher one of the caster or the target.
Note: parabolic is also a projectile mechanic, so you can use all parameters from it(like onHit, hitNonPlayer etc.).

- tempAttributeModifier(tam,tempam), format is the same with AttributeModifier mechanic, the modifier expires after player log out.

Conditions added:
- origindistance/od, format: same as distance condition, but this checks the distance from origin to target
- sit/ sitting/ issitting, format: sit{s=true/false}
- pose/ haspose, format: pose{p=SITTING}
- sameteam, format: sameteam
- team, format: team{t=teamName}
- input, format: input{forward=true;backward=false}, undefined inputs will always get passed(like input{forward=true;backward=false} will only check if the player pressed the forward key and didn't press the backward key, no matter other keys are pressed or not), entities other than player will return false

Triggers added:
- onKill, the trigger is the victim, for example: - m{m="I killed <trigger.name>"} @server ~onKill
- onRealBlockBreak, triggers when a player broke a block, and the BlockBreakEvent is not cancelled, requires MythicCrucible
- onRegainHealth(onHeal), cancellable, triggers when entity regains health, with two skill variables: amount, reason(<skill.var.amount> and <skill.var.reason>). For reasons, see EntityRegainHealthEvent.RegainReason
- onEffect(onPotionEffect, onEntityPotionEffect), cancellable, triggers when entity's potion effects changed(instant potions do effects directly, not changing effects), see EntityPotionEffectEvent
Code (Text):
  - variables:
    - action(<skill.var.action>, below share the same format): EntityPotionEffectEvent.Action
    - cause: EntityPotionEffectEvent.Cause
    - type: modified type, if old effect exists, return the old type, instead return new type.
    - old:
      - Old potion effect, a Map variable, you can get its potion attributes with format like this <skill.var.old.type>, if old potion effect doesn't exist, all the variables below will return null
      - variables:
        - type: potion type
        - amplifier: amplifier
        - ambient: is the effect an ambient effect
        - icon: does the effect has icon showed in HUD
        - particles: does the effect shows particles
      - new: same as old
- onEffectTick(onEntityEffectTick), cancellable, triggers when a potion effect ticks on entity, including instant ones, see EntityEffectTickEvent
Code (Text):
  - variables:
    - type: potion type
    - amplifier: amplifier
- onInput, not cancellable, triggers when a player or the passenger of a vehicle (also should be a player) press or release one of the keys below: forward, backward, left, right, sneak, jump, sprint. Available skill variables:
- input string(<skill.var.input>, return "none" when all keys are released, format: "forward,backward......")
- forward(<skill.var.forward>, return true or false)
- backward
- etc.
requires MythicCrucible

Options added:
- CancelInteract: Cancel the interaction with the entity, better than cancelevent mechanic
- RemoveVanillaAttributes: Set the armor attribute to 0, and remove all other attribute modifiers

Targeters added:
- Team{t=teamname;st=false}
t: team/t, the team to be selected
st: sameteam/sameTeam/st, whether to target the entities in the team if the caster is in the same team, false by default
- sourceOwner{depth=1000}
depth: depth/d, the searching depth, by default infinity
this targeter lets you get the owner of the owner of the owner...until the searching depth

Placeholder added:
- caster/target.<auraName>.type/charges/stacks/duration/duration-millis
Gets the corresponding attributes of an aura
Note that you can set multiple auras with the same name on one entity, so the result might not be what you want
- caster/target.eyeheight
very self-explanatory
- caster/target.height
very self-explanatory
- caster/target.tickslived
Gets the ticks that entity lived, also known as age

- caster/target.pdc.slot$namespacedKey
slot, namespacedKey: see above
$ is used for splitting
Example:
Code (Text):
<caster.pdc.hand$mmaddon:pdc>
returns blablabla

- caster.relative.(o/a)(x/y/z).n,n,n
For example:
This is used to return coordinate-related values based on a relative coordinate system.
In this system, the player’s current position is treated as the coordinate origin, and the direction the player is facing defines the positive Z-axis.

Plugin details

Read from the plugin's own plugin.yml.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

MythicMobsAddon is a free Minecraft Java mod. Compatible with Minecraft 1.21. Downloaded 590 times (via Spigot). Download it and open it directly in the game.

Explore more