Class PlayerChangeConstructionColorEvent

All Implemented Interfaces:
Cancellable

public final class PlayerChangeConstructionColorEvent extends PlayerConstructionEvent
Called when a player paints a construction element. For painting objects (like furniture or doors), see PlayerChangeObjectColorEvent
  • Method Details

    • getOldColor

      public int getOldColor()
    • getNewColor

      public int getNewColor()
      Gets the new color for the construction element.
      Returns:
      the new color, as int RGBA.
    • setNewColor

      public void setNewColor(int color)