Package noppes.npcs.api.event
Class BlockEvent.InteractEvent
java.lang.Object
net.minecraftforge.eventbus.api.Event
noppes.npcs.api.event.CustomNPCsEvent
noppes.npcs.api.event.BlockEvent
noppes.npcs.api.event.BlockEvent.InteractEvent
- Enclosing class:
- BlockEvent
interact
-
Nested Class Summary
Nested classes/interfaces inherited from class noppes.npcs.api.event.BlockEvent
BlockEvent.BreakEvent, BlockEvent.ClickedEvent, BlockEvent.CollidedEvent, BlockEvent.DoorToggleEvent, BlockEvent.EntityFallenUponEvent, BlockEvent.ExplodedEvent, BlockEvent.HarvestedEvent, BlockEvent.InitEvent, BlockEvent.InteractEvent, BlockEvent.NeighborChangedEvent, BlockEvent.RainFillEvent, BlockEvent.RedstoneEvent, BlockEvent.TimerEvent, BlockEvent.UpdateEvent
Nested classes/interfaces inherited from class net.minecraftforge.eventbus.api.Event
net.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result
-
Field Summary
FieldsFields inherited from class noppes.npcs.api.event.BlockEvent
block
Fields inherited from class noppes.npcs.api.event.CustomNPCsEvent
API
-
Constructor Summary
ConstructorsConstructorDescriptionInteractEvent
(IBlock block, net.minecraft.world.entity.player.Player player, int side, float hitX, float hitY, float hitZ) -
Method Summary
Methods inherited from class net.minecraftforge.eventbus.api.Event
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult
-
Field Details
-
player
-
hitX
public final float hitX -
hitY
public final float hitY -
hitZ
public final float hitZ -
side
public final int side- See Also:
-
-
Constructor Details
-
InteractEvent
public InteractEvent(IBlock block, net.minecraft.world.entity.player.Player player, int side, float hitX, float hitY, float hitZ)
-