net.minecraft.util

public record InclusiveRange<T extends Comparable<T>>

azw
net.minecraft.util.InclusiveRange
net.minecraft.class_6497
net.minecraft.util.dynamic.Range
net.minecraft.util.InclusiveRange

Field summary

Modifier and TypeField
private final T
b
minInclusive
comp_1
minInclusive
private final T
c
maxInclusive
comp_2
maxInclusive
public static final com.mojang.serialization.Codec<InclusiveRange<Integer>>
a
INT
field_34390
CODEC

Constructor summary

ModifierConstructor
public (T minInclusive, T maxInclusive)
public (T value)

Method summary

Modifier and TypeMethod
public static <T extends Comparable<T>> com.mojang.serialization.Codec<InclusiveRange<T>>
a(com.mojang.serialization.Codec<T> arg0)
codec(com.mojang.serialization.Codec<T> arg0)
method_37953(com.mojang.serialization.Codec<T> arg0)
createCodec(com.mojang.serialization.Codec<T> elementCodec)
public static <T extends Comparable<T>> com.mojang.serialization.Codec<InclusiveRange<T>>
a(com.mojang.serialization.Codec<T> arg0, T arg1, T arg2)
codec(com.mojang.serialization.Codec<T> arg0, T arg1, T arg2)
method_37954(com.mojang.serialization.Codec<T> arg0, T arg1, T arg2)
createRangedCodec(com.mojang.serialization.Codec<T> codec, T minInclusive, T maxInclusive)
public static <T extends Comparable<T>> com.mojang.serialization.DataResult<InclusiveRange<T>>
a(T arg0, T arg1)
create(T arg0, T arg1)
method_37956(T arg0, T arg1)
validate(T minInclusive, T maxInclusive)
public boolean
a(T arg0)
isValueInRange(T arg0)
method_37955(T arg0)
contains(T value)
public boolean
a(azw<T> arg0)
contains(InclusiveRange<T> arg0)
method_37952(class_6497<T> arg0)
contains(Range<T> other)
public T
a()
minInclusive()
comp_1()
minInclusive()
public T
b()
maxInclusive()
comp_2()
maxInclusive()