Class BlockCollisionSpliterator

java.lang.Object
java.util.Spliterators.AbstractSpliterator<VoxelShape>
net.minecraft.world.BlockCollisionSpliterator
All Implemented Interfaces:
Spliterator<VoxelShape>

public class BlockCollisionSpliterator extends Spliterators.AbstractSpliterator<VoxelShape>
Mappings:
Namespace Name
official bvz
intermediary net/minecraft/class_5329
named net/minecraft/world/BlockCollisionSpliterator
  • Field Details

    • entity

      @Nullable private final @Nullable Entity entity
      Mappings:
      Namespace Name Mixin selector
      official a Lbvz;a:Latf;
      intermediary field_25168 Lnet/minecraft/class_5329;field_25168:Lnet/minecraft/class_1297;
      named entity Lnet/minecraft/world/BlockCollisionSpliterator;entity:Lnet/minecraft/entity/Entity;
    • box

      private final Box box
      Mappings:
      Namespace Name Mixin selector
      official b Lbvz;b:Ldmv;
      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 c Lbvz;c:Ldnf;
      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 d Lbvz;d:Lgj;
      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 e Lbvz;e:Lgg$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 f Lbvz;f:Ldnt;
      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 g Lbvz;g:Lbvy;
      intermediary field_25174 Lnet/minecraft/class_5329;field_25174:Lnet/minecraft/class_1941;
      named world Lnet/minecraft/world/BlockCollisionSpliterator;world:Lnet/minecraft/world/CollisionView;
    • checkEntity

      private boolean checkEntity
      Mappings:
      Namespace Name Mixin selector
      official h Lbvz;h:Z
      intermediary field_25175 Lnet/minecraft/class_5329;field_25175:Z
      named checkEntity Lnet/minecraft/world/BlockCollisionSpliterator;checkEntity:Z
    • blockPredicate

      private final BiPredicate<BlockState,​BlockPos> blockPredicate
      Mappings:
      Namespace Name Mixin selector
      official i Lbvz;i:Ljava/util/function/BiPredicate;
      intermediary field_25669 Lnet/minecraft/class_5329;field_25669:Ljava/util/function/BiPredicate;
      named blockPredicate Lnet/minecraft/world/BlockCollisionSpliterator;blockPredicate:Ljava/util/function/BiPredicate;
  • Constructor Details

    • BlockCollisionSpliterator

      public BlockCollisionSpliterator(CollisionView world, @Nullable @Nullable Entity entity, Box box)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbvz;<init>(Lbvy;Latf;Ldmv;)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, BiPredicate<BlockState,​BlockPos> blockPredicate)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbvz;<init>(Lbvy;Latf;Ldmv;Ljava/util/function/BiPredicate;)V
      intermediary <init> Lnet/minecraft/class_5329;<init>(Lnet/minecraft/class_1941;Lnet/minecraft/class_1297;Lnet/minecraft/class_238;Ljava/util/function/BiPredicate;)V
      named <init> Lnet/minecraft/world/BlockCollisionSpliterator;<init>(Lnet/minecraft/world/CollisionView;Lnet/minecraft/entity/Entity;Lnet/minecraft/util/math/Box;Ljava/util/function/BiPredicate;)V
  • Method Details

    • tryAdvance

      public boolean tryAdvance(Consumer<? super VoxelShape> consumer)
    • offerBlockShape

      boolean offerBlockShape(Consumer<? super VoxelShape> consumer)
      Mappings:
      Namespace Name Mixin selector
      official a Lbvz;a(Ljava/util/function/Consumer;)Z
      intermediary method_29285 Lnet/minecraft/class_5329;method_29285(Ljava/util/function/Consumer;)Z
      named offerBlockShape Lnet/minecraft/world/BlockCollisionSpliterator;offerBlockShape(Ljava/util/function/Consumer;)Z
    • getChunk

      @Nullable private @Nullable BlockView getChunk(int x, int z)
      Mappings:
      Namespace Name Mixin selector
      official a Lbvz;a(II)Lbvt;
      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;
    • offerEntityShape

      boolean offerEntityShape(Consumer<? super VoxelShape> consumer)
      Mappings:
      Namespace Name Mixin selector
      official b Lbvz;b(Ljava/util/function/Consumer;)Z
      intermediary method_29286 Lnet/minecraft/class_5329;method_29286(Ljava/util/function/Consumer;)Z
      named offerEntityShape Lnet/minecraft/world/BlockCollisionSpliterator;offerEntityShape(Ljava/util/function/Consumer;)Z
    • method_30130

      private static boolean method_30130(VoxelShape voxelShape, Box box)
      Mappings:
      Namespace Name Mixin selector
      official a Lbvz;a(Ldnt;Ldmv;)Z
      intermediary method_30130 Lnet/minecraft/class_5329;method_30130(Lnet/minecraft/class_265;Lnet/minecraft/class_238;)Z
      named method_30130 Lnet/minecraft/world/BlockCollisionSpliterator;method_30130(Lnet/minecraft/util/shape/VoxelShape;Lnet/minecraft/util/math/Box;)Z
    • method_30131

      private static boolean method_30131(VoxelShape voxelShape, Box box)
      Mappings:
      Namespace Name Mixin selector
      official b Lbvz;b(Ldnt;Ldmv;)Z
      intermediary method_30131 Lnet/minecraft/class_5329;method_30131(Lnet/minecraft/class_265;Lnet/minecraft/class_238;)Z
      named method_30131 Lnet/minecraft/world/BlockCollisionSpliterator;method_30131(Lnet/minecraft/util/shape/VoxelShape;Lnet/minecraft/util/math/Box;)Z
    • isInWorldBorder

      public static boolean isInWorldBorder(WorldBorder border, Box box)
      Mappings:
      Namespace Name Mixin selector
      official a Lbvz;a(Lcmi;Ldmv;)Z
      intermediary method_29284 Lnet/minecraft/class_5329;method_29284(Lnet/minecraft/class_2784;Lnet/minecraft/class_238;)Z
      named isInWorldBorder Lnet/minecraft/world/BlockCollisionSpliterator;isInWorldBorder(Lnet/minecraft/world/border/WorldBorder;Lnet/minecraft/util/math/Box;)Z