Digital TARDIM Interface
This peripheral lets you do anything you could with TARDIM control panels, but fully automatically.
Attach name - "digital_tardim_interface"
Crafting
Methods
getFuel()
Get how much fuel the TARDIM has.
Returns
number
The amount of fuel, from 0 to 100. Not rounded.
calculateFuelForJourney()
Get how much fuel the TARDIM would use if you travelled to destination.
Returns
number
The amount of fuel
isLocked()
Check whether the TARDIM’s doors are locked
Returns
bool
Whether the doors are locked
setLocked(locked)
Set the TARDIM’s lock status
Parameters
- locked
bool
: true to lock doors, false to unlock
isInFlight()
Check whether the TARDIM is in flight
Returns
bool
Whether the TARDIM is in flight
getTimeEnteredFlight()
Get UNIX timestamp of when the TARDIM entered flight
Returns
number
Unix timestamp or -1 if TARDIM is landed
getOwnerName()
Get the TARDIM owner
Returns
string
The username of TARDIM’s owner
getCurrentLocation()
Retrieve the TARDIM’s current location
Returns
-
table
The location of the tardim:{ dimension = "minecraft:overworld", -- Dimension string pos = { -- Coordinates x = 1, y = 2, z = 3 } }
getTravelLocation()
The same as getCurrentLocation()
but for destination
getCompanions()
Get a list of all companions in the TARDIM
Returns
table
list of companions’ names
setDimension(dimension)
Set TARDIM’s destination to a dimension
Parameters
- dimension
string
: dimension’s name e.g. “minecraft:overworld”
setTravelLocation(x, y, z)
Set TARDIM’s destination coordinates
Parameters
- x
number
: x-axis of destination - y
number
: y-axis of destination - z
number
: z-axis of destination
home()
Set TARDIM’s destination to roughly owner’s respawn point
locatePlayer(username)
Set TARDIM’s destination to a player’s coordinates
Parameters
- username
string
: player’s username. the player must be online.
getOnlinePlayers()
Get a list of all online players
Returns
table
list of players’ names
getDoorRotation()
Get current door rotation
Returns
string
direction - “north”/“west”/“south”/“east”
setDoorRotation(rotation)
Set current door rotation
Parameters
- rotation
string
direction string - “north”/“west”/“south”/“east”
toggleDoorRotation()
Toggle door rotation (north -> east -> south -> west -> north)
coordAdd(axis, amount)
Add a number to the destination’s coordinates
Parameters
- axis
string
x/y/z - amount
number
how much to add/substract
demat()
Dematerialise the TARDIM.
Throws if TARDIM is in flight already.
remat()
Re-materialise the TARDIM at the destination.
Throws if
- TARDIM landing is obstructed
- Not enough fuel for journey
- TARDIM is still taking off
- TARDIM has already landed
locateBiome(biome)
Set destination to somewhere in a specific biome.
Parameters
- biome
string
biome name e.g.minecraft:badlands
orterralith:skylands_spring
Throws if
- Biome has not been found near
- Biome does not exist
setSkin(skin)
Set TARDIM’s exterior to a skin
Parameters
- skin
string
exterior name e.g. “TARDIM Type 2k18” or “TARDIM Soviet Chronobox”
Throws if the skin was not found
getSkins()
Get a list of all available exteriors
Returns
table
list of exteriors’ names
setSkin(skin)
Set TARDIM’s exterior to a skin
Parameters
- skin
string
exterior name e.g. “TARDIM Type 2k18” or “TARDIM Soviet Chronobox”
cloisterBell()
Play the cloister bell sound in the exterior (originates from the peripheral block)
Throws if There was an error playing the sound (unlikely)
getBiomes()
Get all list of all existing biomes
Returns
table
list of biomes’ names
getDimensions()
Get all list of all existing dimensions
Returns
table
list of dimensions’ names