Class EverbookEventHandler
java.lang.Object
ram.talia.hexal.forge.eventhandlers.EverbookEventHandler
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic ram.talia.hexal.api.everbook.EverbookThis is the Everbook of the local client, null on the server. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidclientPlayerLoggedOut(net.minecraftforge.client.event.ClientPlayerNetworkEvent.LoggedOutEvent event) static voidclientPlayerTick(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.EverbookgetEverbook(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 voidplayerLoggedIn(net.minecraftforge.event.entity.player.PlayerEvent.PlayerLoggedInEvent event) static voidremoveIota(net.minecraft.server.level.ServerPlayer player, at.petrak.hexcasting.api.spell.math.HexPattern key) static voidsetEverbook(net.minecraft.world.entity.player.Player player, ram.talia.hexal.api.everbook.Everbook everbook) static voidsetIota(net.minecraft.server.level.ServerPlayer player, at.petrak.hexcasting.api.spell.math.HexPattern key, at.petrak.hexcasting.api.spell.SpellDatum<?> iota) static voidtoggleMacro(net.minecraft.server.level.ServerPlayer player, at.petrak.hexcasting.api.spell.math.HexPattern key)
-
Field Details
-
localEverbook
public static ram.talia.hexal.api.everbook.Everbook localEverbookThis 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)
-