net.minecraft.world

public class BlockCollisionSpliterator<T>

extends com.google.common.collect.AbstractIterator<T>

net.minecraft.world.level.BlockCollisions
net.minecraft.class_5329
net.minecraft.world.BlockCollisionSpliterator

Field summary

Modifier and TypeField
private final Box
box
field_25169
box
private final ShapeContext
context
field_25170
context
private final CuboidBlockIterator
cursor
field_25171
blockIterator
private final BlockPos$Mutable
pos
field_25172
pos
private final VoxelShape
entityShape
field_25173
boxShape
private final CollisionView
collisionGetter
field_25174
world
private final boolean
onlySuffocatingBlocks
field_35590
forEntity
private BlockView
cachedBlockGetter
field_35108
chunk
private long
cachedBlockGetterPos
field_35109
chunkPos
private final BiFunction<BlockPos$Mutable, VoxelShape, T>
resultProvider
field_44787
resultFunction

Constructor summary

ModifierConstructor
public (CollisionView world, Entity entity, Box box, boolean forEntity, BiFunction<BlockPos$Mutable, VoxelShape, T> resultFunction)
public (CollisionView world, ShapeContext context, Box box, boolean forEntity, BiFunction<BlockPos$Mutable, VoxelShape, T> resultFunction)

Method summary

Modifier and TypeMethod
private BlockView
getChunk(int x, int z)
method_29283(int arg0, int arg1)
getChunk(int x, int z)
protected T
computeNext()