net.minecraft.util

public record InclusiveRange<T extends Comparable<T>>

ajf
net.minecraft.util.InclusiveRange
net.minecraft.class_6497
net.minecraft.unmapped.C_uydqwobg
net.minecraft.util.dynamic.Range
net.minecraft.util.math.Range
net.minecraft.src.C_182780_
net.minecraft.util.InclusiveRange

Field summary

Modifier and TypeField
private final T
b
minInclusive
comp_1
f_rugirmti
minInclusive
min
f_184563_
private final T
c
maxInclusive
comp_2
f_eztdnmrs
maxInclusive
max
f_184564_
public static final com.mojang.serialization.Codec<InclusiveRange<Integer>>
a
INT
field_34390
f_fhwnbgtp
CODEC
INT_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)
m_jlbdhory(com.mojang.serialization.Codec<T> arg0)
createCodec(com.mojang.serialization.Codec<T> elementCodec)
createCodec(com.mojang.serialization.Codec<T> codec)
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)
m_hdzjlyoa(com.mojang.serialization.Codec<T> arg0, T arg1, T arg2)
createRangedCodec(com.mojang.serialization.Codec<T> codec, T minInclusive, T maxInclusive)
createBoundedCodec(com.mojang.serialization.Codec<T> codec, T min, T max)
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)
m_udcjcinh(T arg0, T arg1)
validate(T minInclusive, T maxInclusive)
createRange(T min, T max)
m_184580_(T p_184581_, T p_184582_)
public boolean
a(T arg0)
isValueInRange(T arg0)
method_37955(T arg0)
m_dmycxcca(T arg0)
contains(T value)
isWithinRange(T value)
m_184578_(T arg0)
public boolean
a(ajf<T> arg0)
contains(InclusiveRange<T> arg0)
method_37952(class_6497<T> arg0)
m_yotzfted(C_uydqwobg<T> arg0)
contains(Range<T> other)
isWithinRange(Range<T> other)
m_184570_(C_182780_<T> arg0)
public T
a()
minInclusive()
comp_1()
m_yxskmzkd()
minInclusive()
min()
f_184563_()
public T
b()
maxInclusive()
comp_2()
m_xayhqfxm()
maxInclusive()
max()
f_184564_()