Package net.minecraft.world
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
-
Nested Class Summary
Nested classes/interfaces inherited from interface java.util.Spliterator
Spliterator.OfDouble, Spliterator.OfInt, Spliterator.OfLong, Spliterator.OfPrimitive<T extends Object,T_CONS extends Object,T_SPLITR extends Spliterator.OfPrimitive<T,T_CONS,T_SPLITR>>
-
Field Summary
Fields Modifier and Type Field Description private CuboidBlockIterator
blockIterator
private BiPredicate<BlockState,BlockPos>
blockPredicate
private Box
box
private VoxelShape
boxShape
private boolean
checkEntity
private ShapeContext
context
private Entity
entity
private BlockPos.Mutable
pos
private CollisionView
world
Fields inherited from interface java.util.Spliterator
CONCURRENT, DISTINCT, IMMUTABLE, NONNULL, ORDERED, SIZED, SORTED, SUBSIZED
-
Constructor Summary
Constructors Constructor Description BlockCollisionSpliterator(CollisionView world, Entity entity, Box box)
BlockCollisionSpliterator(CollisionView world, Entity entity, Box box, BiPredicate<BlockState,BlockPos> blockPredicate)
-
Method Summary
Modifier and Type Method Description private BlockView
getChunk(int x, int z)
static boolean
isInWorldBorder(WorldBorder border, Box box)
private static boolean
method_30130(VoxelShape voxelShape, Box box)
private static boolean
method_30131(VoxelShape voxelShape, Box box)
(package private) boolean
offerBlockShape(Consumer<? super VoxelShape> consumer)
(package private) boolean
offerEntityShape(Consumer<? super VoxelShape> consumer)
boolean
tryAdvance(Consumer<? super VoxelShape> consumer)
Methods inherited from class java.util.Spliterators.AbstractSpliterator
characteristics, estimateSize, trySplit
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Spliterator
forEachRemaining, getComparator, getExactSizeIfKnown, hasCharacteristics
-
Field Details
-
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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
-