Package net.minecraft.world.level
Class BlockCollisions<T>
java.lang.Object
com.google.common.collect.UnmodifiableIterator<T>
com.google.common.collect.AbstractIterator<T>
net.minecraft.world.level.BlockCollisions<T>
- All Implemented Interfaces:
- Iterator<T>
public class BlockCollisions<T>
extends com.google.common.collect.AbstractIterator<T>
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final AABBprivate BlockGetterprivate longprivate final CollisionGetterprivate final CollisionContextprivate final Cursor3Dprivate final VoxelShapeprivate final booleanprivate final BlockPos.MutableBlockPosprivate final BiFunction<BlockPos.MutableBlockPos,VoxelShape, T> 
- 
Constructor SummaryConstructorsConstructorDescriptionBlockCollisions(CollisionGetter p_286817_, Entity p_286246_, AABB p_286624_, boolean p_286354_, BiFunction<BlockPos.MutableBlockPos, VoxelShape, T> p_286303_) 
- 
Method SummaryModifier and TypeMethodDescriptionprotected Tprivate BlockGettergetChunk(int p_186412_, int p_186413_) Methods inherited from class com.google.common.collect.AbstractIteratorendOfData, hasNext, next, peekMethods inherited from class com.google.common.collect.UnmodifiableIteratorremoveMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.IteratorforEachRemaining
- 
Field Details- 
box
- 
context
- 
cursor
- 
pos
- 
entityShape
- 
collisionGetter
- 
onlySuffocatingBlocksprivate final boolean onlySuffocatingBlocks
- 
cachedBlockGetter
- 
cachedBlockGetterPosprivate long cachedBlockGetterPos
- 
resultProvider
 
- 
- 
Constructor Details- 
BlockCollisionspublic BlockCollisions(CollisionGetter p_286817_, @Nullable Entity p_286246_, AABB p_286624_, boolean p_286354_, BiFunction<BlockPos.MutableBlockPos, VoxelShape, T> p_286303_) 
 
- 
- 
Method Details- 
getChunk
- 
computeNext- Specified by:
- computeNextin class- com.google.common.collect.AbstractIterator<T>
 
 
-