Class ZygardeCellsListener

java.lang.Object
com.pixelmonmod.pixelmon.listener.ZygardeCellsListener

public class ZygardeCellsListener extends Object
Created by Jay113355 on 5/12/2020.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static boolean
    checkForCube(net.minecraft.world.entity.player.Player player)
     
    static boolean
    hasCube(net.minecraft.world.entity.player.Player player)
     
    static void
    onPlayerJoin(net.minecraftforge.event.entity.player.PlayerEvent.PlayerLoggedInEvent event)
     
    static void
    onPlayerLeave(net.minecraftforge.event.entity.player.PlayerEvent.PlayerLoggedOutEvent event)
     
    static void
    trySpawnInChunk(net.minecraft.server.level.ServerPlayer player, net.minecraft.world.level.chunk.ChunkAccess chunk)
     

    Methods inherited from class java.lang.Object

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

    • ZygardeCellsListener

      public ZygardeCellsListener()
  • Method Details

    • onPlayerJoin

      public static void onPlayerJoin(net.minecraftforge.event.entity.player.PlayerEvent.PlayerLoggedInEvent event)
    • onPlayerLeave

      public static void onPlayerLeave(net.minecraftforge.event.entity.player.PlayerEvent.PlayerLoggedOutEvent event)
    • hasCube

      public static boolean hasCube(net.minecraft.world.entity.player.Player player)
    • checkForCube

      public static boolean checkForCube(@Nonnull net.minecraft.world.entity.player.Player player)
    • trySpawnInChunk

      public static void trySpawnInChunk(net.minecraft.server.level.ServerPlayer player, net.minecraft.world.level.chunk.ChunkAccess chunk)