Uses of Package
net.minecraftforge.event.world
-
Classes in net.minecraftforge.event.world used by net.minecraftforge.client.model Class Description ChunkEvent.Unload ChunkEvent.Unload is fired when vanilla Minecraft attempts to unload a Chunk from the world.
This event is fired during chunk unloading in
Chunk.onChunkUnload(). -
Classes in net.minecraftforge.event.world used by net.minecraftforge.common Class Description ChunkEvent.Unload ChunkEvent.Unload is fired when vanilla Minecraft attempts to unload a Chunk from the world.
This event is fired during chunk unloading in
Chunk.onChunkUnload().WorldEvent.Unload WorldEvent.Unload is fired when Minecraft unloads a world.
This event is fired when a world is unloaded inMinecraft#loadWorld(WorldClient, String)
,MinecraftServer.stopServer()
,DimensionManager#unloadWorlds()
,ForgeInternalHandler#onDimensionUnload(Unload)
. -
Classes in net.minecraftforge.event.world used by net.minecraftforge.debug.block Class Description BlockEvent.BlockToolInteractEvent Fired when when this block is right clicked by a tool to change its state.BlockEvent.BreakEvent Event that is fired when an Block is about to be broken by a player Canceling this event will prevent the Block from being broken.BlockEvent.EntityPlaceEvent Called when a block is placed.BlockEvent.FarmlandTrampleEvent Fired when when farmland gets trampled This event isCancelable
BlockEvent.NeighborNotifyEvent Fired when a physics update occurs on a block.PistonEvent.Pre Fires before the piston has updated block states. -
Classes in net.minecraftforge.event.world used by net.minecraftforge.debug.fluid Class Description BlockEvent.CreateFluidSourceEvent Fired to check whether a non-source block can turn into a source block. -
Classes in net.minecraftforge.event.world used by net.minecraftforge.debug.world Class Description BiomeLoadingEvent This event fires when a Biome is created from json or when a registered biome is re-created for worldgen.ChunkDataEvent.Save ChunkDataEvent.Save is fired when vanilla Minecraft attempts to save Chunk data.
This event is fired during chunk saving inAnvilChunkLoader#saveChunk(World, Chunk)
.ChunkWatchEvent.UnWatch ChunkWatchEvent.UnWatch is fired when an EntityPlayer stops watching a chunk.
This event is fired when a chunk is removed from the watched chunks of an EntityPlayer innet.minecraft.world.server.ChunkManager#setChunkLoadedAtClient
.ChunkWatchEvent.Watch ChunkWatchEvent.Watch is fired when an EntityPlayer begins watching a chunk.
This event is fired when a chunk is added to the watched chunks of an EntityPlayer innet.minecraft.world.server.ChunkManager#setChunkLoadedAtClient
.StructureSpawnListGatherEvent This event fires when a Structure is gathering what mobs/creatures can spawn in it. -
Classes in net.minecraftforge.event.world used by net.minecraftforge.event Class Description BlockEvent.NeighborNotifyEvent Fired when a physics update occurs on a block. -
Classes in net.minecraftforge.event.world used by net.minecraftforge.event.world Class Description BlockEvent BlockEvent.CropGrowEvent Fired when a crop block grows.BlockEvent.EntityPlaceEvent Called when a block is placed.ChunkDataEvent ChunkDataEvent is fired when an event involving chunk data occurs.
If a method utilizes thisEvent
as its parameter, the method will receive every child event of this class.
ChunkDataEvent.data
contains the NBTTagCompound containing the chunk data for this event.
All children of this event are fired on theMinecraftForge.EVENT_BUS
.ChunkEvent ChunkEvent is fired when an event involving a chunk occurs.
If a method utilizes thisEvent
as its parameter, the method will receive every child event of this class.
ChunkEvent.chunk
contains the Chunk this event is affecting.
All children of this event are fired on theMinecraftForge.EVENT_BUS
.ChunkWatchEvent ChunkWatchEvent is fired when an event involving a chunk being watched occurs.
If a method utilizes thisEvent
as its parameter, the method will receive every child event of this class.
ChunkWatchEvent.pos
contains the ChunkPos of the Chunk this event is affecting.
ChunkWatchEvent.world
contains the World of the Chunk this event is affecting.
ChunkWatchEvent.player
contains the EntityPlayer that is involved with this chunk being watched.ExplosionEvent ExplosionEvent triggers when an explosion happens in the world.
ExplosionEvent.Start is fired before the explosion actually occurs.
ExplosionEvent.Detonate is fired once the explosion has a list of affected blocks and entities.
ExplosionEvent.Start isCancelable
.
ExplosionEvent.Detonate can modify the affected blocks and entities.
Children do not useEvent.HasResult
.
Children of this event are fired on theMinecraftForge.EVENT_BUS
.NoteBlockEvent Base class for Noteblock EventsNoteBlockEvent.Note Information about the pitch of a Noteblock note.NoteBlockEvent.Octave Describes the Octave of a Note being played by a Noteblock.PistonEvent Base piston event, usePistonEvent.Post
andPistonEvent.Pre
PistonEvent.PistonMoveType WorldEvent WorldEvent is fired when an event involving the world occurs.
If a method utilizes thisEvent
as its parameter, the method will receive every child event of this class.
WorldEvent.world
contains the World this event is occurring in.
All children of this event are fired on theMinecraftForge#EVENT_BUS
.