Uses of Enum Class
net.minecraft.world.biome.Biome.Precipitation
-
Uses of Biome.Precipitation in net.minecraft.block
Modifier and TypeFieldDescriptionprivate final Predicate<Biome.Precipitation>
LeveledCauldronBlock.precipitationPredicate
static final Predicate<Biome.Precipitation>
LeveledCauldronBlock.RAIN_PREDICATE
A precipitation predicate that allowsRAIN
.static final Predicate<Biome.Precipitation>
LeveledCauldronBlock.SNOW_PREDICATE
A precipitation predicate that allowsSNOW
.Modifier and TypeMethodDescriptionprotected static boolean
CauldronBlock.canFillWithPrecipitation
(World world, Biome.Precipitation precipitation) void
Block.precipitationTick
(BlockState state, World world, BlockPos pos, Biome.Precipitation precipitation) Called randomly server-side on blocks with unobstructed sky access when it is raining or snowing.void
CauldronBlock.precipitationTick
(BlockState state, World world, BlockPos pos, Biome.Precipitation precipitation) Called randomly server-side on blocks with unobstructed sky access when it is raining or snowing.void
LeveledCauldronBlock.precipitationTick
(BlockState state, World world, BlockPos pos, Biome.Precipitation precipitation) Called randomly server-side on blocks with unobstructed sky access when it is raining or snowing.ModifierConstructorDescriptionLeveledCauldronBlock
(AbstractBlock.Settings settings, Predicate<Biome.Precipitation> precipitationPredicate, Map<Item, CauldronBehavior> behaviorMap) Constructs a leveled cauldron block.PowderSnowCauldronBlock
(AbstractBlock.Settings settings, Predicate<Biome.Precipitation> precipitationPredicate, Map<Item, CauldronBehavior> behaviorMap) -
Uses of Biome.Precipitation in net.minecraft.world.biome
Modifier and TypeFieldDescriptionprivate @Nullable Biome.Precipitation
Biome.Builder.precipitation
private final Biome.Precipitation
Biome.Weather.precipitation
The field for theprecipitation
record component.Modifier and TypeFieldDescriptionstatic final StringIdentifiable.Codec<Biome.Precipitation>
Biome.Precipitation.CODEC
Modifier and TypeMethodDescriptionBiome.getPrecipitation()
Biome.Weather.precipitation()
Returns the value of theprecipitation
record component.static Biome.Precipitation
Returns the enum constant of this class with the specified name.static Biome.Precipitation[]
Biome.Precipitation.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionprivate static Biome
OverworldBiomeCreator.createBiome
(Biome.Precipitation precipitation, float temperature, float downfall, int waterColor, int waterFogColor, SpawnSettings.Builder spawnSettings, GenerationSettings.LookupBackedBuilder generationSettings, @Nullable MusicSound music) private static Biome
OverworldBiomeCreator.createBiome
(Biome.Precipitation precipitation, float temperature, float downfall, SpawnSettings.Builder spawnSettings, GenerationSettings.LookupBackedBuilder generationSettings, @Nullable MusicSound music) Biome.Builder.precipitation
(Biome.Precipitation precipitation) ModifierConstructorDescription(package private)
Weather
(Biome.Precipitation precipitation, float temperature, Biome.TemperatureModifier temperatureModifier, float downfall) Creates an instance of aWeather
record class.