Class LunarEvent

java.lang.Object
com.mrbysco.lunar.api.LunarEvent
All Implemented Interfaces:
ILunarEvent
Direct Known Subclasses:
BadOmenMoonEvent, BigMoonEvent, BloodMoonEvent, CrimsonMoonEvent, EclipseMoonEvent, HeroMoonEvent, MinerMoonEvent, RegularMoonEvent, TinyMoonEvent, WhiteMoonEvent

public abstract class LunarEvent extends Object implements ILunarEvent
  • Constructor Details

    • LunarEvent

      public LunarEvent(net.minecraft.resources.Identifier resourceLocation, int moonColor)
  • Method Details

    • getID

      public net.minecraft.resources.Identifier getID()
      Description copied from interface: ILunarEvent
      Get the resource location of the lunar event.
      Specified by:
      getID in interface ILunarEvent
      Returns:
      the resource location of the lunar event
    • moonColor

      public int moonColor()
      Description copied from interface: ILunarEvent
      The color of the moon during the lunar event.
      Specified by:
      moonColor in interface ILunarEvent
      Returns:
      the color of the moon
    • toString

      public String toString()
      Overrides:
      toString in class Object