Class LunarHandler

java.lang.Object
com.mrbysco.lunar.handler.LunarHandler

public class LunarHandler extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    canSleep(net.minecraft.world.entity.player.Player player, net.minecraft.core.BlockPos sleepingPos)
     
    getSpawnResult(net.minecraft.world.entity.MobSpawnType mobSpawnType, net.minecraft.world.entity.LivingEntity livingEntity)
     
    static int
    onLooting(net.minecraft.world.entity.player.Player player)
     
    static void
    onWorldTick(net.minecraft.world.level.Level level)
     
    static void
    uponLivingSpawn(net.minecraft.world.entity.MobSpawnType mobSpawnType, net.minecraft.world.entity.LivingEntity livingEntity)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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)
    • onLooting

      public static int onLooting(net.minecraft.world.entity.player.Player player)