Uses of Record Class
net.minecraft.util.dynamic.Range
Package
Description
Provides resources to Minecraft, including resource access, provision, and reloading.
-
Uses of Range in net.minecraft.block.spawner
Modifier and TypeFieldDescriptionMobSpawnerEntry.CustomSpawnRules.blockLightLimit
The field for theblockLightLimit
record component.MobSpawnerEntry.CustomSpawnRules.DEFAULT
MobSpawnerEntry.CustomSpawnRules.skyLightLimit
The field for theskyLightLimit
record component.Modifier and TypeMethodDescriptionMobSpawnerEntry.CustomSpawnRules.blockLightLimit()
Returns the value of theblockLightLimit
record component.MobSpawnerEntry.CustomSpawnRules.skyLightLimit()
Returns the value of theskyLightLimit
record component.Modifier and TypeMethodDescriptionMobSpawnerEntry.CustomSpawnRules.createLightLimitCodec
(String name) Modifier and TypeMethodDescription -
Uses of Range in net.minecraft.resource
Modifier and TypeMethodDescriptionResourcePackProfile.getSupportedFormats
(String packId, PackResourceMetadata metadata) -
Uses of Range in net.minecraft.resource.metadata
Modifier and TypeFieldDescriptionPackOverlaysMetadata.Entry.format
The field for theformat
record component.Modifier and TypeFieldDescriptionPackResourceMetadata.supportedFormats
The field for thesupportedFormats
record component.Modifier and TypeMethodDescriptionPackOverlaysMetadata.Entry.format()
Returns the value of theformat
record component.Modifier and TypeMethodDescriptionPackResourceMetadata.supportedFormats()
Returns the value of thesupportedFormats
record component.ModifierConstructorDescriptionPackResourceMetadata
(Text description, int format, Optional<Range<Integer>> optional) -
Uses of Range in net.minecraft.util.dynamic
Modifier 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) -
Uses of Range in net.minecraft.world.gen.stateprovider
ModifierConstructorDescriptionDualNoiseBlockStateProvider
(Range<Integer> variety, DoublePerlinNoiseSampler.NoiseParameters slowNoiseParameters, float slowScale, long seed, DoublePerlinNoiseSampler.NoiseParameters noiseParameters, float scale, List<BlockState> states)