net.minecraft.world.entity.projectile

public final class ProjectileUtil

cqs
net.minecraft.world.entity.projectile.ProjectileUtil
net.minecraft.class_1675
net.minecraft.entity.projectile.ProjectileUtil
net.minecraft.world.entity.projectile.ProjectileHelper

Field summary

Modifier and TypeField
private static final float
a
DEFAULT_ENTITY_HIT_RESULT_MARGIN
field_46654
DEFAULT_MARGIN

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static HitResult
a(bvk arg0, Predicate<bvk> arg1)
getHitResultOnMoveVector(Entity arg0, Predicate<Entity> arg1)
method_49997(class_1297 arg0, Predicate<class_1297> arg1)
getCollision(Entity entity, Predicate<Entity> predicate)
public static HitResult
a(bvk arg0, Predicate<bvk> arg1, dgq$a arg2)
getHitResultOnMoveVector(Entity arg0, Predicate<Entity> arg1, ClipContext$Block arg2)
method_55054(class_1297 arg0, Predicate<class_1297> arg1, class_3959$class_3960 arg2)
getCollision(Entity entity, Predicate<Entity> predicate, RaycastContext$ShapeType raycastShapeType)
public static HitResult
a(bvk arg0, Predicate<bvk> arg1, double arg2)
getHitResultOnViewVector(Entity arg0, Predicate<Entity> arg1, double arg2)
method_49998(class_1297 arg0, Predicate<class_1297> arg1, double arg2)
getCollision(Entity entity, Predicate<Entity> predicate, double range)
private static HitResult
a(fby arg0, bvk arg1, Predicate<bvk> arg2, fby arg3, dhi arg4, float arg5, dgq$a arg6)
getHitResult(Vec3 arg0, Entity arg1, Predicate<Entity> arg2, Vec3 arg3, Level arg4, float arg5, ClipContext$Block arg6)
method_18074(class_243 arg0, class_1297 arg1, Predicate<class_1297> arg2, class_243 arg3, class_1937 arg4, float arg5, class_3959$class_3960 arg6)
getCollision(Vec3d pos, Entity entity, Predicate<Entity> predicate, Vec3d velocity, World world, float margin, RaycastContext$ShapeType raycastShapeType)
public static EntityHitResult
a(bvk arg0, fby arg1, fby arg2, fbt arg3, Predicate<bvk> arg4, double arg5)
getEntityHitResult(Entity arg0, Vec3 arg1, Vec3 arg2, AABB arg3, Predicate<Entity> arg4, double arg5)
method_18075(class_1297 arg0, class_243 arg1, class_243 arg2, class_238 arg3, Predicate<class_1297> arg4, double arg5)
raycast(Entity entity, Vec3d min, Vec3d max, Box box, Predicate<Entity> predicate, double maxDistance)
public static EntityHitResult
a(dhi arg0, bvk arg1, fby arg2, fby arg3, fbt arg4, Predicate<bvk> arg5)
getEntityHitResult(Level arg0, Entity arg1, Vec3 arg2, Vec3 arg3, AABB arg4, Predicate<Entity> arg5)
method_18077(class_1937 arg0, class_1297 arg1, class_243 arg2, class_243 arg3, class_238 arg4, Predicate<class_1297> arg5)
getEntityCollision(World world, Entity entity, Vec3d min, Vec3d max, Box box, Predicate<Entity> predicate)
public static EntityHitResult
a(dhi arg0, bvk arg1, fby arg2, fby arg3, fbt arg4, Predicate<bvk> arg5, float arg6)
getEntityHitResult(Level arg0, Entity arg1, Vec3 arg2, Vec3 arg3, AABB arg4, Predicate<Entity> arg5, float arg6)
method_37226(class_1937 arg0, class_1297 arg1, class_243 arg2, class_243 arg3, class_238 arg4, Predicate<class_1297> arg5, float arg6)
getEntityCollision(World world, Entity entity, Vec3d min, Vec3d max, Box box, Predicate<Entity> predicate, float margin)
public static void
a(bvk arg0, float arg1)
rotateTowardsMovement(Entity arg0, float arg1)
method_7484(class_1297 arg0, float arg1)
setRotationFromVelocity(Entity entity, float delta)
public static InteractionHand
a(bwg arg0, cxl arg1)
getWeaponHoldingHand(LivingEntity arg0, Item arg1)
method_18812(class_1309 arg0, class_1792 arg1)
getHandPossiblyHolding(LivingEntity entity, Item item)
public static AbstractArrow
a(bwg arg0, cxp arg1, float arg2, cxp arg3)
getMobArrow(LivingEntity arg0, ItemStack arg1, float arg2, ItemStack arg3)
method_18813(class_1309 arg0, class_1799 arg1, float arg2, class_1799 arg3)
createArrowProjectile(LivingEntity entity, ItemStack stack, float damageModifier, ItemStack bow)