net.minecraft.util

public class StaticCache2D<T>

bay
net.minecraft.util.StaticCache2D
net.minecraft.class_9762
net.minecraft.util.collection.BoundedRegionArray
net.minecraft.util.StaticCache2D

Field summary

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

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, bay$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)
public void
a(Consumer<T> arg0)
forEach(Consumer<T> arg0)
method_60484(Consumer<T> arg0)
forEach(Consumer<T> callback)
public T
a(int arg0, int arg1)
get(int arg0, int arg1)
method_60482(int arg0, int arg1)
get(int x, int z)
public boolean
b(int arg0, int arg1)
contains(int arg0, int arg1)
method_60485(int arg0, int arg1)
isWithinBounds(int x, int z)
private int
c(int arg0, int arg1)
getIndex(int arg0, int arg1)
method_60486(int arg0, int arg1)
toIndex(int x, int z)