Uses of Enum Class
net.minecraft.world.biome.Biome.Precipitation
Packages that use Biome.Precipitation
-
Uses of Biome.Precipitation in net.minecraft.block
Fields in net.minecraft.block with type parameters of type Biome.PrecipitationModifier 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
.Methods in net.minecraft.block with parameters of type Biome.PrecipitationModifier 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.Constructor parameters in net.minecraft.block with type arguments of type Biome.PrecipitationModifierConstructorDescriptionLeveledCauldronBlock
(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
Fields in net.minecraft.world.biome declared as Biome.PrecipitationModifier and TypeFieldDescriptionprivate @Nullable Biome.Precipitation
Biome.Builder.precipitation
private final Biome.Precipitation
Biome.Weather.precipitation
The field for theprecipitation
record component.Fields in net.minecraft.world.biome with type parameters of type Biome.PrecipitationModifier and TypeFieldDescriptionstatic final StringIdentifiable.Codec<Biome.Precipitation>
Biome.Precipitation.CODEC
Methods in net.minecraft.world.biome that return Biome.PrecipitationModifier 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.Methods in net.minecraft.world.biome with parameters of type Biome.PrecipitationModifier 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) Constructors in net.minecraft.world.biome with parameters of type Biome.PrecipitationModifierConstructorDescription(package private)
Weather
(Biome.Precipitation precipitation, float temperature, Biome.TemperatureModifier temperatureModifier, float downfall) Creates an instance of aWeather
record class.