Package net.minecraft.world.level
Class ClipContext
java.lang.Object
net.minecraft.world.level.ClipContext
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
static enum
static interface
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ClipContext.Block
private final CollisionContext
private final ClipContext.Fluid
private final Vec3
private final Vec3
-
Constructor Summary
ConstructorsConstructorDescriptionClipContext
(Vec3 pFrom, Vec3 pTo, ClipContext.Block pBlock, ClipContext.Fluid pFluid, Entity pEntity) ClipContext
(Vec3 pFrom, Vec3 pTo, ClipContext.Block pBlock, ClipContext.Fluid pFluid, CollisionContext pCollisionContext) -
Method Summary
Modifier and TypeMethodDescriptiongetBlockShape
(BlockState pBlockState, BlockGetter pLevel, BlockPos pPos) getFluidShape
(FluidState pState, BlockGetter pLevel, BlockPos pPos) getFrom()
getTo()
-
Field Details
-
from
-
to
-
block
-
fluid
-
collisionContext
-
-
Constructor Details
-
ClipContext
public ClipContext(Vec3 pFrom, Vec3 pTo, ClipContext.Block pBlock, ClipContext.Fluid pFluid, Entity pEntity) -
ClipContext
public ClipContext(Vec3 pFrom, Vec3 pTo, ClipContext.Block pBlock, ClipContext.Fluid pFluid, CollisionContext pCollisionContext)
-
-
Method Details
-
getTo
-
getFrom
-
getBlockShape
-
getFluidShape
-