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 official cst
intermediary net/minecraft/class_5329
named net/minecraft/world/BlockCollisionSpliterator
-
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 official a
Lcst;a:Lelo;
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 b
Lcst;b:Lely;
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 c
Lcst;c:Lhz;
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 d
Lcst;d:Lhx$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 e
Lcst;e:Lemm;
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 f
Lcst;f:Lcsz;
intermediary field_25174
Lnet/minecraft/class_5329;field_25174:Lnet/minecraft/class_1941;
named world
Lnet/minecraft/world/BlockCollisionSpliterator;world:Lnet/minecraft/world/CollisionView;
-
forEntity
private final boolean forEntity- Mappings:
Namespace Name Mixin selector official g
Lcst;g:Z
intermediary field_35590
Lnet/minecraft/class_5329;field_35590:Z
named forEntity
Lnet/minecraft/world/BlockCollisionSpliterator;forEntity:Z
-
chunk
- Mappings:
Namespace Name Mixin selector official h
Lcst;h:Lcsv;
intermediary field_35108
Lnet/minecraft/class_5329;field_35108:Lnet/minecraft/class_1922;
named chunk
Lnet/minecraft/world/BlockCollisionSpliterator;chunk:Lnet/minecraft/world/BlockView;
-
chunkPos
private long chunkPos- Mappings:
Namespace Name Mixin selector official i
Lcst;i:J
intermediary field_35109
Lnet/minecraft/class_5329;field_35109:J
named chunkPos
Lnet/minecraft/world/BlockCollisionSpliterator;chunkPos:J
-
resultFunction
- Mappings:
Namespace Name Mixin selector official j
Lcst;j:Ljava/util/function/BiFunction;
intermediary field_44787
Lnet/minecraft/class_5329;field_44787:Ljava/util/function/BiFunction;
named resultFunction
Lnet/minecraft/world/BlockCollisionSpliterator;resultFunction: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 official <init>
Lcst;<init>(Lcsz;Lblv;Lelo;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
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
-
-
Method Details
-
getChunk
- Mappings:
Namespace Name Mixin selector official a
Lcst;a(II)Lcsv;
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;
-
computeNext
- Specified by:
computeNext
in classAbstractIterator<T>
-