Skip to main content

DevGravityGenerator

A debug item meant for developers. It is a non-flammable solid.

Here is a list of possible sizes that reach the maximum malleability (9801) that have integer components: 1x9x1089, 1x11x891, 1x27x363, 1x33x297, 1x81x121, 1x99x99, 3x3x1089, 3x9x363, 3x11x297, 3x27x121, 3x33x99, 9x9x121, 9x11x99, 9x33x33, 11x11x81, 11x27x33

At its default size (4x3x4) it has a durability of 1, at its maximum size it has a durability of 6.

By default, its colour is #000000.

Configurables


Enabled

Whether or not the gravity generator is enabled. It is a boolean.


Gravity

The amount of gravity within the influence of the GravityGenerator as a force. It is a number.


Radius

The radius of the generated gravity field. It is a number.

Events


Loop(tickInterval)

Fires when the object is updated by the game loop.

The tickInterval parameter is the inverse of the tick rate. For example, if the tick rate is 20, this will be 1 / 20 (or just 0.05). If the tick rate commands are accessible, running them will change this value. It is a number.