Class EverbookEventHandler

java.lang.Object
ram.talia.hexal.forge.eventhandlers.EverbookEventHandler

public class EverbookEventHandler extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static ram.talia.hexal.api.everbook.Everbook
    This is the Everbook of the local client, null on the server.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    clientPlayerLoggedOut(net.minecraftforge.client.event.ClientPlayerNetworkEvent.LoggedOutEvent event)
     
    static void
    clientPlayerTick(net.minecraftforge.event.TickEvent.PlayerTickEvent event)
    This is a PlayerTickEvent rather than a LoggedInEvent since *apparently* forge's network structure isn't set up at that point.
    static ram.talia.hexal.api.everbook.Everbook
    getEverbook(net.minecraft.world.entity.player.Player player)
     
    static at.petrak.hexcasting.api.spell.SpellDatum<?>
    getIota(net.minecraft.server.level.ServerPlayer player, at.petrak.hexcasting.api.spell.math.HexPattern key)
     
    static List<at.petrak.hexcasting.api.spell.SpellDatum<?>>
    getMacro(net.minecraft.server.level.ServerPlayer player, at.petrak.hexcasting.api.spell.math.HexPattern key)
     
    static void
    playerLoggedIn(net.minecraftforge.event.entity.player.PlayerEvent.PlayerLoggedInEvent event)
     
    static void
    removeIota(net.minecraft.server.level.ServerPlayer player, at.petrak.hexcasting.api.spell.math.HexPattern key)
     
    static void
    setEverbook(net.minecraft.world.entity.player.Player player, ram.talia.hexal.api.everbook.Everbook everbook)
     
    static void
    setIota(net.minecraft.server.level.ServerPlayer player, at.petrak.hexcasting.api.spell.math.HexPattern key, at.petrak.hexcasting.api.spell.SpellDatum<?> iota)
     
    static void
    toggleMacro(net.minecraft.server.level.ServerPlayer player, at.petrak.hexcasting.api.spell.math.HexPattern key)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • localEverbook

      public static ram.talia.hexal.api.everbook.Everbook localEverbook
      This is the Everbook of the local client, null on the server.
  • Constructor Details

    • EverbookEventHandler

      public EverbookEventHandler()
  • Method Details

    • getEverbook

      public static ram.talia.hexal.api.everbook.Everbook getEverbook(net.minecraft.world.entity.player.Player player)
    • setEverbook

      public static void setEverbook(net.minecraft.world.entity.player.Player player, ram.talia.hexal.api.everbook.Everbook everbook)
    • getIota

      public static at.petrak.hexcasting.api.spell.SpellDatum<?> getIota(net.minecraft.server.level.ServerPlayer player, at.petrak.hexcasting.api.spell.math.HexPattern key)
    • setIota

      public static void setIota(net.minecraft.server.level.ServerPlayer player, at.petrak.hexcasting.api.spell.math.HexPattern key, at.petrak.hexcasting.api.spell.SpellDatum<?> iota)
    • removeIota

      public static void removeIota(net.minecraft.server.level.ServerPlayer player, at.petrak.hexcasting.api.spell.math.HexPattern key)
    • getMacro

      public static List<at.petrak.hexcasting.api.spell.SpellDatum<?>> getMacro(net.minecraft.server.level.ServerPlayer player, at.petrak.hexcasting.api.spell.math.HexPattern key)
    • toggleMacro

      public static void toggleMacro(net.minecraft.server.level.ServerPlayer player, at.petrak.hexcasting.api.spell.math.HexPattern key)
    • playerLoggedIn

      public static void playerLoggedIn(net.minecraftforge.event.entity.player.PlayerEvent.PlayerLoggedInEvent event)
    • clientPlayerTick

      public static void clientPlayerTick(net.minecraftforge.event.TickEvent.PlayerTickEvent event)
      This is a PlayerTickEvent rather than a LoggedInEvent since *apparently* forge's network structure isn't set up at that point.
    • clientPlayerLoggedOut

      public static void clientPlayerLoggedOut(net.minecraftforge.client.event.ClientPlayerNetworkEvent.LoggedOutEvent event)