Class BlockCollisionSpliterator<T>

All Implemented Interfaces:
Iterator<T>

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

    • box

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

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

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

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

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

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

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

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

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

      private final BiFunction<BlockPos.Mutable,VoxelShape,T> resultFunction
      Mappings:
      Namespace Name Mixin selector
      official j Lclq;j:Ljava/util/function/BiFunction;
      intermediary field_44787 Lnet/minecraft/class_5329;field_44787:Ljava/util/function/BiFunction;
      named resultFunction Lnet/minecraft/world/BlockCollisionSpliterator;resultFunction: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
      official <init> Lclq;<init>(Lclw;Lbfj;Leed;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
      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
  • Method Details

    • getChunk

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

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