Class BlockCollisionSpliterator

All Implemented Interfaces:
Iterator<VoxelShape>

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

    • box

      private final Box box
      Mappings:
      Namespace Name Mixin selector
      official a Lcgb;a:Ldwl;
      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 Lcgb;b:Ldwv;
      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 Lcgb;c:Lgw;
      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 Lcgb;d:Lgt$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 Lcgb;e:Ldxj;
      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 Lcgb;f:Lcgh;
      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 Lcgb;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 Lcgb;h:Lcgd;
      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 Lcgb;i:J
      intermediary field_35109 Lnet/minecraft/class_5329;field_35109:J
      named chunkPos Lnet/minecraft/world/BlockCollisionSpliterator;chunkPos:J
  • Constructor Details

    • BlockCollisionSpliterator

      public BlockCollisionSpliterator(CollisionView world, @Nullable @Nullable Entity entity, Box box)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcgb;<init>(Lcgh;Lbbn;Ldwl;)V
      intermediary <init> Lnet/minecraft/class_5329;<init>(Lnet/minecraft/class_1941;Lnet/minecraft/class_1297;Lnet/minecraft/class_238;)V
      named <init> Lnet/minecraft/world/BlockCollisionSpliterator;<init>(Lnet/minecraft/world/CollisionView;Lnet/minecraft/entity/Entity;Lnet/minecraft/util/math/Box;)V
    • BlockCollisionSpliterator

      public BlockCollisionSpliterator(CollisionView world, @Nullable @Nullable Entity entity, Box box, boolean forEntity)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcgb;<init>(Lcgh;Lbbn;Ldwl;Z)V
      intermediary <init> Lnet/minecraft/class_5329;<init>(Lnet/minecraft/class_1941;Lnet/minecraft/class_1297;Lnet/minecraft/class_238;Z)V
      named <init> Lnet/minecraft/world/BlockCollisionSpliterator;<init>(Lnet/minecraft/world/CollisionView;Lnet/minecraft/entity/Entity;Lnet/minecraft/util/math/Box;Z)V
  • Method Details

    • getChunk

      @Nullable private @Nullable BlockView getChunk(int x, int z)
      Mappings:
      Namespace Name Mixin selector
      official a Lcgb;a(II)Lcgd;
      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 VoxelShape computeNext()
      Specified by:
      computeNext in class AbstractIterator<VoxelShape>
      Mappings:
      Namespace Name Mixin selector
      official a Lcgb;a()Ldxj;
      intermediary method_29285 Lnet/minecraft/class_5329;method_29285()Lnet/minecraft/class_265;
      named computeNext Lnet/minecraft/world/BlockCollisionSpliterator;computeNext()Lnet/minecraft/util/shape/VoxelShape;