your current location:首页 > news>Time Stages Minecraft

Time Stages Minecraft

2024-12-15 01:38:02|Myriagame |source:minecraft skins

This module is the expansion of the game stage, allowing you to unlock or lock the stage after the specified time.

Example code:

Mods.timestages.addtimer ("unique", "neededStage", "unlockedStage", 30, "sex");

// Unlock the unlock phase within a certain period of time, parameters: (unique ID, the required stage, the unlock stage, time, time unit).

mods.TimeStages.addTimer("UniqueID", "neededStage" ,"UnlockedStage" ,30 ,"seconds", true);

// Unlock the unlock phase within a certain period of time, parameters: (unique ID, the required stage, the unlocking stage, the amount of time, time unit, true).

// If the last parameter is True, this code will be removed and unlocked and unlocked.

Mods.timestages.removalTimer ("uniqueid", "removedstage", 30, "sex");

// Remove phase after a certain period of time, parameters: (unique ID, removal stage, volume, time unit).

The unit of time can be seconds-SEC (ONDS), minutes --min (UTES), hour-hour (s), sky-day (s).At present, you can only choose one time unit.

When used in non -1.12 version, it is necessary to change the MODS.Timestages to mods.timestages.timers to use it normally.

Minecraft images

Minecraft images

Minecraft images