Package com.pixelmonmod.tcg.listener
Class TCGStatisticsMinecraftListener
java.lang.Object
com.pixelmonmod.tcg.listener.TCGStatisticsMinecraftListener
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic 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.
-
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)
-