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_, @Nullable Entity p_45692_) -
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_, @Nullable @Nullable Entity p_45692_)
-
-
Method Details
-
getTo
-
getFrom
-
getBlockShape
-
getFluidShape
-