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 137
    • Issues 137
    • 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
    • Mechanics
  • Time

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

Time

Description

Sets the world's time. Depending on the attributes used, the change in time can be absolute or relative to the target player.

Attributes

Attribute Aliases Description Default
mode m The mode used in the time mechanic. Can be ADD/SET/RESET ADD
amount ticks, t, amt The amount of ticks by which the time will be changed 20
personal Sets whether to change the global time or the player's client time false
relative Sets whether to keep the player's time synchronized to its world time with an offset true

Mode

The different values the mode attribute can be all have different effects

  • ADD - Sets the current time of the world with an offset
  • SET - Sets the current time of the world
  • RESET - Re-syncs the target's world time with the server world time, if it is not already synced

Examples

#MOB
ExampleMob:
  Type: ZOMBIE
  Skills:
  - sudoskill{s=MidnightAura} @PIR{r=30} ~onTimer:20
#SKILL
MidnightAura:
  Skills:
  - aura{auraName=midnight;i=1;ms=1;rd=true;
    onTick=[
      - time{mode=SET;a=18000;personal=true;relative=false} @self
    ];
    onEnd=[
      - time{mode=RESET} @self
    ]}

Aliases

  • setTime
Clone repository
Home
Changelogs
Premium Features
Commands and Permissions
FAQ / Common Issues
Mythic Add-ons
Compatible Plugins
API Information
Packs
Mobs
  • Mob Options
  • Mob Levels
  • Mob Factions
  • Power Scaling
  • Damage Modifiers
  • Equipment
  • BossBar
  • Custom AI
  • Custom Kill Messages
  • Threat Tables
  • Immunity Tables
  • Templates
  • Extra: Disguises
  • Extra: ModelEngine
Skills
  • Mechanics
  • Effects
  • Targeters
    • Filters
  • Triggers
  • Conditions
    • In-line conditions
  • Placeholders
  • Variables
  • Math
Items
  • Options
  • Attributes
  • Enchantments
  • Potions
  • Banner Layers
  • Firework
Drops & DropTables
  • Drop Types
Spawning
  • Spawners
  • Random Spawns
Examples