net.minecraft.world.entity.monster

public class Witch

extends Raider implements RangedAttackMob

All mapped superinterfaces:

Nameable, EntityAccess, CommandSource, ScoreHolder, Attackable, Targeting, Enemy, RangedAttackMob

cdf
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
B()
registerGoals()
method_5959()
initGoals()
m_8099_()
protected void
c_()
defineSynchedData()
method_5693()
initDataTracker()
m_8097_()
protected SoundEvent
y()
getAmbientSound()
method_5994()
getAmbientSound()
m_7515_()
protected SoundEvent
d(bkt arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
m_7975_(C_489_ arg0)
protected SoundEvent
n_()
getDeathSound()
method_6002()
getDeathSound()
m_5592_()
public void
y(boolean arg0)
setUsingItem(boolean arg0)
method_7192(boolean arg0)
setDrinking(boolean drinking)
m_34163_(boolean arg0)
public boolean
u()
isDrinkingPotion()
method_7193()
isDrinking()
m_34161_()
public static AttributeSupplier$Builder
w()
createAttributes()
method_26927()
createWitchAttributes()
m_34155_()
public void
d_()
aiStep()
method_6007()
tickMovement()
m_8107_()
public SoundEvent
af_()
getCelebrateSound()
method_20033()
getCelebratingSound()
m_7930_()
public void
b(byte arg0)
handleEntityEvent(byte arg0)
method_5711(byte arg0)
handleStatus(byte arg0)
m_7822_(byte arg0)
protected float
e(bkt arg0, float arg1)
getDamageAfterMagicAbsorb(DamageSource arg0, float arg1)
method_6036(class_1282 arg0, float arg1)
modifyAppliedDamage(DamageSource arg0, float arg1)
m_6515_(C_489_ p_34150_, float arg1)
public void
a(bml arg0, float arg1)
performRangedAttack(LivingEntity arg0, float arg1)
method_7105(class_1309 arg0, float arg1)
shootAt(LivingEntity arg0, float arg1)
m_6504_(C_524_ p_34144_, float arg1)
protected float
b(bmx arg0, blw 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)
protected org.joml.Vector3f
a(blv arg0, blw arg1, float arg2)
getPassengerAttachmentPoint(Entity arg0, EntityDimensions arg1, float arg2)
method_52533(class_1297 arg0, class_4048 arg1, float arg2)
getPassengerAttachmentPos(Entity arg0, EntityDimensions arg1, float arg2)
m_292594_(C_507_ p_301069_, C_510_ p_300609_, float arg2)
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
gf()
canBeLeader()
method_16485()
canLead()
m_7490_()