net.minecraft.world.entity.projectile

public final class ProjectileUtil

cgb
net.minecraft.world.entity.projectile.ProjectileUtil
net.minecraft.class_1675
net.minecraft.entity.projectile.ProjectileUtil
net.minecraft.src.C_1168_
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
f_303081_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static HitResult
a(blv arg0, Predicate<blv> arg1)
getHitResultOnMoveVector(Entity arg0, Predicate<Entity> arg1)
method_49997(class_1297 arg0, Predicate<class_1297> arg1)
getCollision(Entity entity, Predicate<Entity> predicate)
m_278158_(C_507_ p_278228_, Predicate<C_507_> p_278315_)
public static HitResult
a(blv arg0, Predicate<blv> arg1, csy$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)
m_307639_(C_507_ p_311718_, Predicate<C_507_> p_311003_, C_1565_$C_1566_ p_312093_)
public static HitResult
a(blv arg0, Predicate<blv> 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)
m_278180_(C_507_ p_278281_, Predicate<C_507_> p_278306_, double p_278293_)
private static HitResult
a(elt arg0, blv arg1, Predicate<blv> arg2, elt arg3, ctp arg4, float arg5, csy$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)
m_278167_(C_3046_ p_278237_, C_507_ p_278320_, Predicate<C_507_> p_278257_, C_3046_ p_278342_, C_1596_ p_278321_, float p_310295_, C_1565_$C_1566_ p_310049_)
public static EntityHitResult
a(blv arg0, elt arg1, elt arg2, elo arg3, Predicate<blv> 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)
m_37287_(C_507_ p_37288_, C_3046_ p_37289_, C_3046_ p_37290_, C_3040_ p_37291_, Predicate<C_507_> p_37292_, double p_37293_)
public static EntityHitResult
a(ctp arg0, blv arg1, elt arg2, elt arg3, elo arg4, Predicate<blv> 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)
m_37304_(C_1596_ p_37305_, C_507_ p_37306_, C_3046_ p_37307_, C_3046_ p_37308_, C_3040_ p_37309_, Predicate<C_507_> p_37310_)
public static EntityHitResult
a(ctp arg0, blv arg1, elt arg2, elt arg3, elo arg4, Predicate<blv> 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)
m_150175_(C_1596_ p_150176_, C_507_ p_150177_, C_3046_ p_150178_, C_3046_ p_150179_, C_3040_ p_150180_, Predicate<C_507_> p_150181_, float p_150182_)
public static void
a(blv arg0, float arg1)
rotateTowardsMovement(Entity arg0, float arg1)
method_7484(class_1297 arg0, float arg1)
setRotationFromVelocity(Entity entity, float delta)
m_37284_(C_507_ p_37285_, float p_37286_)
public static InteractionHand
a(bml arg0, cmt arg1)
getWeaponHoldingHand(LivingEntity arg0, Item arg1)
method_18812(class_1309 arg0, class_1792 arg1)
getHandPossiblyHolding(LivingEntity entity, Item item)
m_37297_(C_524_ p_37298_, C_1381_ p_37299_)
public static AbstractArrow
a(bml arg0, cmy arg1, float arg2)
getMobArrow(LivingEntity arg0, ItemStack arg1, float arg2)
method_18813(class_1309 arg0, class_1799 arg1, float arg2)
createArrowProjectile(LivingEntity entity, ItemStack stack, float damageModifier)
m_37300_(C_524_ p_37301_, C_1391_ p_37302_, float p_37303_)