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>

public class BlockCollisions extends com.google.common.collect.AbstractIterator<VoxelShape>
  • Field Details

    • box

      private final AABB box
    • context

      private final CollisionContext context
    • cursor

      private final Cursor3D cursor
    • pos

      private final BlockPos.MutableBlockPos pos
    • entityShape

      private final VoxelShape entityShape
    • collisionGetter

      private final CollisionGetter collisionGetter
    • onlySuffocatingBlocks

      private final boolean onlySuffocatingBlocks
    • cachedBlockGetter

      @Nullable private BlockGetter cachedBlockGetter
    • cachedBlockGetterPos

      private long cachedBlockGetterPos
  • Constructor Details

  • Method Details

    • getChunk

      @Nullable private BlockGetter getChunk(int p_186412_, int p_186413_)
    • computeNext

      protected VoxelShape computeNext()
      Specified by:
      computeNext in class com.google.common.collect.AbstractIterator<VoxelShape>