Uses of Record Class
net.minecraft.util.dynamic.Range
Packages that use Range
Package
Description
The base package for all Minecraft classes.
Provides resources to Minecraft, including resource access, provision, and reloading.
-
Uses of Range in net.minecraft
Methods in net.minecraft that return RangeMethods in net.minecraft that return types with arguments of type RangeModifier and TypeMethodDescriptionstatic com.mojang.serialization.MapCodec<Range<class_11555>> class_11555.method_72329(ResourceType resourceType) private com.mojang.serialization.DataResult<Range<class_11555>> class_11555.class_11556.method_72332(int int2, boolean bool, String string, String string2) com.mojang.serialization.DataResult<Range<class_11555>> class_11555.class_11556.method_72333(int int2, boolean bool, boolean bool2, String string, String string2) private com.mojang.serialization.DataResult<Range<class_11555>> class_11555.class_11556.method_72344(int int2, boolean bool, boolean bool2, String string, String string2) Methods in net.minecraft with parameters of type RangeModifier and TypeMethodDescriptionstatic class_11555.class_11556class_11555.class_11556.method_72334(Range<class_11555> range, int int2) Method parameters in net.minecraft with type arguments of type RangeModifier and TypeMethodDescriptionstatic <ResultType,HolderType extends class_11555.class_11557>
com.mojang.serialization.DataResult<List<ResultType>> class_11555.method_72327(List<HolderType> list, int int2, BiFunction<HolderType, Range<class_11555>, ResultType> biFunction) -
Uses of Range in net.minecraft.block.spawner
Fields in net.minecraft.block.spawner declared as RangeModifier and TypeFieldDescriptionMobSpawnerEntry.CustomSpawnRules.blockLightLimitThe field for theblockLightLimitrecord component.MobSpawnerEntry.CustomSpawnRules.DEFAULTMobSpawnerEntry.CustomSpawnRules.skyLightLimitThe field for theskyLightLimitrecord component.Methods in net.minecraft.block.spawner that return RangeModifier and TypeMethodDescriptionMobSpawnerEntry.CustomSpawnRules.blockLightLimit()Returns the value of theblockLightLimitrecord component.MobSpawnerEntry.CustomSpawnRules.skyLightLimit()Returns the value of theskyLightLimitrecord 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 with parameters of type RangeModifier and TypeMethodDescriptionstatic ResourcePackCompatibilityResourcePackCompatibility.from(Range<class_11555> range, class_11555 class_11555) -
Uses of Range in net.minecraft.resource.metadata
Fields in net.minecraft.resource.metadata declared as RangeModifier and TypeFieldDescriptionprivate final Range<class_11555> PackOverlaysMetadata.Entry.formatThe field for theformatrecord component.private final Range<class_11555> PackResourceMetadata.supportedFormatsThe field for thesupportedFormatsrecord component.Methods in net.minecraft.resource.metadata that return RangeModifier and TypeMethodDescriptionPackOverlaysMetadata.Entry.format()Returns the value of theformatrecord component.PackResourceMetadata.supportedFormats()Returns the value of thesupportedFormatsrecord component.Constructors in net.minecraft.resource.metadata with parameters of type RangeModifierConstructorDescriptionEntry(Range<class_11555> range, String string) PackResourceMetadata(Text description, Range<class_11555> range) -
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 RangeModifier and TypeMethodDescription<S extends Comparable<S>>
Range<S> Range.method_72374(Function<? super T, ? extends S> function) Methods 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)