Class ZygardeCellsListener
java.lang.Object
com.pixelmonmod.pixelmon.listener.ZygardeCellsListener
Created by Jay113355 on 5/12/2020.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic 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)
-
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)
-