| Package | Description |
|---|---|
| net.minecraft.item | |
| net.minecraft.util.math |
| Modifier and Type | Method and Description |
|---|---|
protected static RayTraceResult |
Item.rayTrace(World worldIn,
PlayerEntity player,
RayTraceContext.FluidMode fluidMode) |
| Modifier and Type | Field and Description |
|---|---|
private RayTraceContext.FluidMode |
RayTraceContext.fluidMode |
| Modifier and Type | Method and Description |
|---|---|
static RayTraceContext.FluidMode |
RayTraceContext.FluidMode.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RayTraceContext.FluidMode[] |
RayTraceContext.FluidMode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Constructor and Description |
|---|
RayTraceContext(Vec3d startVecIn,
Vec3d endVecIn,
RayTraceContext.BlockMode blockModeIn,
RayTraceContext.FluidMode fluidModeIn,
Entity entityIn) |