Package com.mrbysco.lunar.platform
Class NeoForgePlatformHelper
java.lang.Object
com.mrbysco.lunar.platform.NeoForgePlatformHelper
- All Implemented Interfaces:
com.mrbysco.lunar.platform.services.IPlatformHelper
public class NeoForgePlatformHelper
extends Object
implements com.mrbysco.lunar.platform.services.IPlatformHelper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancanSleepIn(net.minecraft.resources.Identifier moonID) intintintintMap<net.minecraft.resources.Identifier, net.minecraft.resources.Identifier> intintfloatintintintintvoidsyncEvent(net.minecraft.server.level.ServerPlayer player, com.mrbysco.lunar.api.ILunarEvent event) voidsyncEvent(net.minecraft.world.level.Level level, com.mrbysco.lunar.api.ILunarEvent event)
-
Constructor Details
-
NeoForgePlatformHelper
public NeoForgePlatformHelper()
-
-
Method Details
-
syncEvent
public void syncEvent(net.minecraft.world.level.Level level, com.mrbysco.lunar.api.ILunarEvent event) - Specified by:
syncEventin interfacecom.mrbysco.lunar.platform.services.IPlatformHelper
-
syncEvent
public void syncEvent(net.minecraft.server.level.ServerPlayer player, com.mrbysco.lunar.api.ILunarEvent event) - Specified by:
syncEventin interfacecom.mrbysco.lunar.platform.services.IPlatformHelper
-
getLunarChance
public float getLunarChance()- Specified by:
getLunarChancein interfacecom.mrbysco.lunar.platform.services.IPlatformHelper
-
getBloodMoonWeight
public int getBloodMoonWeight()- Specified by:
getBloodMoonWeightin interfacecom.mrbysco.lunar.platform.services.IPlatformHelper
-
getCrimsonMoonWeight
public int getCrimsonMoonWeight()- Specified by:
getCrimsonMoonWeightin interfacecom.mrbysco.lunar.platform.services.IPlatformHelper
-
getMinerMoonWeight
public int getMinerMoonWeight()- Specified by:
getMinerMoonWeightin interfacecom.mrbysco.lunar.platform.services.IPlatformHelper
-
getWhiteMoonWeight
public int getWhiteMoonWeight()- Specified by:
getWhiteMoonWeightin interfacecom.mrbysco.lunar.platform.services.IPlatformHelper
-
getBigMoonWeight
public int getBigMoonWeight()- Specified by:
getBigMoonWeightin interfacecom.mrbysco.lunar.platform.services.IPlatformHelper
-
getTinyMoonWeight
public int getTinyMoonWeight()- Specified by:
getTinyMoonWeightin interfacecom.mrbysco.lunar.platform.services.IPlatformHelper
-
getBadOmenMoonWeight
public int getBadOmenMoonWeight()- Specified by:
getBadOmenMoonWeightin interfacecom.mrbysco.lunar.platform.services.IPlatformHelper
-
getHeroMoonWeight
public int getHeroMoonWeight()- Specified by:
getHeroMoonWeightin interfacecom.mrbysco.lunar.platform.services.IPlatformHelper
-
getEclipseMoonWeight
public int getEclipseMoonWeight()- Specified by:
getEclipseMoonWeightin interfacecom.mrbysco.lunar.platform.services.IPlatformHelper
-
getCrimsonReplacementMap
public Map<net.minecraft.resources.Identifier,net.minecraft.resources.Identifier> getCrimsonReplacementMap()- Specified by:
getCrimsonReplacementMapin interfacecom.mrbysco.lunar.platform.services.IPlatformHelper
-
canSleepIn
public boolean canSleepIn(net.minecraft.resources.Identifier moonID) - Specified by:
canSleepInin interfacecom.mrbysco.lunar.platform.services.IPlatformHelper
-
maxBadOmen
public int maxBadOmen()- Specified by:
maxBadOmenin interfacecom.mrbysco.lunar.platform.services.IPlatformHelper
-