Package net.minecraftforge.event
Class TagsUpdatedEvent
java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.event.TagsUpdatedEvent
- Direct Known Subclasses:
TagsUpdatedEvent.CustomTagTypes
,TagsUpdatedEvent.VanillaTagTypes
public class TagsUpdatedEvent
extends net.minecraftforge.eventbus.api.Event
Fired on the client when
ITagCollectionSupplier
has all of its tags synced from the server to the client (just after a client has connected).
Fired on the server when ITagCollectionSupplier
has read all tags from disk (during a data reload).
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
Modifier and TypeClassDescriptionstatic class
Fired after any custom tag types have been processedstatic class
Fired after the Vanilla Tag types have been processedNested classes/interfaces inherited from class net.minecraftforge.eventbus.api.Event
net.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result
-
Field Summary
-
Constructor Summary
-
Method Summary
Methods inherited from class net.minecraftforge.eventbus.api.Event
getListenerList, getParentListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setup
-
Field Details
-
manager
-
-
Constructor Details
-
TagsUpdatedEvent
-
-
Method Details
-
getTagManager
- Returns:
- The network tag manager that has been updated with newly received tags.
-