Class TagsUpdatedEvent

java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.event.TagsUpdatedEvent

public class TagsUpdatedEvent extends net.minecraftforge.eventbus.api.Event
Fired on the client when : TagContainer has all of its tags synced from the server to the client (just after a client has connected). The integrated server is about to be created see net.minecraft.client.Minecraft#doLoadLevel Fired on the server when TagContainer has read all tags from disk, during initial load and after the reload command is used This event is fired on the MinecraftForge.EVENT_BUS On the client, this event fires on the Client Thread. On the server, this event may be fired on the Server Thread, or an async reloader thread.
  • Nested Class Summary

    Nested classes/interfaces inherited from class net.minecraftforge.eventbus.api.Event

    net.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private TagContainer
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     

    Methods inherited from class net.minecraftforge.eventbus.api.Event

    getListenerList, getParentListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setup

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • TagsUpdatedEvent

      public TagsUpdatedEvent(TagContainer manager)
  • Method Details

    • getTagManager

      public TagContainer getTagManager()
      Returns:
      The network tag manager that has been updated with newly received tags.