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 143
    • Issues 143
    • 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
    • Skills
  • Math

Last edited by Ticxo Mar 06, 2025
Page history
This is an old version of this page. You can view the most recent version or browse the history.

Math

Operators

Operators Example
Addition (+) 2 + 2
Subtraction (-) 2 - 2
Multiplication (*) 2 * 2
Division (/) 2 / 2
Exponential (^) 2 ^ 2
Signed Operators (+ or -) +2 - (-2)
Modulo (%) 2 % 2

Functions

Functions Example
absolute value abs(x)
arc cosine acos(x)
arc sine asin(x)
arc tangent atan(x)
cubic root cbrt(x)
nearest upper integer ceil(x)
cosine cos(x)
hyperbolic cosecant csch(x)
euler's number raised to the power (e^x) exp(x)
nearest lower intege floor(x)
logarithmus naturalis (base e log(x)
logarithm to base 2 log2(x)
logarithm to base 10 log10(x)
logarithm to base b logb(x)
secant sec(x)
hyperbolic secant sech(x)
sine sin(x)
hyperbolic sine sinh(x)
square root sqrt(x)
tangent tan(x)
hyperbolic tangent tanh(x)
signum of a value signum(x)
converts from degrees to radians toradian(x)
converts from radians to degrees todegree(x)
minimum min(x, y)
maximum max(x, y)
principal value of the arc tangent of y/x, expressed in s atan2(y, x)
Clone repository
  • Home
  • Changelogs
  • Premium Features
  • Commands and Permissions
  • FAQ / Common Issues
  • Mythic Add-ons
  • Compatible Plugins
  • API Information
  • Packs

Mobs

  • Overview
  • Types
  • Mob Options
  • Mob Levels
  • Mob Factions
  • Power Scaling
  • Damage Modifiers
  • Equipment
  • BossBar
  • Custom AI
  • Custom Kill Messages
  • Threat Tables
  • Immunity Tables
  • Extra: Disguises
  • Extra: ModelEngine

Skills

  • Overview
  • Mechanics
  • Effects
  • Targeters
  • Triggers
  • Conditions
  • Placeholders
  • Variables
  • Math

Items & Drops

  • Drops and Drop Tables
  • Options
  • Attributes
  • Enchantments
  • Potions
  • Banner Layers

Spawning

  • Spawners
  • Random Spawns

Tutorials

  • Common Examples