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

Time · Changes

Page history
Create skills/mechanics/Time authored May 29, 2023 by Lxlp's avatar Lxlp
Hide whitespace changes
Inline Side-by-side
Showing with 40 additions and 0 deletions
+40 -0
  • skills/mechanics/Time.md skills/mechanics/Time.md +40 -0
  • No files found.
skills/mechanics/Time.md 0 → 100644
View page @ d397c5e8
## 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
```yaml
#MOB
ExampleMob:
Type: ZOMBIE
Skills:
- sudoskill{s=MidnightAura} @PIR{r=30} ~onTimer:20
```
```yaml
#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
- [x] setTime
\ No newline at end of file
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