net.minecraft.world.level

public class CollisionSpliterator

extends Spliterators$AbstractSpliterator<VoxelShape>

bwa
net.minecraft.world.level.CollisionSpliterator
net.minecraft.class_5329
net.minecraft.world.BlockCollisionSpliterator
net.minecraft.src.C_1570_
net.minecraft.world.level.VoxelShapeSpliterator

Field summary

Modifier and TypeField
private final Entity
a
source
field_25168
entity
f_45788_
private final AABB
b
box
field_25169
box
f_45789_
private final CollisionContext
c
context
field_25170
context
f_45790_
private final Cursor3D
d
cursor
field_25171
blockIterator
f_45791_
private final BlockPos$MutableBlockPos
e
pos
field_25172
pos
f_45792_
private final VoxelShape
f
entityShape
field_25173
boxShape
f_45793_
private final CollisionGetter
g
collisionGetter
field_25174
world
f_45794_
private boolean
h
needsBorderCheck
field_25175
checkWorldBorder
f_45795_
private final BiPredicate<BlockState, BlockPos>
i
predicate
field_25669
blockPredicate
f_45796_

Constructor summary

ModifierConstructor
public (CollisionGetter world, Entity entity, AABB box)
public (CollisionGetter world, Entity entity, AABB box, BiPredicate<BlockState, BlockPos> blockPredicate)

Method summary

Modifier and TypeMethod
public boolean
tryAdvance(Consumer<? super dnt> arg0)
tryAdvance(Consumer<? super VoxelShape> arg0)
tryAdvance(Consumer<? super class_265> arg0)
tryAdvance(Consumer<? super VoxelShape> action)
tryAdvance(Consumer<? super C_3072_> arg0)
boolean
a(Consumer<? super dnt> arg0)
collisionCheck(Consumer<? super VoxelShape> arg0)
method_29285(Consumer<? super class_265> arg0)
offerBlockShape(Consumer<? super VoxelShape> action)
m_45818_(Consumer<? super C_3072_> arg0)
private BlockGetter
a(int arg0, int arg1)
getChunk(int arg0, int arg1)
method_29283(int arg0, int arg1)
getChunk(int x, int z)
m_45806_(int p_45808_, int arg1)
boolean
b(Consumer<? super dnt> arg0)
worldBorderCheck(Consumer<? super VoxelShape> arg0)
method_29286(Consumer<? super class_265> arg0)
offerWorldBorderShape(Consumer<? super VoxelShape> action)
m_45823_(Consumer<? super C_3072_> arg0)
private static boolean
a(dnt arg0, dmv arg1)
isCloseToBorder(VoxelShape arg0, AABB arg1)
method_30130(class_265 arg0, class_238 arg1)
collidesSlightlyLarger(VoxelShape worldBorderShape, Box entityBox)
m_45815_(C_3072_ p_45816_, C_3040_ p_45817_)
private static boolean
b(dnt arg0, dmv arg1)
isOutsideBorder(VoxelShape arg0, AABB arg1)
method_30131(class_265 arg0, class_238 arg1)
collidesSlightlySmaller(VoxelShape worldBorderShape, Box entityBox)
m_45820_(C_3072_ p_45821_, C_3040_ p_45822_)
public static boolean
a(cmj arg0, dmv arg1)
isBoxFullyWithinWorldBorder(WorldBorder arg0, AABB arg1)
method_29284(class_2784 arg0, class_238 arg1)
isIn(WorldBorder border, Box box)
m_45812_(C_2110_ p_45813_, C_3040_ p_45814_)