Class MercuryTemperatureFunction
java.lang.Object
com.lightning.northstar.planet.data.func.MercuryTemperatureFunction
- All Implemented Interfaces:
LevelFunction
@Internal
@ParametersAreNonnullByDefault
public class MercuryTemperatureFunction
extends Object
implements LevelFunction
Temporary implementation of Mercury's temperature function until the expression functions are fully ready
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec<MercuryTemperatureFunction> static final net.minecraft.resources.ResourceLocationFields inherited from interface com.lightning.northstar.planet.data.func.LevelFunction
CODEC_NO_INLINE, REGISTRY -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.lightning.northstar.planet.data.func.LevelFunction
add, div, mul, sub
-
Field Details
-
TYPE
public static final net.minecraft.resources.ResourceLocation TYPE -
CODEC
-
-
Constructor Details
-
MercuryTemperatureFunction
public MercuryTemperatureFunction()
-
-
Method Details
-
type
public net.minecraft.resources.ResourceLocation type()- Specified by:
typein interfaceLevelFunction
-
get
public float get(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos) - Specified by:
getin interfaceLevelFunction
-