net.minecraft.entity.mob

public abstract class RangedZombieEntity

extends ZombieEntity implements RangedAttackMob

All mapped superinterfaces:

Nameable, EntityLike, UniquelyIdentifiable, ScoreHolder, DataTracked, ComponentsAccess, HeldItemContext, StackReferenceGetter, DebugTrackable, EntryConvertible, Attackable, ServerWaypoint, Waypoint, Targeter, EquipmentHolder, Leashable, Monster, RangedAttackMob

net.minecraft.world.entity.monster.zombie.RangedZombie
net.minecraft.class_1_1778
net.minecraft.entity.mob.RangedZombieEntity

Field summary

Modifier and TypeField
private static final float
MELEE_MODE_DISTANCE_SQR
field_1_11595
field_1_11595
private static final float
RANGED_MODE_DISTANCE_SQR
field_1_11596
field_1_11596
private float
rangedAttackUncertainty
field_1_11598
shotDivergence
private boolean
isRanged
field_1_11597
attackingWithProjectile

Constructor summary

ModifierConstructor
public (EntityType<? extends ZombieEntity> type, World level)

Method summary

Modifier and TypeMethod
public boolean
isRanged()
method_1_11256()
isAttackingWithProjectile()
public float
rangedAttackUncertainty(Level level)
method_1_7455(class_1937 arg0)
getShotDivergence(World arg0)
public void
setRangedAttackUncertainty(float rangedAttackUncertainty)
method_1_11257(float arg0)
setShotDivergence(float shotDivergence)
public abstract Item
getRangedWeaponType()
method_1_11255()
getProjectileItem()
protected abstract ProjectileEntity
getProjectile(Level level, LivingEntity owner, ItemStack item)
method_1_11253(class_1937 arg0, class_1309 arg1, class_1799 arg2)
createProjectile(World world, LivingEntity owner, ItemStack stack)
protected abstract SoundEvent
getRangedAttackSound()
method_1_11254()
getShootSoundEvent()
public void
performRangedAttack(LivingEntity target, float power)
method_7105(class_1309 arg0, float arg1)
shootAt(LivingEntity arg0, float arg1)
protected boolean
shouldDoRangedAttack()
method_1_11258()
canShoot()