header
logo

Temporal API

Install

This is an API/Library mod, on it's own, it adds nothing of usefulness to the player.

 

Adds two Configurations:

 

TARDIS base Speed - manages the base speed in blocks per second

Hotbar Manual - Clientside config, if enabled, will look for a manual in the entire hotbar instead of just the hands.

Adds two Item Tags:

Sonic - an Item Tag for custom items that can be placed into the Sonic Port, you still need to use the SonicPutEvent to have it add any functionality to your custom items. Natively supports Temporal Additions(Data Drive) and ASEOHA(Fourteenth's Sonic Screwdriver)

Manual - an Item Tag for custom Manuals, controls what items can be used to display control button names. Natively supports Temporal Additions and ASEOHA.

Adds Three Advancement Triggers:

Takeoff - 'tardis:tardis_takeoff', passes a parameter 'dimension' which is the dimension the TARDIS took off from.
Land - 'tardis:tardis_landed', passes two parameters - 'dimension' for the dimension the TARDIS landed at, and, 'crashed' - a boolean for whether the TARDIS Crashlanded or not.
FlightEvent - 'tardis:succeed_flight_event', passses two parameters - 'flight_event' for the registry key of the flight event, and, 'success', a boolean for whether the event was passed correctly or not.

Implemented Forge Events:

ComponentEvent: 

          ComponentChanged - when the player switches an item within an Engine Slot.

ControlEvent:

          ControlHitEvent - when the player uses or hits a button on the TARDIS Console, can be canceled to stop any interaction.

          SonicPutEvent - when the player inputs something into the Sonic Port, can be canceled to stop any interaction.

          SonicTakeEvent - when the player takes out an item from the Sonic Port, can be canceled to stop the player from removing the item.

FlightEventEvent:

         StartFlightEvent - fired when a random Flight Event is being applied to the TARDIS, can be canceled to not set the event.

         SuccessFlightEvent - when the Flight Event is successfully finished

         FailFlightEvent - when the Flight Event is failed;

MinigameStartEvent - fired when an item is placed in the engine slot and the wires minigame is about to be fired, can be canceled to not let the minigame play out.

TardisEvent:

        TakeoffEvent - fired just before any take off code is ran, can be canceled

        LandEvent - fired just befored any landing code is ran, can be canceled

        SpeedCalculationEvent - fired after TARDIS Calculates it's flight speed in blocks per tick, cannot be canceled.

        FuelUseCalculationEvent - fired after TARDIS Calculates it's flight fuel use in AU per tick, cannot be canceled.

        EngineFillEvent - fired right before the TARDIS gets it's random Leaky Capacitors, can be canceled.

 

 

Contributors:

         SGUDestiny - Logo