net.minecraft.entity.ai.pathing

public class PathNodeTypeCache

net.minecraft.world.level.pathfinder.PathTypeCache
net.minecraft.class_9315
net.minecraft.entity.ai.pathing.PathNodeTypeCache

Field summary

Modifier and TypeField
private static final int
SIZE
field_49417
field_49417
private static final int
MASK
field_49418
field_49418
private final long[]
positions
field_49419
positions
private final PathNodeType[]
pathTypes
field_49420
cache

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public PathNodeType
getOrCompute(BlockGetter level, BlockPos pos)
method_57618(class_1922 arg0, class_2338 arg1)
add(BlockView world, BlockPos pos)
private PathNodeType
get(int index, long key)
method_57616(int arg0, long arg1)
get(int index, long pos)
private PathNodeType
compute(BlockGetter level, BlockPos pos, int index, long key)
method_57619(class_1922 arg0, class_2338 arg1, int arg2, long arg3)
compute(BlockView world, BlockPos pos, int index, long longPos)
public void
invalidate(BlockPos pos)
method_57620(class_2338 arg0)
invalidate(BlockPos pos)
private static int
index(long pos)
method_57617(long arg0)
hash(long pos)