Class BuildingConstructionModEvent
java.lang.Object
com.minecolonies.api.eventbus.events.AbstractModEvent
com.minecolonies.api.eventbus.events.colony.AbstractColonyModEvent
com.minecolonies.api.eventbus.events.colony.buildings.AbstractBuildingModEvent
com.minecolonies.api.eventbus.events.colony.buildings.BuildingConstructionModEvent
- All Implemented Interfaces:
IModEvent
Event for when a building was built, upgraded, repaired or removed.
-
Field Summary
Fields inherited from class com.minecolonies.api.eventbus.events.colony.buildings.AbstractBuildingModEvent
building -
Constructor Summary
ConstructorsConstructorDescriptionBuildingConstructionModEvent(IBuilding building, WorkOrderBuilding workOrder) Building construction event. -
Method Summary
Modifier and TypeMethodDescriptionGet the work order which was completed.Methods inherited from class com.minecolonies.api.eventbus.events.colony.buildings.AbstractBuildingModEvent
getBuildingMethods inherited from class com.minecolonies.api.eventbus.events.colony.AbstractColonyModEvent
getColonyMethods inherited from class com.minecolonies.api.eventbus.events.AbstractModEvent
getEventId
-
Constructor Details
-
BuildingConstructionModEvent
Building construction event.- Parameters:
building- the building the event was for.workOrder- the work order which was completed.
-
-
Method Details
-
getWorkOrder
Get the work order which was completed.- Returns:
- the event type.
-