Difference between revisions of "Namespace Documentation"

From MINR.ORG WIKI
 
Line 4: Line 4:
  
 
== [[Builtin_Namespace_Guide|Built-In]] ==
 
== [[Builtin_Namespace_Guide|Built-In]] ==
The default, unnamed namespace containing standard, easy-to-use types and tools.
+
The default local namespace containing common, easy-to-use types.
* Types: String, Int, Long, Float, Double, Boolean, Player, Entity, Block, Item, <T>[] (List)
 
  
 
== [[Namespace_Guide_math|math]] ==
 
== [[Namespace_Guide_math|math]] ==
* Functions: a lot - I think I should redo this format
+
A collection of number-oriented functions for rounding, powers, trig, and random number generation.
  
 
== [[Namespace_Guide_system|system]] ==
 
== [[Namespace_Guide_system|system]] ==
* Functions: currentTimeMillis
+
Holds a function that returns the current elapsed time from the [https://en.wikipedia.org/wiki/Unix_time Unix Epoch] in milliseconds.
  
 
= Additional Namespaces =
 
= Additional Namespaces =
Line 17: Line 16:
 
== [[Namespace_Guide_rtp|rtp]] ==
 
== [[Namespace_Guide_rtp|rtp]] ==
 
A re-implementation of the random teleport plugin used for Iron Door.
 
A re-implementation of the random teleport plugin used for Iron Door.
* Types: TpData, Rtp
 

Latest revision as of 02:38, 30 April 2020

A list of namespaces containing helpful functions and variables will be listed here.

Packaged Namespaces[edit]

Built-In[edit]

The default local namespace containing common, easy-to-use types.

math[edit]

A collection of number-oriented functions for rounding, powers, trig, and random number generation.

system[edit]

Holds a function that returns the current elapsed time from the Unix Epoch in milliseconds.

Additional Namespaces[edit]

rtp[edit]

A re-implementation of the random teleport plugin used for Iron Door.