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 btf
intermediary net/minecraft/class_5329
named net/minecraft/world/BlockCollisionSpliterator
  • Field Details

    • entity

      @Nullable private final Entity entity
      Mappings:
      Namespace Name Mixin selector
      official a Lbtf;a:Laqv;
      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 Lbtf;b:Ldip;
      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 Lbtf;c:Ldiz;
      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 Lbtf;d:Lga;
      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 Lbtf;e:Lfx$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 Lbtf;f:Ldjn;
      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 Lbtf;g:Lbte;
      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 Lbtf;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 Lbtf;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 Entity entity, Box box)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbtf;<init>(Lbte;Laqv;Ldip;)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 Entity entity, Box box, BiPredicate<BlockState,​BlockPos> blockPredicate)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbtf;<init>(Lbte;Laqv;Ldip;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)
      Mappings:
      Namespace Name Mixin selector
      official tryAdvance Lbtf;tryAdvance(Ljava/util/function/Consumer;)Z
      intermediary tryAdvance Lnet/minecraft/class_5329;tryAdvance(Ljava/util/function/Consumer;)Z
      named tryAdvance Lnet/minecraft/world/BlockCollisionSpliterator;tryAdvance(Ljava/util/function/Consumer;)Z
    • offerBlockShape

      boolean offerBlockShape​(Consumer<? super VoxelShape> consumer)
      Mappings:
      Namespace Name Mixin selector
      official a Lbtf;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 BlockView getChunk​(int x, int z)
      Mappings:
      Namespace Name Mixin selector
      official a Lbtf;a(II)Lbsz;
      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 Lbtf;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 Lbtf;a(Ldjn;Ldip;)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 Lbtf;b(Ldjn;Ldip;)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 Lbtf;a(Lcjj;Ldip;)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