Class PlayerEvent.FactionUpdateEvent

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

public static class PlayerEvent.FactionUpdateEvent
extends PlayerEvent
factionUpdate
Called when a players faction points change
  • Field Details

    • faction

      public final IFaction faction
    • points

      public int points
    • init

      public boolean init
      true if it's setting the default points to the player
  • Constructor Details

    • FactionUpdateEvent

      public FactionUpdateEvent​(IPlayer player, IFaction faction, int points, boolean init)