Interface IRangedMobEntity

All Superinterfaces:
net.minecraft.world.entity.monster.Enemy
All Known Subinterfaces:
IAmazonChief, IAmazonSpearman, IArcherAmazon, IArcherBarbarianEntity, IArcherMobEntity, IArcherMummyEntity, IArcherNorsemenEntity, IArcherPirateEntity, IPharaoEntity, ISpearmanMobEntity
All Known Implementing Classes:
EntityAmazonChief, EntityAmazonChiefRaider, EntityAmazonSpearman, EntityAmazonSpearmanRaider, EntityArcherAmazon, EntityArcherAmazonRaider, EntityArcherBarbarian, EntityArcherBarbarianRaider, EntityArcherMummy, EntityArcherMummyRaider, EntityArcherPirate, EntityArcherPirateRaider, EntityDrownedArcherPirate, EntityDrownedArcherPirateRaider, EntityNorsemenArcher, EntityNorsemenArcherRaider, EntityPharao, EntityPharaoRaider

public interface IRangedMobEntity extends net.minecraft.world.entity.monster.Enemy
Indicates the mob utilizes ranged weaponry
  • Field Summary

    Fields inherited from interface net.minecraft.world.entity.monster.Enemy

    XP_REWARD_BOSS, XP_REWARD_HUGE, XP_REWARD_LARGE, XP_REWARD_MEDIUM, XP_REWARD_NONE, XP_REWARD_SMALL
  • Method Summary

    Modifier and Type
    Method
    Description
    default double
    Modifier to ranged attack delays
    default boolean
    If the shooter penetrates fluids.
  • Method Details

    • getAttackDelayModifier

      default double getAttackDelayModifier()
      Modifier to ranged attack delays
      Returns:
      higher = longer delay, shorter = less delay
    • penetrateFluids

      default boolean penetrateFluids()
      If the shooter penetrates fluids.
      Returns:
      true if so.