Class EventType.BlockBuildBeginEvent

java.lang.Object
mindustry.game.EventType.BlockBuildBeginEvent
Enclosing class:
EventType

public static class EventType.BlockBuildBeginEvent extends Object
Called when block building begins by placing down the ConstructBlock. The tile's block will nearly always be a ConstructBlock.
  • Field Details

    • tile

      public final Tile tile
    • team

      public final Team team
    • unit

      @Nullable public final mindustry.gen.Unit unit
    • breaking

      public final boolean breaking
  • Constructor Details

    • BlockBuildBeginEvent

      public BlockBuildBeginEvent(Tile tile, Team team, mindustry.gen.Unit unit, boolean breaking)