net.minecraft.world.entity.projectile

public final class ProjectileUtil

cro
net.minecraft.world.entity.projectile.ProjectileUtil
net.minecraft.class_1675
net.minecraft.entity.projectile.ProjectileUtil

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(bwa arg0, Predicate<bwa> 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(bwa arg0, Predicate<bwa> arg1, dhy$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(bwa arg0, Predicate<bwa> 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(fdw arg0, bwa arg1, Predicate<bwa> arg2, fdw arg3, dip arg4, float arg5, dhy$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(bwa arg0, fdw arg1, fdw arg2, fdr arg3, Predicate<bwa> 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(dip arg0, bwa arg1, fdw arg2, fdw arg3, fdr arg4, Predicate<bwa> 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(dip arg0, bwa arg1, fdw arg2, fdw arg3, fdr arg4, Predicate<bwa> 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(bwa arg0, float arg1)
rotateTowardsMovement(Entity arg0, float arg1)
method_7484(class_1297 arg0, float arg1)
setRotationFromVelocity(Entity entity, float delta)
public static InteractionHand
a(bwz arg0, cyo arg1)
getWeaponHoldingHand(LivingEntity arg0, Item arg1)
method_18812(class_1309 arg0, class_1792 arg1)
getHandPossiblyHolding(LivingEntity entity, Item item)
public static AbstractArrow
a(bwz arg0, cys arg1, float arg2, cys 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)