Package mindustry.game
Class EventType
java.lang.Object
mindustry.game.EventType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classCalled *after* all content has been added to the atlas, but before its pixmaps are disposed.static classCalled when block building begins by placing down the ConstructBlock.static classstatic classCalled right before a block is destroyed.static classCalled when the player opens info for a specific block.static classCalled when a bullet damages a building.static classCalled when a building is directly killed by a bullet.static classstatic classstatic classCalled when a player or drone begins building something.static classCalled after a building's team changes.static classCalled when the client sends a chat message.static classstatic classCalled when the client game is first loaded.static classstatic classstatic classCalled when a specific building has its configuration changed.static classCalled when a connection is established to a client.static classCalled when a player sends a connection packet.static classCalled *after* all content has been initialized.static classCalled when a save loads custom patches.static classCalled when a core block is placed/removed or its team is changed.static classCalled when a core receives ammo, but only when the tutorial is active!static classCalled when a player deposits items to a block.static classstatic classCalled *after* all the modded files have been added into Vars.treestatic classstatic classCalled when a neoplasia (or other pressure-based block, from mods) reactor explodes due to pressure.static classstatic classstatic classCalled when the player places a line, mobile or desktop.static classstatic classstatic classstatic classConsider using Menus.registerMenu instead.static classCalled *after* all mod content has been loaded, but before it has been initialized.static classCalled after SoundControl registers its music.static classstatic classstatic classstatic classstatic classCalled when a player connects, but has not joined the game yet.static classCalled after player confirmed it has received world data and is ready to play.static classstatic classstatic classCalled after connecting; when a player receives world data and is ready to play.static classCalled before a player leaves the game.static classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classCalled when a sector is conquered, e.g.static classCalled when a sector is destroyed by waves when you're not there.static classstatic classstatic classCalled when a sector is destroyed by waves when you're not there.static classstatic classstatic classCalled when a player taps any tile.static classConsider using Menus.registerTextInput instead.static classCalled *after* a tile has changed.static classCalled when a tile changes its floor.static classCalled when a tile changes its overlay.static classCalled *before* a tile has changed.static enumstatic classstatic classCalled when a turret receives ammo, but only when the tutorial is active!static classCalled when a unit is directly killed by a bullet.static classstatic classstatic classCalled when a unit is created in a reconstructor, factory or other unit.static classCalled when a unit is hit by a bullet.static classstatic classstatic classCalled when a unit is spawned by wave.static classCalled when a unit is dumped from any payload block.static classstatic classstatic classstatic classCalled when the player withdraws items from a block.static classCalled when the world begin to load, just set `generating = true`.static classCalled when a game begins and the world tiles are initiated.static classCalled when a game begins and the world tiles are loaded, just set `generating = false`. -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
EventType
public EventType()
-