Class TCGStatisticsMinecraftListener

java.lang.Object
com.pixelmonmod.tcg.listener.TCGStatisticsMinecraftListener

public class TCGStatisticsMinecraftListener extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    onBlockInteract(net.neoforged.neoforge.event.entity.player.PlayerInteractEvent.RightClickBlock playerInteractEvent)
     
    static void
    onLogin(net.neoforged.neoforge.event.entity.player.PlayerEvent.PlayerLoggedInEvent event)
    This makes every stat that we've added appear to developers, even when the stat has a value of 0.

    Methods inherited from class java.lang.Object

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

    • TCGStatisticsMinecraftListener

      public TCGStatisticsMinecraftListener()
  • Method Details

    • onLogin

      public static void onLogin(net.neoforged.neoforge.event.entity.player.PlayerEvent.PlayerLoggedInEvent event)
      This makes every stat that we've added appear to developers, even when the stat has a value of 0. For players, this will also make stats appear, but only the stats that remind them how to get started with the TCG.
    • onBlockInteract

      public static void onBlockInteract(net.neoforged.neoforge.event.entity.player.PlayerInteractEvent.RightClickBlock playerInteractEvent)