Interface ICitizenEventDescription

All Superinterfaces:
IColonyEventDescription, net.minecraftforge.common.util.INBTSerializable<net.minecraft.nbt.CompoundTag>
All Known Implementing Classes:
AbstractCitizenEvent, CitizenBornEvent, CitizenDiedEvent, CitizenGrownUpEvent, CitizenSpawnedEvent, VisitorSpawnedEvent

public interface ICitizenEventDescription extends IColonyEventDescription
Event description for citizen spawn/death events.
  • Method Details

    • getCitizenName

      String getCitizenName()
      Gets the name of the citizen causing this event.
      Returns:
      the name of the citizen causing this event.
    • setCitizenName

      void setCitizenName(String name)
      Sets the name of the citizen causing this event.
      Parameters:
      name - the name of the citizen causing this event.
    • toDisplayString

      default String toDisplayString()
      Description copied from interface: IColonyEventDescription
      Builds the string to show in the colony events list.
      Specified by:
      toDisplayString in interface IColonyEventDescription
      Returns:
      the string to show in the colony events list.