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: 1x1089x9, 1x891x11, 1x363x27, 1x297x33, 1x121x81, 1x99x99, 3x1089x3, 3x363x9, 3x297x11, 3x121x27, 3x99x33, 9x121x9, 9x99x11, 9x33x33, 11x81x11, 11x33x27, 33x27x11, 81x11x11, 99x33x3, 99x11x9

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 #5b5d69.

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(deltaTime)

Fires when the object is updated by the game loop.

The deltaTime parameter is the 'time' since the last tick, it does not represent the actual time since the last tick was occurred, rather just how often a game tick should be fired (it will always be precisely 1). It is a number.