Class ForgePlatformHelper

java.lang.Object
com.mrbysco.lunar.platform.ForgePlatformHelper
All Implemented Interfaces:
com.mrbysco.lunar.platform.services.IPlatformHelper

public class ForgePlatformHelper extends Object implements com.mrbysco.lunar.platform.services.IPlatformHelper
  • Constructor Details

    • ForgePlatformHelper

      public ForgePlatformHelper()
  • Method Details

    • syncEvent

      public void syncEvent(net.minecraft.world.level.Level level, com.mrbysco.lunar.api.ILunarEvent event)
      Specified by:
      syncEvent in interface com.mrbysco.lunar.platform.services.IPlatformHelper
    • syncEvent

      public void syncEvent(net.minecraft.server.level.ServerPlayer player, com.mrbysco.lunar.api.ILunarEvent event)
      Specified by:
      syncEvent in interface com.mrbysco.lunar.platform.services.IPlatformHelper
    • syncDeltaMovement

      public void syncDeltaMovement(net.minecraft.server.level.ServerPlayer player, net.minecraft.world.phys.Vec3 deltaMovement)
      Specified by:
      syncDeltaMovement in interface com.mrbysco.lunar.platform.services.IPlatformHelper
    • getLunarChance

      public float getLunarChance()
      Specified by:
      getLunarChance in interface com.mrbysco.lunar.platform.services.IPlatformHelper
    • getBloodMoonWeight

      public int getBloodMoonWeight()
      Specified by:
      getBloodMoonWeight in interface com.mrbysco.lunar.platform.services.IPlatformHelper
    • getCrimsonMoonWeight

      public int getCrimsonMoonWeight()
      Specified by:
      getCrimsonMoonWeight in interface com.mrbysco.lunar.platform.services.IPlatformHelper
    • getMinerMoonWeight

      public int getMinerMoonWeight()
      Specified by:
      getMinerMoonWeight in interface com.mrbysco.lunar.platform.services.IPlatformHelper
    • getWhiteMoonWeight

      public int getWhiteMoonWeight()
      Specified by:
      getWhiteMoonWeight in interface com.mrbysco.lunar.platform.services.IPlatformHelper
    • getBigMoonWeight

      public int getBigMoonWeight()
      Specified by:
      getBigMoonWeight in interface com.mrbysco.lunar.platform.services.IPlatformHelper
    • getTinyMoonWeight

      public int getTinyMoonWeight()
      Specified by:
      getTinyMoonWeight in interface com.mrbysco.lunar.platform.services.IPlatformHelper
    • getBadOmenMoonWeight

      public int getBadOmenMoonWeight()
      Specified by:
      getBadOmenMoonWeight in interface com.mrbysco.lunar.platform.services.IPlatformHelper
    • getHeroMoonWeight

      public int getHeroMoonWeight()
      Specified by:
      getHeroMoonWeight in interface com.mrbysco.lunar.platform.services.IPlatformHelper
    • getEclipseMoonWeight

      public int getEclipseMoonWeight()
      Specified by:
      getEclipseMoonWeight in interface com.mrbysco.lunar.platform.services.IPlatformHelper
    • getCrimsonReplacementMap

      public Map<net.minecraft.resources.ResourceLocation,net.minecraft.resources.ResourceLocation> getCrimsonReplacementMap()
      Specified by:
      getCrimsonReplacementMap in interface com.mrbysco.lunar.platform.services.IPlatformHelper
    • getEntityTypeLocation

      public net.minecraft.resources.ResourceLocation getEntityTypeLocation(net.minecraft.world.entity.EntityType<?> entityType)
      Specified by:
      getEntityTypeLocation in interface com.mrbysco.lunar.platform.services.IPlatformHelper
    • getEntityType

      public net.minecraft.world.entity.EntityType<?> getEntityType(net.minecraft.resources.ResourceLocation location)
      Specified by:
      getEntityType in interface com.mrbysco.lunar.platform.services.IPlatformHelper