Class ColonyViewUpdatedModEvent
java.lang.Object
com.minecolonies.api.eventbus.events.AbstractModEvent
com.minecolonies.api.eventbus.events.colony.AbstractColonyModEvent
com.minecolonies.api.eventbus.events.colony.ColonyViewUpdatedModEvent
- All Implemented Interfaces:
IModEvent
This event is raised client-side whenever a particular colony's data is refreshed.
-
Constructor Summary
ConstructorsConstructorDescriptionColonyViewUpdatedModEvent(@NotNull IColonyView colony) Constructs a new event. -
Method Summary
Methods inherited from class com.minecolonies.api.eventbus.events.AbstractModEvent
getEventId
-
Constructor Details
-
ColonyViewUpdatedModEvent
Constructs a new event.- Parameters:
colony- The colony (view) that was just updated.
-
-
Method Details
-
getColony
Description copied from class:AbstractColonyModEventGets the colony related to the event.- Overrides:
getColonyin classAbstractColonyModEvent
-