Uses of Package
net.minecraftforge.event
Package
Description
-
ClassDescriptionThe main ResourceManager is recreated on each reload, just after
ReloadableServerResources
's creation.Commands are rebuilt wheneverReloadableServerResources
is recreated.Fired when tags are updated on either server or client. -
ClassDescriptionFired on PackRepository creation to allow mods to add new pack finders.Fired whenever an object with Capabilities support {currently TileEntity/Item/Entity) is created.Commands are rebuilt whenever
ReloadableServerResources
is recreated.VanillaGameEvent is fired on the server whenever one of Vanilla'sGameEvents
fire. -
ClassDescriptionCommandEvent is fired after a command is parsed, but before it is executed.
-
-
-
-
ClassDescriptionThis event is fired when the attributes for an ItemStack are being calculated.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. -
ClassDescriptionAnvilUpdateEvent is fired whenever the input stacks (left or right) or the name in an anvil changed.This event is
Cancelable
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.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 when tags are updated on either server or client. -
ClassDescriptionFired whenever an object with Capabilities support {currently TileEntity/Item/Entity) is created.PlayLevelSoundEvent is fired when a sound is played on a
Level
.PlayLevelSoundEvent.AtPosition is fired when a sound is played on theLevel
at a specific position.This event is fired whenever aServerboundChatPreviewPacket
orServerboundChatPacket
is received.Represents the cause for a tag update. -
ClassDescriptionA simple marker event that notifies when the game is about to close.