Uses of Record Class
net.minecraft.util.dynamic.Range
Packages that use Range
Package
Description
Provides resources to Minecraft, including resource access, provision, and reloading.
-
Uses of Range in net.minecraft.block.spawner
Fields in net.minecraft.block.spawner declared as RangeModifier and TypeFieldDescriptionMobSpawnerEntry.CustomSpawnRules.blockLightLimit
The field for theblockLightLimit
record component.MobSpawnerEntry.CustomSpawnRules.DEFAULT
MobSpawnerEntry.CustomSpawnRules.skyLightLimit
The field for theskyLightLimit
record component.Methods in net.minecraft.block.spawner that return RangeModifier and TypeMethodDescriptionMobSpawnerEntry.CustomSpawnRules.blockLightLimit()
Returns the value of theblockLightLimit
record component.MobSpawnerEntry.CustomSpawnRules.skyLightLimit()
Returns the value of theskyLightLimit
record component.Methods in net.minecraft.block.spawner that return types with arguments of type RangeModifier and TypeMethodDescriptionMobSpawnerEntry.CustomSpawnRules.createLightLimitCodec
(String name) Methods in net.minecraft.block.spawner with parameters of type RangeModifier and TypeMethodDescriptionConstructors in net.minecraft.block.spawner with parameters of type Range -
Uses of Range in net.minecraft.resource
Methods in net.minecraft.resource that return RangeModifier and TypeMethodDescriptionResourcePackProfile.getSupportedFormats
(String packId, PackResourceMetadata metadata) Methods in net.minecraft.resource with parameters of type Range -
Uses of Range in net.minecraft.resource.metadata
Fields in net.minecraft.resource.metadata declared as RangeModifier and TypeFieldDescriptionPackOverlaysMetadata.Entry.format
The field for theformat
record component.Fields in net.minecraft.resource.metadata with type parameters of type RangeModifier and TypeFieldDescriptionPackResourceMetadata.supportedFormats
The field for thesupportedFormats
record component.Methods in net.minecraft.resource.metadata that return RangeModifier and TypeMethodDescriptionPackOverlaysMetadata.Entry.format()
Returns the value of theformat
record component.Methods in net.minecraft.resource.metadata that return types with arguments of type RangeModifier and TypeMethodDescriptionPackResourceMetadata.supportedFormats()
Returns the value of thesupportedFormats
record component.Constructors in net.minecraft.resource.metadata with parameters of type RangeConstructor parameters in net.minecraft.resource.metadata with type arguments of type RangeModifierConstructorDescriptionPackResourceMetadata
(Text description, int format, Optional<Range<Integer>> optional) -
Uses of Range in net.minecraft.util.dynamic
Fields in net.minecraft.util.dynamic with type parameters of type RangeMethods in net.minecraft.util.dynamic that return types with arguments of type RangeModifier and TypeMethodDescriptionstatic <T extends Comparable<T>>
com.mojang.serialization.Codec<Range<T>> Range.createCodec
(com.mojang.serialization.Codec<T> elementCodec) static <T extends Comparable<T>>
com.mojang.serialization.Codec<Range<T>> Range.createRangedCodec
(com.mojang.serialization.Codec<T> codec, T minInclusive, T maxInclusive) static <T extends Comparable<T>>
com.mojang.serialization.DataResult<Range<T>> Range.validate
(T minInclusive, T maxInclusive) Methods in net.minecraft.util.dynamic with parameters of type Range -
Uses of Range in net.minecraft.world.gen.stateprovider
Fields in net.minecraft.world.gen.stateprovider declared as RangeConstructors in net.minecraft.world.gen.stateprovider with parameters of type RangeModifierConstructorDescriptionDualNoiseBlockStateProvider
(Range<Integer> variety, DoublePerlinNoiseSampler.NoiseParameters slowNoiseParameters, float slowScale, long seed, DoublePerlinNoiseSampler.NoiseParameters noiseParameters, float scale, List<BlockState> states)