Package net.minecraftforge.event
package net.minecraftforge.event
-
ClassDescriptionFired on PackRepository creation to allow mods to add new pack finders.The main ResourceManager is recreated on each reload, just after
ReloadableServerResources
'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.Shared logic for the two events fired from grindstones.This event isCancelable
GrindstoneEvent.OnPlaceItem
is fired when the inputs to a grindstone are changed.This event isCancelable
.
GrindstoneEvent.OnTakeItem
is fired when the output of a grindstone is taken.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 the mod loader is in the process of loading a world that was last saved with mod versions that differ from the currently-loaded versions.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 wheneverReloadableServerResources
is recreated.Game tests are registered on client or server startup.Fired for registering structure conversions for pre-1.18.2 worlds.RegistryEvent<T extends IForgeRegistryEntry<T>>RegistryEvent supertype.Called whenever the ID mapping might have changed.RegistryEvent.MissingMappings<T extends IForgeRegistryEntry<T>>Actions you can take with this missing mapping.RegistryEvent.MissingMappings.Mapping<T extends IForgeRegistryEntry<T>>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 when tags are updated on either server or client.Represents the cause for a tag update.VanillaGameEvent is fired on the server whenever one of Vanilla'sGameEvents
fire.