Class ProjectileUtil
java.lang.Object
net.minecraft.world.entity.projectile.ProjectileUtil
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic EntityHitResultgetEntityHitResult(Entity p_37288_, Vec3 p_37289_, Vec3 p_37290_, AABB p_37291_, Predicate<Entity> p_37292_, double p_37293_) static EntityHitResultgetEntityHitResult(Level p_37305_, Entity p_37306_, Vec3 p_37307_, Vec3 p_37308_, AABB p_37309_, Predicate<Entity> p_37310_) static EntityHitResultgetEntityHitResult(Level p_150176_, Entity p_150177_, Vec3 p_150178_, Vec3 p_150179_, AABB p_150180_, Predicate<Entity> p_150181_, float p_150182_) private static HitResultgetHitResult(Vec3 p_278237_, Entity p_278320_, Predicate<Entity> p_278257_, Vec3 p_278342_, Level p_278321_) static HitResultgetHitResultOnMoveVector(Entity p_278228_, Predicate<Entity> p_278315_) static HitResultgetHitResultOnViewVector(Entity p_278281_, Predicate<Entity> p_278306_, double p_278293_) static AbstractArrowgetMobArrow(LivingEntity p_37301_, ItemStack p_37302_, float p_37303_) static InteractionHandgetWeaponHoldingHand(LivingEntity livingEntity, Predicate<Item> itemPredicate) static InteractionHandgetWeaponHoldingHand(LivingEntity p_37298_, Item p_37299_) Deprecated.static voidrotateTowardsMovement(Entity p_37285_, float p_37286_) 
- 
Constructor Details- 
ProjectileUtilpublic ProjectileUtil()
 
- 
- 
Method Details- 
getHitResultOnMoveVector
- 
getHitResultOnViewVector
- 
getHitResult
- 
getEntityHitResult
- 
getEntityHitResult
- 
getEntityHitResult
- 
rotateTowardsMovement
- 
getWeaponHoldingHand@Deprecated public static InteractionHand getWeaponHoldingHand(LivingEntity p_37298_, Item p_37299_) Deprecated.
- 
getWeaponHoldingHandpublic static InteractionHand getWeaponHoldingHand(LivingEntity livingEntity, Predicate<Item> itemPredicate) 
- 
getMobArrow
 
-