Package net.minecraft.world.level
Class BlockCollisions
java.lang.Object
com.google.common.collect.UnmodifiableIterator<T>
com.google.common.collect.AbstractIterator<VoxelShape>
net.minecraft.world.level.BlockCollisions
- All Implemented Interfaces:
Iterator<VoxelShape>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final AABBprivate BlockGetterprivate longprivate final CollisionGetterprivate final CollisionContextprivate final Cursor3Dprivate final VoxelShapeprivate final booleanprivate final BlockPos.MutableBlockPos -
Constructor Summary
ConstructorsConstructorDescriptionBlockCollisions(CollisionGetter p_186402_, Entity p_186403_, AABB p_186404_) BlockCollisions(CollisionGetter p_186406_, Entity p_186407_, AABB p_186408_, boolean p_186409_) -
Method Summary
Modifier and TypeMethodDescriptionprotected VoxelShapeprivate BlockGettergetChunk(int p_186412_, int p_186413_) Methods inherited from class com.google.common.collect.AbstractIterator
endOfData, hasNext, next, peekMethods inherited from class com.google.common.collect.UnmodifiableIterator
removeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Iterator
forEachRemaining
-
Field Details
-
box
-
context
-
cursor
-
pos
-
entityShape
-
collisionGetter
-
onlySuffocatingBlocks
private final boolean onlySuffocatingBlocks -
cachedBlockGetter
-
cachedBlockGetterPos
private long cachedBlockGetterPos
-
-
Constructor Details
-
BlockCollisions
-
BlockCollisions
public BlockCollisions(CollisionGetter p_186406_, @Nullable Entity p_186407_, AABB p_186408_, boolean p_186409_)
-
-
Method Details
-
getChunk
-
computeNext
- Specified by:
computeNextin classcom.google.common.collect.AbstractIterator<VoxelShape>
-