Class BlockCollisionSpliterator<T>

All Implemented Interfaces:
Iterator<T>

public class BlockCollisionSpliterator<T> extends AbstractIterator<T>
Mappings:
Namespace Name
named net/minecraft/world/BlockCollisionSpliterator
intermediary net/minecraft/class_5329
official dbk
  • Field Details

    • box

      private final Box box
      Mappings:
      Namespace Name Mixin selector
      named box Lnet/minecraft/world/BlockCollisionSpliterator;box:Lnet/minecraft/util/math/Box;
      intermediary field_25169 Lnet/minecraft/class_5329;field_25169:Lnet/minecraft/class_238;
      official a Ldbk;a:Lewc;
    • context

      private final ShapeContext context
      Mappings:
      Namespace Name Mixin selector
      named context Lnet/minecraft/world/BlockCollisionSpliterator;context:Lnet/minecraft/block/ShapeContext;
      intermediary field_25170 Lnet/minecraft/class_5329;field_25170:Lnet/minecraft/class_3726;
      official b Ldbk;b:Lewm;
    • blockIterator

      private final CuboidBlockIterator blockIterator
      Mappings:
      Namespace Name Mixin selector
      named blockIterator Lnet/minecraft/world/BlockCollisionSpliterator;blockIterator:Lnet/minecraft/util/CuboidBlockIterator;
      intermediary field_25171 Lnet/minecraft/class_5329;field_25171:Lnet/minecraft/class_3980;
      official c Ldbk;c:Ljc;
    • pos

      private final BlockPos.Mutable pos
      Mappings:
      Namespace Name Mixin selector
      named pos Lnet/minecraft/world/BlockCollisionSpliterator;pos:Lnet/minecraft/util/math/BlockPos$Mutable;
      intermediary field_25172 Lnet/minecraft/class_5329;field_25172:Lnet/minecraft/class_2338$class_2339;
      official d Ldbk;d:Lja$a;
    • boxShape

      private final VoxelShape boxShape
      Mappings:
      Namespace Name Mixin selector
      named boxShape Lnet/minecraft/world/BlockCollisionSpliterator;boxShape:Lnet/minecraft/util/shape/VoxelShape;
      intermediary field_25173 Lnet/minecraft/class_5329;field_25173:Lnet/minecraft/class_265;
      official e Ldbk;e:Lexa;
    • world

      private final CollisionView world
      Mappings:
      Namespace Name Mixin selector
      named world Lnet/minecraft/world/BlockCollisionSpliterator;world:Lnet/minecraft/world/CollisionView;
      intermediary field_25174 Lnet/minecraft/class_5329;field_25174:Lnet/minecraft/class_1941;
      official f Ldbk;f:Ldbq;
    • forEntity

      private final boolean forEntity
      Mappings:
      Namespace Name Mixin selector
      named forEntity Lnet/minecraft/world/BlockCollisionSpliterator;forEntity:Z
      intermediary field_35590 Lnet/minecraft/class_5329;field_35590:Z
      official g Ldbk;g:Z
    • chunk

      @Nullable private @Nullable BlockView chunk
      Mappings:
      Namespace Name Mixin selector
      named chunk Lnet/minecraft/world/BlockCollisionSpliterator;chunk:Lnet/minecraft/world/BlockView;
      intermediary field_35108 Lnet/minecraft/class_5329;field_35108:Lnet/minecraft/class_1922;
      official h Ldbk;h:Ldbm;
    • chunkPos

      private long chunkPos
      Mappings:
      Namespace Name Mixin selector
      named chunkPos Lnet/minecraft/world/BlockCollisionSpliterator;chunkPos:J
      intermediary field_35109 Lnet/minecraft/class_5329;field_35109:J
      official i Ldbk;i:J
    • resultFunction

      private final BiFunction<BlockPos.Mutable,VoxelShape,T> resultFunction
      Mappings:
      Namespace Name Mixin selector
      named resultFunction Lnet/minecraft/world/BlockCollisionSpliterator;resultFunction:Ljava/util/function/BiFunction;
      intermediary field_44787 Lnet/minecraft/class_5329;field_44787:Ljava/util/function/BiFunction;
      official j Ldbk;j:Ljava/util/function/BiFunction;
  • Constructor Details

    • BlockCollisionSpliterator

      public BlockCollisionSpliterator(CollisionView world, @Nullable @Nullable Entity entity, Box box, boolean forEntity, BiFunction<BlockPos.Mutable,VoxelShape,T> resultFunction)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/world/BlockCollisionSpliterator;<init>(Lnet/minecraft/world/CollisionView;Lnet/minecraft/entity/Entity;Lnet/minecraft/util/math/Box;ZLjava/util/function/BiFunction;)V
      intermediary <init> Lnet/minecraft/class_5329;<init>(Lnet/minecraft/class_1941;Lnet/minecraft/class_1297;Lnet/minecraft/class_238;ZLjava/util/function/BiFunction;)V
      official <init> Ldbk;<init>(Ldbq;Lbsh;Lewc;ZLjava/util/function/BiFunction;)V
  • Method Details

    • getChunk

      @Nullable private @Nullable BlockView getChunk(int x, int z)
      Mappings:
      Namespace Name Mixin selector
      named getChunk Lnet/minecraft/world/BlockCollisionSpliterator;getChunk(II)Lnet/minecraft/world/BlockView;
      intermediary method_29283 Lnet/minecraft/class_5329;method_29283(II)Lnet/minecraft/class_1922;
      official a Ldbk;a(II)Ldbm;
    • computeNext

      protected T computeNext()
      Specified by:
      computeNext in class AbstractIterator<T>