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 TypeMethodDescriptionvoidaddEventDescription(IColonyEventDescription colonyEventDescription) Adds an event description.voidCompute news to print for the player.voidserialize(@NotNull net.minecraft.network.FriendlyByteBuf buf) Serialize to bytebuf.Methods inherited from interface net.minecraftforge.common.util.INBTSerializable
deserializeNBT, serializeNBT
-
Method Details
-
addEventDescription
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.
-