Class NorthstarPlanets
java.lang.Object
com.lightning.northstar.world.dimension.NorthstarPlanets
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic doublestatic doublestatic floatstatic doublestatic doublestatic doublestatic doublestatic doublestatic doublestatic floatstatic doublestatic doublestatic doublestatic doublestatic doublestatic doublestatic floatstatic doublestatic doublestatic doublestatic doublestatic doublestatic doublestatic floatstatic doublestatic doublestatic doublestatic doublestatic doublestatic doublestatic floatstatic doublestatic doublestatic doublestatic doublestatic doublestatic doublestatic floatstatic doublestatic doublestatic doublestatic doublestatic doublestatic doublestatic floatstatic doublestatic doublestatic doublestatic doublestatic doublestatic doublestatic floatstatic doublestatic doublestatic doublestatic doublestatic floatstatic doublestatic doublestatic doublestatic doublestatic doublestatic doublestatic floatstatic doublestatic doublestatic doublestatic doublestatic floatstatic doublestatic doublestatic doublestatic doublestatic doublestatic doublestatic floatstatic doublestatic doublestatic doublestatic doublestatic doublestatic doublestatic floatstatic doublestatic doublestatic doublestatic doublestatic doublestatic doublestatic floatstatic doublestatic doublestatic doublestatic double -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleancanSeeSkyAtDay(net.minecraft.resources.ResourceKey<net.minecraft.world.level.Level> level) static intgetComputingCost(net.minecraft.resources.ResourceKey<net.minecraft.world.level.Level> level) static doublegetEngineConstant(net.minecraft.resources.ResourceKey<net.minecraft.world.level.Level> level) static doublegetGravMultiplier(net.minecraft.resources.ResourceKey<net.minecraft.world.level.Level> level) static intgetPlanetAtmosphereCost(net.minecraft.resources.ResourceKey<net.minecraft.world.level.Level> level) static net.minecraft.resources.ResourceKey<net.minecraft.world.level.Level> getPlanetDimension(String name) static StringgetPlanetName(net.minecraft.resources.ResourceKey<net.minecraft.world.level.Level> level) static booleangetPlanetOxy(net.minecraft.resources.ResourceKey<net.minecraft.world.level.Level> level) static intgetPlanetTemp(net.minecraft.resources.ResourceKey<net.minecraft.world.level.Level> level) static doublegetPlanetX(String name) static doublegetPlanetY(String name) static longgetSeedOffset(net.minecraft.resources.ResourceKey<net.minecraft.world.level.Level> level) static floatgetSunMultiplier(net.minecraft.resources.ResourceKey<net.minecraft.world.level.Level> level) static floatgetWindMultiplier(net.minecraft.world.level.Level level) static booleanhasNormalGrav(net.minecraft.resources.ResourceKey<net.minecraft.world.level.Level> level) static booleanhasWeather(net.minecraft.resources.ResourceKey<net.minecraft.world.level.Level> level) static booleanisCustomDimension(net.minecraft.resources.ResourceLocation resourceLocation) static booleanisInOrbit(net.minecraft.resources.ResourceKey<net.minecraft.world.level.Level> level) static booleanisInterplanetary(net.minecraft.resources.ResourceKey<net.minecraft.world.level.Level> home, net.minecraft.resources.ResourceKey<net.minecraft.world.level.Level> dest) static voidonWorldTick(net.neoforged.neoforge.event.tick.LevelTickEvent.Pre event) static booleanplanetHasSky(net.minecraft.resources.ResourceKey<net.minecraft.world.level.Level> level) static voidregister()
-
Field Details
-
mercury_x
public static double mercury_x -
mercury_y
public static double mercury_y -
mercury_orbit_speed
public static float mercury_orbit_speed -
mercury_orbit_radius_x
public static double mercury_orbit_radius_x -
mercury_orbit_radius_y
public static double mercury_orbit_radius_y -
mercury_origin_x
public static double mercury_origin_x -
mercury_origin_y
public static double mercury_origin_y -
venus_x
public static double venus_x -
venus_y
public static double venus_y -
venus_orbit_speed
public static float venus_orbit_speed -
venus_orbit_radius_x
public static double venus_orbit_radius_x -
venus_orbit_radius_y
public static double venus_orbit_radius_y -
venus_origin_x
public static double venus_origin_x -
venus_origin_y
public static double venus_origin_y -
earth_x
public static double earth_x -
earth_y
public static double earth_y -
earth_orbit_speed
public static float earth_orbit_speed -
earth_orbit_radius_x
public static double earth_orbit_radius_x -
earth_orbit_radius_y
public static double earth_orbit_radius_y -
earth_origin_x
public static double earth_origin_x -
earth_origin_y
public static double earth_origin_y -
earth_moon_x
public static double earth_moon_x -
earth_moon_y
public static double earth_moon_y -
earth_moon_orbit_speed
public static float earth_moon_orbit_speed -
earth_moon_orbit_radius_x
public static double earth_moon_orbit_radius_x -
earth_moon_orbit_radius_y
public static double earth_moon_orbit_radius_y -
earth_moon_origin_x
public static double earth_moon_origin_x -
earth_moon_origin_y
public static double earth_moon_origin_y -
moon_x
public static double moon_x -
moon_y
public static double moon_y -
moon_orbit_speed
public static float moon_orbit_speed -
moon_orbit_radius_x
public static double moon_orbit_radius_x -
moon_orbit_radius_y
public static double moon_orbit_radius_y -
mars_x
public static double mars_x -
mars_y
public static double mars_y -
mars_orbit_speed
public static float mars_orbit_speed -
mars_orbit_radius_x
public static double mars_orbit_radius_x -
mars_orbit_radius_y
public static double mars_orbit_radius_y -
mars_origin_x
public static double mars_origin_x -
mars_origin_y
public static double mars_origin_y -
pd_x
public static double pd_x -
pd_y
public static double pd_y -
pd_orbit_speed
public static float pd_orbit_speed -
pd_orbit_radius_x
public static double pd_orbit_radius_x -
pd_orbit_radius_y
public static double pd_orbit_radius_y -
ceres_x
public static double ceres_x -
ceres_y
public static double ceres_y -
ceres_orbit_speed
public static float ceres_orbit_speed -
ceres_orbit_radius_x
public static double ceres_orbit_radius_x -
ceres_orbit_radius_y
public static double ceres_orbit_radius_y -
ceres_origin_x
public static double ceres_origin_x -
ceres_origin_y
public static double ceres_origin_y -
jupiter_x
public static double jupiter_x -
jupiter_y
public static double jupiter_y -
jupiter_orbit_speed
public static float jupiter_orbit_speed -
jupiter_orbit_radius_x
public static double jupiter_orbit_radius_x -
jupiter_orbit_radius_y
public static double jupiter_orbit_radius_y -
jupiter_origin_x
public static double jupiter_origin_x -
jupiter_origin_y
public static double jupiter_origin_y -
saturn_x
public static double saturn_x -
saturn_y
public static double saturn_y -
saturn_orbit_speed
public static float saturn_orbit_speed -
saturn_orbit_radius_x
public static double saturn_orbit_radius_x -
saturn_orbit_radius_y
public static double saturn_orbit_radius_y -
saturn_origin_x
public static double saturn_origin_x -
saturn_origin_y
public static double saturn_origin_y -
uranus_x
public static double uranus_x -
uranus_y
public static double uranus_y -
uranus_orbit_speed
public static float uranus_orbit_speed -
uranus_orbit_radius_x
public static double uranus_orbit_radius_x -
uranus_orbit_radius_y
public static double uranus_orbit_radius_y -
uranus_origin_x
public static double uranus_origin_x -
uranus_origin_y
public static double uranus_origin_y -
neptune_x
public static double neptune_x -
neptune_y
public static double neptune_y -
neptune_orbit_speed
public static float neptune_orbit_speed -
neptune_orbit_radius_x
public static double neptune_orbit_radius_x -
neptune_orbit_radius_y
public static double neptune_orbit_radius_y -
neptune_origin_x
public static double neptune_origin_x -
neptune_origin_y
public static double neptune_origin_y -
pluto_x
public static double pluto_x -
pluto_y
public static double pluto_y -
pluto_orbit_speed
public static float pluto_orbit_speed -
pluto_orbit_radius_x
public static double pluto_orbit_radius_x -
pluto_orbit_radius_y
public static double pluto_orbit_radius_y -
pluto_origin_x
public static double pluto_origin_x -
pluto_origin_y
public static double pluto_origin_y -
eris_x
public static double eris_x -
eris_y
public static double eris_y -
eris_orbit_speed
public static float eris_orbit_speed -
eris_orbit_radius_x
public static double eris_orbit_radius_x -
eris_orbit_radius_y
public static double eris_orbit_radius_y -
eris_origin_x
public static double eris_origin_x -
eris_origin_y
public static double eris_origin_y
-
-
Constructor Details
-
NorthstarPlanets
public NorthstarPlanets()
-
-
Method Details
-
onWorldTick
public static void onWorldTick(net.neoforged.neoforge.event.tick.LevelTickEvent.Pre event) -
getPlanetX
-
getPlanetY
-
getPlanetName
public static String getPlanetName(net.minecraft.resources.ResourceKey<net.minecraft.world.level.Level> level) -
planetHasSky
public static boolean planetHasSky(net.minecraft.resources.ResourceKey<net.minecraft.world.level.Level> level) -
getPlanetTemp
public static int getPlanetTemp(net.minecraft.resources.ResourceKey<net.minecraft.world.level.Level> level) -
getPlanetAtmosphereCost
public static int getPlanetAtmosphereCost(net.minecraft.resources.ResourceKey<net.minecraft.world.level.Level> level) -
getComputingCost
public static int getComputingCost(net.minecraft.resources.ResourceKey<net.minecraft.world.level.Level> level) -
getPlanetDimension
@Nullable public static net.minecraft.resources.ResourceKey<net.minecraft.world.level.Level> getPlanetDimension(String name) -
getPlanetOxy
public static boolean getPlanetOxy(net.minecraft.resources.ResourceKey<net.minecraft.world.level.Level> level) -
hasNormalGrav
public static boolean hasNormalGrav(net.minecraft.resources.ResourceKey<net.minecraft.world.level.Level> level) -
canSeeSkyAtDay
public static boolean canSeeSkyAtDay(net.minecraft.resources.ResourceKey<net.minecraft.world.level.Level> level) -
hasWeather
public static boolean hasWeather(net.minecraft.resources.ResourceKey<net.minecraft.world.level.Level> level) -
getGravMultiplier
public static double getGravMultiplier(net.minecraft.resources.ResourceKey<net.minecraft.world.level.Level> level) -
getEngineConstant
public static double getEngineConstant(net.minecraft.resources.ResourceKey<net.minecraft.world.level.Level> level) -
getWindMultiplier
public static float getWindMultiplier(net.minecraft.world.level.Level level) -
isCustomDimension
public static boolean isCustomDimension(net.minecraft.resources.ResourceLocation resourceLocation) -
getSeedOffset
public static long getSeedOffset(net.minecraft.resources.ResourceKey<net.minecraft.world.level.Level> level) -
getSunMultiplier
public static float getSunMultiplier(net.minecraft.resources.ResourceKey<net.minecraft.world.level.Level> level) -
isInOrbit
public static boolean isInOrbit(net.minecraft.resources.ResourceKey<net.minecraft.world.level.Level> level) -
isInterplanetary
public static boolean isInterplanetary(net.minecraft.resources.ResourceKey<net.minecraft.world.level.Level> home, net.minecraft.resources.ResourceKey<net.minecraft.world.level.Level> dest) -
register
public static void register()
-