Class NorthstarTemperature

java.lang.Object
com.lightning.northstar.world.temperature.NorthstarTemperature

public class NorthstarTemperature extends Object
  • Field Details

  • Constructor Details

    • NorthstarTemperature

      public NorthstarTemperature(net.minecraft.world.level.Level level)
  • Method Details

    • getTemperatureAt

      public float getTemperatureAt(net.minecraft.world.phys.Vec3 pos)
    • getTemperatureAt

      public float getTemperatureAt(net.minecraft.core.Vec3i pos)
    • registerSealer

      public void registerSealer(NorthstarTemperature.Provider provider)
    • unregisterSealer

      public void unregisterSealer(NorthstarTemperature.Provider provider)
    • enqueueUpdates

      public void enqueueUpdates(it.unimi.dsi.fastutil.longs.LongCollection positions)
    • processUpdates

      @Internal public void processUpdates(net.minecraft.server.level.ServerLevel level)
    • getTemperatureAt

      public static float getTemperatureAt(net.minecraft.world.level.Level level, net.minecraft.world.phys.Vec3 pos)
    • getTemperatureAt

      public static float getTemperatureAt(net.minecraft.world.level.Level level, net.minecraft.core.Vec3i pos)
    • getDimension

      public static NorthstarTemperature getDimension(net.minecraft.world.level.Level level)
    • getBaseTemperature

      public static float getBaseTemperature(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos)
    • tickEntity

      @Internal public static void tickEntity(net.minecraft.world.entity.LivingEntity entity)
    • isCombustible

      public static boolean isCombustible(net.minecraft.world.level.material.FluidState state)
    • combustionTemp

      public static int combustionTemp(net.minecraft.world.level.material.FluidState state)
    • getBoilingPoint

      public static int getBoilingPoint(net.minecraft.world.level.material.FluidState state)
    • getFreezingPoint

      public static int getFreezingPoint(net.minecraft.world.level.material.FluidState state)
    • hasInsulation

      public static boolean hasInsulation(net.minecraft.world.entity.LivingEntity entity)
    • hasHeatProtection

      public static boolean hasHeatProtection(net.minecraft.world.entity.LivingEntity entity)
    • getHeatRating

      public static double getHeatRating(net.minecraft.resources.ResourceKey<net.minecraft.world.level.Level> level)
    • getHeatConstant

      public static double getHeatConstant(net.minecraft.resources.ResourceKey<net.minecraft.world.level.Level> level)
    • evaporate

      public static void evaporate(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos)
    • onPostRender

      public static void onPostRender(net.neoforged.neoforge.client.event.RenderLevelStageEvent event)