Skip to content

ResetSpawnerAction ​

Inherits: EventAction < Resource

Makes a spawner start over: what it made is taken away (or left standing and forgotten), every place is empty and the spawner rolls its table again at its next look, without waiting for a respawn time. The wait of what was killed is forgotten. See docs: World > Spawners.

Properties ​

intspawner_id0
boolremove_what_standstrue

Methods ​

Stringget_display_name()
Stringget_function_description()

Property descriptions ​

int spawner_id = 0 ​

The spawner (a placed Spawner of a world: Uniques > Spawners)

bool remove_what_stands = true ​

Take away what the spawner made (true), or leave it standing and let the spawner forget it (false)

Method descriptions ​

String get_display_name() ​

Return the display name of this Action

String get_function_description() ​

Return a description of this action with parameter placeholders