Class PlayerEvent.LevelUpEvent

java.lang.Object
net.minecraftforge.fml.common.eventhandler.Event
noppes.npcs.api.event.CustomNPCsEvent
noppes.npcs.api.event.PlayerEvent
noppes.npcs.api.event.PlayerEvent.LevelUpEvent
Enclosing class:
PlayerEvent

public static class PlayerEvent.LevelUpEvent
extends PlayerEvent
levelUp
Called when a players level changes
  • Field Details

    • change

      public final int change
      The amount the level of the player changed
  • Constructor Details

    • LevelUpEvent

      public LevelUpEvent​(IPlayer player, int change)