Interface ThermooSeason
- All Superinterfaces:
net.minecraft.util.StringRepresentable
- All Known Implementing Classes:
TemperateSeason, TropicalSeason
@NonExtendable
public sealed interface ThermooSeason
extends net.minecraft.util.StringRepresentable
permits TemperateSeason, TropicalSeason
Contains common functionality for all thermoo season types.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.util.StringRepresentable
net.minecraft.util.StringRepresentable.EnumCodec<E>, net.minecraft.util.StringRepresentable.StringRepresentableCodec<S> -
Field Summary
Fields inherited from interface net.minecraft.util.StringRepresentable
PRE_BUILT_MAP_THRESHOLD -
Method Summary
Modifier and TypeMethodDescriptionThermooSeasonState<? extends ThermooSeason> Creates a season state that represents the start of this season.static dev.yumi.commons.TriStateisColdEnoughToSnow(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos) Convenience method for invokingThermooSeasonEvents.IS_COLD_ENOUGH_TO_SNOWMethods inherited from interface net.minecraft.util.StringRepresentable
getSerializedName
-
Method Details
-
createState
ThermooSeasonState<? extends ThermooSeason> createState()Creates a season state that represents the start of this season. -
isColdEnoughToSnow
static dev.yumi.commons.TriState isColdEnoughToSnow(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos) Convenience method for invokingThermooSeasonEvents.IS_COLD_ENOUGH_TO_SNOW
-