Package net.minecraft.world.level
Class ClipContext
java.lang.Object
net.minecraft.world.level.ClipContext
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
static enum
static interface
-
Field Summary
Modifier and TypeFieldDescriptionprivate final ClipContext.Block
private final CollisionContext
private final ClipContext.Fluid
private final Vec3
private final Vec3
-
Constructor Summary
ConstructorDescriptionClipContext
(Vec3 p_45688_, Vec3 p_45689_, ClipContext.Block p_45690_, ClipContext.Fluid p_45691_, Entity p_45692_) ClipContext
(Vec3 p_312751_, Vec3 p_311517_, ClipContext.Block p_311464_, ClipContext.Fluid p_311910_, CollisionContext p_310522_) -
Method Summary
Modifier and TypeMethodDescriptiongetBlockShape
(BlockState p_45695_, BlockGetter p_45696_, BlockPos p_45697_) getFluidShape
(FluidState p_45699_, BlockGetter p_45700_, BlockPos p_45701_) getFrom()
getTo()
-
Field Details
-
from
-
to
-
block
-
fluid
-
collisionContext
-
-
Constructor Details
-
ClipContext
public ClipContext(Vec3 p_45688_, Vec3 p_45689_, ClipContext.Block p_45690_, ClipContext.Fluid p_45691_, Entity p_45692_) -
ClipContext
public ClipContext(Vec3 p_312751_, Vec3 p_311517_, ClipContext.Block p_311464_, ClipContext.Fluid p_311910_, CollisionContext p_310522_)
-
-
Method Details
-
getTo
-
getFrom
-
getBlockShape
-
getFluidShape
-