Package net.minecraft.world
Class BlockCollisionSpliterator<T>
java.lang.Object
com.google.common.collect.UnmodifiableIterator<T>
com.google.common.collect.AbstractIterator<T>
net.minecraft.world.BlockCollisionSpliterator<T>
- All Implemented Interfaces:
Iterator<T>
- Mappings:
Namespace Name named net/minecraft/world/BlockCollisionSpliterator
intermediary net/minecraft/class_5329
official dbk
-
Field Summary
Modifier and TypeFieldDescriptionprivate final CuboidBlockIterator
private final Box
private final VoxelShape
private long
private final ShapeContext
private final boolean
private final BlockPos.Mutable
private final BiFunction
<BlockPos.Mutable, VoxelShape, T> private final CollisionView
-
Constructor Summary
ConstructorDescriptionBlockCollisionSpliterator
(CollisionView world, @Nullable Entity entity, Box box, boolean forEntity, BiFunction<BlockPos.Mutable, VoxelShape, T> resultFunction) -
Method Summary
Methods inherited from class com.google.common.collect.AbstractIterator
endOfData, hasNext, next, peek
Methods inherited from class com.google.common.collect.UnmodifiableIterator
remove
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Iterator
forEachRemaining
-
Field Details
-
box
- Mappings:
Namespace Name Mixin selector named box
Lnet/minecraft/world/BlockCollisionSpliterator;box:Lnet/minecraft/util/math/Box;
intermediary field_25169
Lnet/minecraft/class_5329;field_25169:Lnet/minecraft/class_238;
official a
Ldbk;a:Lewc;
-
context
- Mappings:
Namespace Name Mixin selector named context
Lnet/minecraft/world/BlockCollisionSpliterator;context:Lnet/minecraft/block/ShapeContext;
intermediary field_25170
Lnet/minecraft/class_5329;field_25170:Lnet/minecraft/class_3726;
official b
Ldbk;b:Lewm;
-
blockIterator
- Mappings:
Namespace Name Mixin selector named blockIterator
Lnet/minecraft/world/BlockCollisionSpliterator;blockIterator:Lnet/minecraft/util/CuboidBlockIterator;
intermediary field_25171
Lnet/minecraft/class_5329;field_25171:Lnet/minecraft/class_3980;
official c
Ldbk;c:Ljc;
-
pos
- Mappings:
Namespace Name Mixin selector named pos
Lnet/minecraft/world/BlockCollisionSpliterator;pos:Lnet/minecraft/util/math/BlockPos$Mutable;
intermediary field_25172
Lnet/minecraft/class_5329;field_25172:Lnet/minecraft/class_2338$class_2339;
official d
Ldbk;d:Lja$a;
-
boxShape
- Mappings:
Namespace Name Mixin selector named boxShape
Lnet/minecraft/world/BlockCollisionSpliterator;boxShape:Lnet/minecraft/util/shape/VoxelShape;
intermediary field_25173
Lnet/minecraft/class_5329;field_25173:Lnet/minecraft/class_265;
official e
Ldbk;e:Lexa;
-
world
- Mappings:
Namespace Name Mixin selector named world
Lnet/minecraft/world/BlockCollisionSpliterator;world:Lnet/minecraft/world/CollisionView;
intermediary field_25174
Lnet/minecraft/class_5329;field_25174:Lnet/minecraft/class_1941;
official f
Ldbk;f:Ldbq;
-
forEntity
private final boolean forEntity- Mappings:
Namespace Name Mixin selector named forEntity
Lnet/minecraft/world/BlockCollisionSpliterator;forEntity:Z
intermediary field_35590
Lnet/minecraft/class_5329;field_35590:Z
official g
Ldbk;g:Z
-
chunk
- Mappings:
Namespace Name Mixin selector named chunk
Lnet/minecraft/world/BlockCollisionSpliterator;chunk:Lnet/minecraft/world/BlockView;
intermediary field_35108
Lnet/minecraft/class_5329;field_35108:Lnet/minecraft/class_1922;
official h
Ldbk;h:Ldbm;
-
chunkPos
private long chunkPos- Mappings:
Namespace Name Mixin selector named chunkPos
Lnet/minecraft/world/BlockCollisionSpliterator;chunkPos:J
intermediary field_35109
Lnet/minecraft/class_5329;field_35109:J
official i
Ldbk;i:J
-
resultFunction
- Mappings:
Namespace Name Mixin selector named resultFunction
Lnet/minecraft/world/BlockCollisionSpliterator;resultFunction:Ljava/util/function/BiFunction;
intermediary field_44787
Lnet/minecraft/class_5329;field_44787:Ljava/util/function/BiFunction;
official j
Ldbk;j:Ljava/util/function/BiFunction;
-
-
Constructor Details
-
BlockCollisionSpliterator
public BlockCollisionSpliterator(CollisionView world, @Nullable @Nullable Entity entity, Box box, boolean forEntity, BiFunction<BlockPos.Mutable, VoxelShape, T> resultFunction) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/world/BlockCollisionSpliterator;<init>(Lnet/minecraft/world/CollisionView;Lnet/minecraft/entity/Entity;Lnet/minecraft/util/math/Box;ZLjava/util/function/BiFunction;)V
intermediary <init>
Lnet/minecraft/class_5329;<init>(Lnet/minecraft/class_1941;Lnet/minecraft/class_1297;Lnet/minecraft/class_238;ZLjava/util/function/BiFunction;)V
official <init>
Ldbk;<init>(Ldbq;Lbsh;Lewc;ZLjava/util/function/BiFunction;)V
-
-
Method Details
-
getChunk
- Mappings:
Namespace Name Mixin selector named getChunk
Lnet/minecraft/world/BlockCollisionSpliterator;getChunk(II)Lnet/minecraft/world/BlockView;
intermediary method_29283
Lnet/minecraft/class_5329;method_29283(II)Lnet/minecraft/class_1922;
official a
Ldbk;a(II)Ldbm;
-
computeNext
- Specified by:
computeNext
in classAbstractIterator<T>
-