net.minecraft.world.entity.monster

public class Witch

extends Raider implements RangedAttackMob

All mapped superinterfaces:

SyncedDataHolder, Nameable, EntityAccess, CommandSource, ScoreHolder, Attackable, EquipmentUser, Leashable, Targeting, Enemy, RangedAttackMob

ckt
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 ResourceLocation
b
SPEED_MODIFIER_DRINKING_ID
field_7418
DRINKING_SPEED_PENALTY_MODIFIER_ID
f_337109_
private static final AttributeModifier
e
SPEED_MODIFIER_DRINKING
field_7416
DRINKING_SPEED_PENALTY_MODIFIER
f_34127_
private static final EntityDataAccessor<Boolean>
cc
DATA_USING_ITEM
field_7419
DRINKING
f_34128_
private int
cd
usingTime
field_7417
drinkTimeLeft
f_34129_
private NearestHealableRaiderTargetGoal<Raider>
ce
healRaidersGoal
field_17283
raidGoal
f_34130_
private NearestAttackableWitchTargetGoal<Player>
cf
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
a(aka$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
initDataTracker(DataTracker$Builder arg0)
m_8097_(C_5247_$C_313487_ arg0)
protected SoundEvent
v()
getAmbientSound()
method_5994()
getAmbientSound()
m_7515_()
protected SoundEvent
d(brk 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
z(boolean arg0)
setUsingItem(boolean arg0)
method_7192(boolean arg0)
setDrinking(boolean drinking)
m_34163_(boolean arg0)
public boolean
s()
isDrinkingPotion()
method_7193()
isDrinking()
m_34161_()
public static AttributeSupplier$Builder
t()
createAttributes()
method_26927()
createWitchAttributes()
m_34155_()
public void
m_()
aiStep()
method_6007()
tickMovement()
m_8107_()
public SoundEvent
ai_()
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(brk 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(btn 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)
public void
a(aqu arg0, int arg1, boolean arg2)
applyRaidBuffs(ServerLevel arg0, int arg1, boolean arg2)
method_16484(class_3218 arg0, int arg1, boolean arg2)
addBonusForWave(ServerWorld arg0, int arg1, boolean arg2)
m_7895_(C_12_ p_34140_, int p_34141_, boolean arg2)
public boolean
gl()
canBeLeader()
method_16485()
canLead()
m_7490_()