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 afterReloadableServerResources
's creation.AnvilUpdateEvent is fired whenever the input stacks (left or right) or the name in an anvil changed.Fired whenever an object with Capabilities support {currently TileEntity/Item/Entity) is created.Fired when the contents of a specific creative mode tab are being populated.CommandEvent is fired after a command is parsed, but before it is executed.DifficultyChangeEvent is fired when difficulty is changing.A simple marker event that notifies when the game is about to close.Where all the events fore Gathering Components will exist.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 in a grindstone are is taken.This event provides the functionality of the pair of functions used for the Bundle, in one event:Item.overrideOtherStackedOnMe(ItemStack, ItemStack, Slot, ClickAction, Player, SlotAccess)
Item.overrideStackedOnOther(ItemStack, Slot, ClickAction, Player)
This event is fired before either of the above are called, when a carried item is clicked on top of another in a GUI slot.Fired when aLootTable
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.PlayLevelSoundEvent is fired when a sound is played on aLevel
.PlayLevelSoundEvent.AtPosition is fired when a sound is played on theLevel
at a specific position.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.This event is fired whenever aServerboundChatPacket
is received from a client who has submitted their chat message.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.