Package com.minecolonies.api.colony
Interface IColonyRelated
- All Known Implementing Classes:
EntityMercenary
public interface IColonyRelated
Interface type for entities belonging to a colony
-
Method Summary
Modifier and TypeMethodDescriptionGets the colony this entity belongs tovoidRegister the entity with the related colonyvoidSet the colony.
-
Method Details
-
registerWithColony
void registerWithColony()Register the entity with the related colony -
getColony
IColony getColony()Gets the colony this entity belongs to- Returns:
- the colony.
-
setColony
Set the colony.- Parameters:
colony- the colony to set.
-