Package net.minecraftforge.event
package net.minecraftforge.event
-
ClassDescriptionThe main ResourceManager is recreated on each reload, through
DataPackRegistries
's creation.AnvilUpdateEvent is fired when the inputs (either input stack, or the name) to an anvil are changed.Fired whenever an object with Capabilities support {currently TileEntity/Item/Entity) is created.CommandEvent is fired after a command is parsed, but before it is executed.DifficultyChangeEvent is fired when difficulty is changing.This event is fired when the attributes for an ItemStack are being calculated.Event fired when a LootTable json is loaded from json.Fires when a player joins the server or when the reload command is ran, before tags and crafting recipes are sent to the client.Commands are rebuilt wheneverDataPackRegistries
is recreated.RegistryEvent<T extends IForgeRegistryEntry<T>>RegistryEvent supertype.RegistryEvent.MissingMappings<T extends IForgeRegistryEntry<T>>Actions you can take with this missing mapping.RegistryEvent.MissingMappings.Mapping<T extends IForgeRegistryEntry<T>>Register new registries when you receive this event, through theRecipeBuilder
RegistryEvent.Register<T extends IForgeRegistryEntry<T>>Register your objects for the appropriate registry type when you receive this event.ServerChatEvent is fired whenever a C01PacketChatMessage is processed.Fired on the client whenITagCollectionSupplier
has all of its tags synced from the server to the client (just after a client has connected).Fired after any custom tag types have been processedFired after the Vanilla Tag types have been processed