Package com.mrbysco.lunar.handler
Class LunarHandler
java.lang.Object
com.mrbysco.lunar.handler.LunarHandler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic EventResultcanSleep(net.minecraft.world.entity.player.Player player, net.minecraft.core.BlockPos sleepingPos) static EventResultgetSpawnResult(net.minecraft.world.entity.MobSpawnType mobSpawnType, net.minecraft.world.entity.LivingEntity livingEntity) static voidonWorldTick(net.minecraft.world.level.Level level) static voiduponLivingSpawn(net.minecraft.world.entity.MobSpawnType mobSpawnType, net.minecraft.world.entity.LivingEntity livingEntity)
-
Constructor Details
-
LunarHandler
public LunarHandler()
-
-
Method Details
-
onWorldTick
public static void onWorldTick(net.minecraft.world.level.Level level) -
canSleep
public static EventResult canSleep(net.minecraft.world.entity.player.Player player, net.minecraft.core.BlockPos sleepingPos) -
getSpawnResult
public static EventResult getSpawnResult(net.minecraft.world.entity.MobSpawnType mobSpawnType, net.minecraft.world.entity.LivingEntity livingEntity) -
uponLivingSpawn
public static void uponLivingSpawn(net.minecraft.world.entity.MobSpawnType mobSpawnType, net.minecraft.world.entity.LivingEntity livingEntity)
-