Uses of Record Class
net.minecraft.util.InclusiveRange
Package
Description
-
Uses of InclusiveRange in net.minecraft.server.packs
Modifier and TypeFieldDescriptionprivate final InclusiveRange
<Integer> OverlayMetadataSection.OverlayEntry.format
The field for theformat
record component.Modifier and TypeMethodDescriptionOverlayMetadataSection.OverlayEntry.format()
Returns the value of theformat
record component.ModifierConstructorDescriptionOverlayEntry
(InclusiveRange<Integer> format, String overlay) Creates an instance of aOverlayEntry
record class. -
Uses of InclusiveRange in net.minecraft.server.packs.metadata.pack
Modifier and TypeFieldDescriptionprivate final Optional
<InclusiveRange<Integer>> PackMetadataSection.supportedFormats
The field for thesupportedFormats
record component.Modifier and TypeMethodDescriptionPackMetadataSection.supportedFormats()
Returns the value of thesupportedFormats
record component.ModifierConstructorDescriptionPackMetadataSection
(Component description, int packFormat, Optional<InclusiveRange<Integer>> supportedFormats) Creates an instance of aPackMetadataSection
record class. -
Uses of InclusiveRange in net.minecraft.server.packs.repository
Modifier and TypeMethodDescriptionstatic InclusiveRange
<Integer> Pack.getDeclaredPackVersions
(String p_295795_, PackMetadataSection p_294612_) Modifier and TypeMethodDescriptionstatic PackCompatibility
PackCompatibility.forVersion
(InclusiveRange<Integer> p_294404_, int p_294597_) -
Uses of InclusiveRange in net.minecraft.util
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<InclusiveRange<Integer>> InclusiveRange.INT
Modifier and TypeMethodDescriptionstatic <T extends Comparable<T>>
com.mojang.serialization.Codec<InclusiveRange<T>> InclusiveRange.codec
(com.mojang.serialization.Codec<T> p_184573_) static <T extends Comparable<T>>
com.mojang.serialization.Codec<InclusiveRange<T>> InclusiveRange.codec
(com.mojang.serialization.Codec<T> p_184575_, T p_184576_, T p_184577_) static <T extends Comparable<T>>
com.mojang.serialization.DataResult<InclusiveRange<T>> InclusiveRange.create
(T p_184581_, T p_184582_) -
Uses of InclusiveRange in net.minecraft.world.level
Modifier and TypeFieldDescriptionprivate final InclusiveRange
<Integer> SpawnData.CustomSpawnRules.blockLightLimit
The field for theblockLightLimit
record component.private static final InclusiveRange
<Integer> SpawnData.CustomSpawnRules.LIGHT_RANGE
private final InclusiveRange
<Integer> SpawnData.CustomSpawnRules.skyLightLimit
The field for theskyLightLimit
record component.Modifier and TypeMethodDescriptionSpawnData.CustomSpawnRules.blockLightLimit()
Returns the value of theblockLightLimit
record component.SpawnData.CustomSpawnRules.skyLightLimit()
Returns the value of theskyLightLimit
record component.Modifier and TypeMethodDescriptionprivate static com.mojang.serialization.DataResult
<InclusiveRange<Integer>> SpawnData.CustomSpawnRules.checkLightBoundaries
(InclusiveRange<Integer> p_186593_) private static com.mojang.serialization.MapCodec
<InclusiveRange<Integer>> SpawnData.CustomSpawnRules.lightLimit
(String p_286409_) Modifier and TypeMethodDescriptionprivate static com.mojang.serialization.DataResult
<InclusiveRange<Integer>> SpawnData.CustomSpawnRules.checkLightBoundaries
(InclusiveRange<Integer> p_186593_) ModifierConstructorDescriptionCustomSpawnRules
(InclusiveRange<Integer> blockLightLimit, InclusiveRange<Integer> skyLightLimit) Creates an instance of aCustomSpawnRules
record class. -
Uses of InclusiveRange in net.minecraft.world.level.levelgen.feature.stateproviders
ModifierConstructorDescriptionDualNoiseProvider
(InclusiveRange<Integer> p_191396_, NormalNoise.NoiseParameters p_191397_, float p_191398_, long p_191399_, NormalNoise.NoiseParameters p_191400_, float p_191401_, List<BlockState> p_191402_)