Package noppes.npcs.api.event
Class PlayerEvent.BreakEvent
java.lang.Object
net.minecraftforge.fml.common.eventhandler.Event
noppes.npcs.api.event.CustomNPCsEvent
noppes.npcs.api.event.PlayerEvent
noppes.npcs.api.event.PlayerEvent.BreakEvent
- Enclosing class:
- PlayerEvent
public static class PlayerEvent.BreakEvent extends PlayerEvent
broken
-
Nested Class Summary
Nested classes/interfaces inherited from class noppes.npcs.api.event.PlayerEvent
PlayerEvent.AttackEvent, PlayerEvent.BreakEvent, PlayerEvent.ChatEvent, PlayerEvent.ContainerClosed, PlayerEvent.ContainerOpen, PlayerEvent.DamagedEntityEvent, PlayerEvent.DamagedEvent, PlayerEvent.DiedEvent, PlayerEvent.FactionUpdateEvent, PlayerEvent.InitEvent, PlayerEvent.InteractEvent, PlayerEvent.KeyPressedEvent, PlayerEvent.KilledEntityEvent, PlayerEvent.LevelUpEvent, PlayerEvent.LoginEvent, PlayerEvent.LogoutEvent, PlayerEvent.PickUpEvent, PlayerEvent.RangedLaunchedEvent, PlayerEvent.TimerEvent, PlayerEvent.TossEvent, PlayerEvent.UpdateEvent
Nested classes/interfaces inherited from class net.minecraftforge.fml.common.eventhandler.Event
net.minecraftforge.fml.common.eventhandler.Event.HasResult, net.minecraftforge.fml.common.eventhandler.Event.Result
-
Field Summary
Fields Modifier and Type Field Description IBlock
block
int
exp
Experience that drops if the block is brokenFields inherited from class noppes.npcs.api.event.PlayerEvent
player
Fields inherited from class noppes.npcs.api.event.CustomNPCsEvent
API
-
Constructor Summary
Constructors Constructor Description BreakEvent(IPlayer player, IBlock block, int exp)
-
Method Summary
Methods inherited from class net.minecraftforge.fml.common.eventhandler.Event
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
block
-
exp
public int expExperience that drops if the block is broken
-
-
Constructor Details
-
BreakEvent
-