net.minecraft.advancements.critereon

public record MinMaxBounds$Ints

implements MinMaxBounds<Integer>

cl$d
net.minecraft.advancements.critereon.MinMaxBounds$Ints
net.minecraft.class_2096$class_2100
net.minecraft.predicate.NumberRange$IntRange
net.minecraft.src.C_1863_$C_1867_
net.minecraft.advancements.critereon.CriterionConditionValue$IntegerRange

Field summary

Modifier and TypeField
private final Optional<Integer>
e
min
comp_1805
min
f_290888_
private final Optional<Integer>
f
max
comp_1806
max
f_291545_
private final Optional<Long>
g
minSq
comp_1809
minSquared
f_55365_
private final Optional<Long>
h
maxSq
comp_1810
maxSquared
f_55366_
public static final MinMaxBounds$Ints
c
ANY
field_9708
ANY
f_55364_
public static final com.mojang.serialization.Codec<MinMaxBounds$Ints>
d
CODEC
field_45763
CODEC
f_290636_

Constructor summary

ModifierConstructor
private (Optional<Integer> p_297344_, Optional<Integer> arg1)
public (Optional<Integer> f_291545_, Optional<Integer> f_55365_, Optional<Long> f_55366_, Optional<Long> arg3)

Method summary

Modifier and TypeMethod
private static MinMaxBounds$Ints
a(com.mojang.brigadier.StringReader arg0, Optional<Integer> arg1, Optional<Integer> arg2)
create(com.mojang.brigadier.StringReader arg0, Optional<Integer> arg1, Optional<Integer> arg2)
method_9055(com.mojang.brigadier.StringReader arg0, Optional<Integer> arg1, Optional<Integer> arg2)
parse(com.mojang.brigadier.StringReader reader, Optional<Integer> arg1, Optional<Integer> arg2)
m_55377_(com.mojang.brigadier.StringReader p_55378_, Optional<Integer> p_297316_, Optional<Integer> p_300359_)
private static Optional<Long>
a(Optional<Integer> arg0)
squareOpt(Optional<Integer> arg0)
method_9059(Optional<Integer> arg0)
squared(Optional<Integer> arg0)
m_55384_(Optional<Integer> p_300285_)
public static MinMaxBounds$Ints
a(int arg0)
exactly(int arg0)
method_9058(int arg0)
exactly(int value)
m_55371_(int p_55372_)
public static MinMaxBounds$Ints
a(int arg0, int arg1)
between(int arg0, int arg1)
method_35287(int arg0, int arg1)
between(int min, int max)
m_154814_(int p_154815_, int p_154816_)
public static MinMaxBounds$Ints
b(int arg0)
atLeast(int arg0)
method_9053(int arg0)
atLeast(int value)
m_55386_(int p_55387_)
public static MinMaxBounds$Ints
c(int arg0)
atMost(int arg0)
method_35289(int arg0)
atMost(int value)
m_154819_(int p_154820_)
public boolean
d(int arg0)
matches(int arg0)
method_9054(int arg0)
test(int value)
m_55390_(int arg0)
public boolean
a(long arg0)
matchesSqr(long arg0)
method_35288(long arg0)
testSqrt(long value)
m_154817_(long arg0)
public static MinMaxBounds$Ints
a(com.google.gson.JsonElement arg0)
fromJson(com.google.gson.JsonElement arg0)
method_9056(com.google.gson.JsonElement arg0)
fromJson(com.google.gson.JsonElement element)
m_55373_(com.google.gson.JsonElement p_55374_)
public com.google.gson.JsonElement
e()
serializeToJson()
method_53199()
toJson()
m_293276_()
public static MinMaxBounds$Ints
a(com.mojang.brigadier.StringReader arg0)
fromReader(com.mojang.brigadier.StringReader arg0)
method_9060(com.mojang.brigadier.StringReader arg0)
parse(com.mojang.brigadier.StringReader reader)
m_55375_(com.mojang.brigadier.StringReader p_55376_)
public static MinMaxBounds$Ints
a(com.mojang.brigadier.StringReader arg0, Function<Integer, Integer> arg1)
fromReader(com.mojang.brigadier.StringReader arg0, Function<Integer, Integer> arg1)
method_9057(com.mojang.brigadier.StringReader arg0, Function<Integer, Integer> arg1)
fromStringReader(com.mojang.brigadier.StringReader reader, Function<Integer, Integer> converter)
m_55381_(com.mojang.brigadier.StringReader p_55382_, Function<Integer, Integer> p_55383_)
public Optional<Integer>
a()
min()
comp_1805()
min()
m_293284_()
public Optional<Integer>
b()
max()
comp_1806()
max()
m_294019_()
public Optional<Long>
f()
minSq()
comp_1809()
minSquared()
f_55365_()
public Optional<Long>
g()
maxSq()
comp_1810()
maxSquared()
f_55366_()