Package net.minecraft.util
Class StaticCache2D<T>
java.lang.Object
net.minecraft.util.StaticCache2D<T>
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionprivate
StaticCache2D
(int p_347480_, int p_347568_, int p_347475_, int p_347530_, StaticCache2D.Initializer<T> p_347453_) -
Method Summary
Modifier and TypeMethodDescriptionboolean
contains
(int p_347591_, int p_347645_) static <T> StaticCache2D
<T> create
(int p_347579_, int p_347687_, int p_347693_, StaticCache2D.Initializer<T> p_347478_) void
get
(int p_347699_, int p_347563_) private int
getIndex
(int p_347703_, int p_347664_) toString()
-
Field Details
-
minX
private final int minX -
minZ
private final int minZ -
sizeX
private final int sizeX -
sizeZ
private final int sizeZ -
cache
-
-
Constructor Details
-
StaticCache2D
private StaticCache2D(int p_347480_, int p_347568_, int p_347475_, int p_347530_, StaticCache2D.Initializer<T> p_347453_)
-
-
Method Details
-
create
public static <T> StaticCache2D<T> create(int p_347579_, int p_347687_, int p_347693_, StaticCache2D.Initializer<T> p_347478_) -
forEach
-
get
-
contains
public boolean contains(int p_347591_, int p_347645_) -
toString
-
getIndex
private int getIndex(int p_347703_, int p_347664_)
-