net.minecraft.world.entity.monster

public class Witch

extends Raider implements RangedAttackMob

All mapped superinterfaces:

Nameable, EntityAccess, CommandSource, Enemy, RangedAttackMob

bio
net.minecraft.world.entity.monster.Witch
net.minecraft.class_1640
net.minecraft.entity.mob.WitchEntity
net.minecraft.src.C_1089_
net.minecraft.world.entity.monster.EntityWitch

Field summary

Modifier and TypeField
private static final UUID
b
SPEED_MODIFIER_DRINKING_UUID
field_7418
DRINKING_SPEED_PENALTY_MODIFIER_ID
f_34126_
private static final AttributeModifier
e
SPEED_MODIFIER_DRINKING
field_7416
DRINKING_SPEED_PENALTY_MODIFIER
f_34127_
private static final EntityDataAccessor<Boolean>
bT
DATA_USING_ITEM
field_7419
DRINKING
f_34128_
private int
bU
usingTime
field_7417
drinkTimeLeft
f_34129_
private NearestHealableRaiderTargetGoal<Raider>
bV
healRaidersGoal
field_17283
raidGoal
f_34130_
private NearestAttackableWitchTargetGoal<Player>
bW
attackPlayersGoal
field_17284
attackPlayerGoal
f_34131_

Constructor summary

ModifierConstructor
public (EntityType<? extends Witch> p_34135_, Level arg1)

Method summary

Modifier and TypeMethod
protected void
v()
registerGoals()
method_5959()
initGoals()
m_8099_()
initPathfinder()
protected void
a_()
defineSynchedData()
method_5693()
initDataTracker()
m_8097_()
initDatawatcher()
protected SoundEvent
q()
getAmbientSound()
method_5994()
getAmbientSound()
m_7515_()
getSoundAmbient()
protected SoundEvent
c(asq arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
m_7975_(C_489_ arg0)
getSoundHurt(DamageSource arg0)
protected SoundEvent
v_()
getDeathSound()
method_6002()
getDeathSound()
m_5592_()
getSoundDeath()
public void
x(boolean arg0)
setUsingItem(boolean arg0)
method_7192(boolean arg0)
setDrinking(boolean drinking)
m_34163_(boolean arg0)
public boolean
n()
isDrinkingPotion()
method_7193()
isDrinking()
m_34161_()
public static AttributeSupplier$Builder
p()
createAttributes()
method_26927()
createWitchAttributes()
m_34155_()
public void
u_()
aiStep()
method_6007()
tickMovement()
m_8107_()
movementTick()
public SoundEvent
t()
getCelebrateSound()
method_20033()
getCelebratingSound()
m_7930_()
public void
a(byte arg0)
handleEntityEvent(byte arg0)
method_5711(byte arg0)
handleStatus(byte arg0)
m_7822_(byte arg0)
protected float
e(asq arg0, float arg1)
getDamageAfterMagicAbsorb(DamageSource arg0, float arg1)
method_6036(class_1282 arg0, float arg1)
applyEnchantmentsToDamage(DamageSource arg0, float arg1)
m_6515_(C_489_ p_34150_, float arg1)
applyMagicModifier(DamageSource arg0, float arg1)
public void
a(atu arg0, float arg1)
performRangedAttack(LivingEntity arg0, float arg1)
method_7105(class_1309 arg0, float arg1)
attack(LivingEntity arg0, float arg1)
m_6504_(C_524_ p_34144_, float arg1)
protected float
b(aug arg0, ath arg1)
getStandingEyeHeight(Pose arg0, EntityDimensions arg1)
method_18394(class_4050 arg0, class_4048 arg1)
getActiveEyeHeight(EntityPose arg0, EntityDimensions arg1)
m_6431_(C_535_ p_34147_, C_510_ arg1)
public void
a(int arg0, boolean arg1)
applyRaidBuffs(int arg0, boolean arg1)
method_16484(int arg0, boolean arg1)
addBonusForWave(int arg0, boolean arg1)
m_7895_(int p_34141_, boolean arg1)
public boolean
fx()
canBeLeader()
method_16485()
canLead()
m_7490_()