net.minecraft.util

public record InclusiveRange<T extends Comparable<T>>

ajf
net.minecraft.util.InclusiveRange
net.minecraft.class_6497
net.minecraft.util.dynamic.Range
net.minecraft.src.C_182780_
net.minecraft.util.InclusiveRange

Field summary

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

Constructor summary

ModifierConstructor
public (T minInclusive, T maxInclusive)

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)
m_184572_(com.mojang.serialization.Codec<T> p_184573_)
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)
m_184574_(com.mojang.serialization.Codec<T> p_184575_, T p_184576_, T p_184577_)
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)
m_184580_(T p_184581_, T p_184582_)
public boolean
a(T arg0)
isValueInRange(T arg0)
method_37955(T arg0)
contains(T value)
m_184578_(T arg0)
public boolean
a(ajf<T> arg0)
contains(InclusiveRange<T> arg0)
method_37952(class_6497<T> arg0)
contains(Range<T> other)
m_184570_(C_182780_<T> arg0)
public T
a()
minInclusive()
comp_1()
minInclusive()
f_184563_()
public T
b()
maxInclusive()
comp_2()
maxInclusive()
f_184564_()