net.minecraft.world.entity.monster

public class Witch

extends Raider implements RangedAttackMob

All mapped superinterfaces:

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

cnn
net.minecraft.world.entity.monster.Witch
net.minecraft.class_1640
net.minecraft.entity.mob.WitchEntity
net.minecraft.world.entity.monster.EntityWitch

Field summary

Modifier and TypeField
private static final ResourceLocation
a
SPEED_MODIFIER_DRINKING_ID
field_7418
DRINKING_SPEED_PENALTY_MODIFIER_ID
private static final AttributeModifier
b
SPEED_MODIFIER_DRINKING
field_7416
DRINKING_SPEED_PENALTY_MODIFIER
private static final EntityDataAccessor<Boolean>
bZ
DATA_USING_ITEM
field_7419
DRINKING
private int
ca
usingTime
field_7417
drinkTimeLeft
private NearestHealableRaiderTargetGoal<Raider>
cb
healRaidersGoal
field_17283
raidGoal
private NearestAttackableWitchTargetGoal<Player>
cc
attackPlayersGoal
field_17284
attackPlayerGoal

Constructor summary

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

Method summary

Modifier and TypeMethod
protected void
B()
registerGoals()
method_5959()
initGoals()
protected void
a(alg$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
initDataTracker(DataTracker$Builder arg0)
protected SoundEvent
u()
getAmbientSound()
method_5994()
getAmbientSound()
protected SoundEvent
e(bua arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
protected SoundEvent
o_()
getDeathSound()
method_6002()
getDeathSound()
public void
z(boolean arg0)
setUsingItem(boolean arg0)
method_7192(boolean arg0)
setDrinking(boolean drinking)
public boolean
m()
isDrinkingPotion()
method_7193()
isDrinking()
public static AttributeSupplier$Builder
p()
createAttributes()
method_26927()
createWitchAttributes()
public void
d_()
aiStep()
method_6007()
tickMovement()
public SoundEvent
ak_()
getCelebrateSound()
method_20033()
getCelebratingSound()
public void
b(byte arg0)
handleEntityEvent(byte arg0)
method_5711(byte arg0)
handleStatus(byte arg0)
protected float
f(bua arg0, float arg1)
getDamageAfterMagicAbsorb(DamageSource arg0, float arg1)
method_6036(class_1282 arg0, float arg1)
modifyAppliedDamage(DamageSource arg0, float arg1)
public void
a(bwg arg0, float arg1)
performRangedAttack(LivingEntity arg0, float arg1)
method_7105(class_1309 arg0, float arg1)
shootAt(LivingEntity arg0, float arg1)
public void
a(ash 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)
public boolean
go()
canBeLeader()
method_16485()
canLead()