net.minecraft.util

public class StaticCache2D<T>

azi
net.minecraft.util.StaticCache2D
net.minecraft.class_9762
net.minecraft.util.collection.BoundedRegionArray
net.minecraft.src.C_336561_
net.minecraft.util.StaticCache2D

Field summary

Modifier and TypeField
private final int
a
minX
field_51878
minX
f_336720_
private final int
b
minZ
field_51879
minZ
f_337108_
private final int
c
sizeX
field_51880
maxX
f_337066_
private final int
d
sizeZ
field_51881
maxZ
f_336997_
private final Object[]
e
cache
field_51882
array
f_336902_

Constructor summary

ModifierConstructor
private (int minX, int minZ, int maxX, int maxZ, StaticCache2D$Initializer<T> getter)

Method summary

Modifier and TypeMethod
public static <T> StaticCache2D<T>
a(int arg0, int arg1, int arg2, azi$a<T> arg3)
create(int arg0, int arg1, int arg2, StaticCache2D$Initializer<T> arg3)
method_60483(int arg0, int arg1, int arg2, class_9762$class_9763<T> arg3)
create(int centerX, int centerZ, int radius, BoundedRegionArray$Getter<T> getter)
m_339600_(int p_344065_, int p_343803_, int p_342635_, C_336561_$C_336546_<T> p_344385_)
public void
a(Consumer<T> arg0)
forEach(Consumer<T> arg0)
method_60484(Consumer<T> arg0)
forEach(Consumer<T> callback)
m_338895_(Consumer<T> arg0)
public T
a(int arg0, int arg1)
get(int arg0, int arg1)
method_60482(int arg0, int arg1)
get(int x, int z)
m_338758_(int p_343942_, int arg1)
public boolean
b(int arg0, int arg1)
contains(int arg0, int arg1)
method_60485(int arg0, int arg1)
isWithinBounds(int x, int z)
m_338603_(int p_345047_, int arg1)
private int
c(int arg0, int arg1)
getIndex(int arg0, int arg1)
method_60486(int arg0, int arg1)
toIndex(int x, int z)
m_340549_(int p_345052_, int arg1)