Package | Description |
---|---|
net.minecraft.entity.projectile | |
net.minecraft.util.math |
Modifier and Type | Method and Description |
---|---|
static RayTraceResult |
ProjectileHelper.rayTrace(Entity projectile,
AxisAlignedBB boundingBox,
java.util.function.Predicate<Entity> filter,
RayTraceContext.BlockMode blockModeIn,
boolean checkEntityCollision) |
static RayTraceResult |
ProjectileHelper.rayTrace(Entity projectile,
boolean checkEntityCollision,
boolean includeShooter,
Entity shooter,
RayTraceContext.BlockMode blockModeIn) |
private static RayTraceResult |
ProjectileHelper.rayTrace(Entity projectile,
boolean checkEntityCollision,
boolean includeShooter,
Entity shooter,
RayTraceContext.BlockMode blockModeIn,
boolean p_221268_5_,
java.util.function.Predicate<Entity> filter,
AxisAlignedBB boundingBox) |
Modifier and Type | Field and Description |
---|---|
private RayTraceContext.BlockMode |
RayTraceContext.blockMode |
Modifier and Type | Method and Description |
---|---|
static RayTraceContext.BlockMode |
RayTraceContext.BlockMode.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RayTraceContext.BlockMode[] |
RayTraceContext.BlockMode.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) |