Difference between revisions of "Builtin Namespace Guide"

From MINR.ORG WIKI
(Operators TODO)
Line 26: Line 26:
 
'''Unary Operators (always before the Boolean)'''
 
'''Unary Operators (always before the Boolean)'''
 
* Boolean !<Boolean>
 
* Boolean !<Boolean>
'''Same-Type Binary Operators'''
+
'''Type-Preserving Binary Operators'''
* Boolean <Boolean>&&<Boolean>
+
* '''Boolean <Boolean> && <Boolean>''' : Returns the AND of two Booleans (e.g. returns true if both operands are true, otherwise returns false).
* Boolean <Boolean>||<Boolean>
+
* '''Boolean <Boolean> || <Boolean>''' : Returns the OR of two Booleans (e.g. returns false if both operands are false, otherwise returns true).
* Boolean <Boolean>==<Boolean>
+
* '''Boolean <Boolean> == <Boolean>''' : Returns true if two Booleans have the same value, otherwise returns false.
* Boolean <Boolean>!=<Boolean>
+
* '''Boolean <Boolean> != <Boolean>''' : Returns false if two Booleans have the same value, otherwise returns true.
'''Type-Alter
+
'''Type-Casting Binary Operators'''
 +
* '''String <Boolean> + <String>''' : Casts the Boolean to a String, then returns the strings joined in order (also accepts <String> + <Boolean>).
 
</div></div>
 
</div></div>
 
<div class="mw-collapsible mw-collapsed" style="border:1px solid #888888; padding:7px;>
 
<div class="mw-collapsible mw-collapsed" style="border:1px solid #888888; padding:7px;>
 +
 
==== Methods TODO ====
 
==== Methods TODO ====
 
<div class="mw-collapsible-content">
 
<div class="mw-collapsible-content">

Revision as of 22:00, 30 April 2020

Return to namespace list

Built-Ins (page is not ready yet)

Status: STABLE (safe to use - but not the documentation!)

Variables

  • constant Double pi

Types

Boolean

Expand

Constructors (2)

Expand

Operators TODO

Expand

Methods TODO

Int

Long

Float

Double

String

Block

Item

Entity

Player

<Type>[] (List)

TpData

A data structure to manage teleport destinations that are set by a player positioned at the desired location.

Expand

Fields EDIT ME (6)

Expand

Constructors (1)

Expand

Methods (3)

Rtp

A TpData list selector and management tool that mimics the /rtp plugin functionality.

Expand

Fields (3)

Expand

Constructors (4)

Expand

Methods (8)