Package net.minecraft.world
Class BlockCollisionSpliterator
java.lang.Object
java.util.Spliterators.AbstractSpliterator<VoxelShape>
net.minecraft.world.BlockCollisionSpliterator
- All Implemented Interfaces:
Spliterator<VoxelShape>
- Mappings:
Namespace Name official bvz
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
Modifier and TypeFieldDescriptionprivate CuboidBlockIterator
private BiPredicate<BlockState,BlockPos>
private Box
private VoxelShape
private boolean
private ShapeContext
private BlockPos.Mutable
private CollisionView
Fields inherited from interface java.util.Spliterator
CONCURRENT, DISTINCT, IMMUTABLE, NONNULL, ORDERED, SIZED, SORTED, SUBSIZED
-
Constructor Summary
ConstructorDescriptionBlockCollisionSpliterator(CollisionView world, @Nullable Entity entity, Box box)
BlockCollisionSpliterator(CollisionView world, @Nullable Entity entity, Box box, BiPredicate<BlockState,BlockPos> blockPredicate)
-
Method Summary
Modifier and TypeMethodDescriptiongetChunk(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
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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
-
offerBlockShape
- 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
- 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
- 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
- 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
- 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
- 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
-