Interface IEventDescriptionManager

All Superinterfaces:
net.minecraftforge.common.util.INBTSerializable<net.minecraft.nbt.CompoundTag>
All Known Implementing Classes:
EventDescriptionManager

public interface IEventDescriptionManager extends net.minecraftforge.common.util.INBTSerializable<net.minecraft.nbt.CompoundTag>
Interface for the event description manager, the event description manager deals the colony event log events.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Adds an event description.
    void
    Compute news to print for the player.
    void
    serialize(@NotNull net.minecraft.network.FriendlyByteBuf buf)
    Serialize to bytebuf.

    Methods inherited from interface net.minecraftforge.common.util.INBTSerializable

    deserializeNBT, serializeNBT
  • Method Details

    • addEventDescription

      void addEventDescription(IColonyEventDescription colonyEventDescription)
      Adds an event description.
      Parameters:
      colonyEventDescription - the event description to add.
    • computeNews

      void computeNews()
      Compute news to print for the player.
    • serialize

      void serialize(@NotNull @NotNull net.minecraft.network.FriendlyByteBuf buf)
      Serialize to bytebuf.
      Parameters:
      buf - the buf to serialize it to.