net.minecraft.world.entity.monster

public class Witch

extends Raider implements RangedAttackMob

All mapped superinterfaces:

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

cqa
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>
e
DATA_USING_ITEM
field_7419
DRINKING
private int
f
usingTime
field_7417
drinkTimeLeft
private NearestHealableRaiderTargetGoal<Raider>
bI
healRaidersGoal
field_17283
raidGoal
private NearestAttackableWitchTargetGoal<Player>
bJ
attackPlayersGoal
field_17284
attackPlayerGoal

Constructor summary

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

Method summary

Modifier and TypeMethod
protected void
C()
registerGoals()
method_5959()
initGoals()
protected void
a(aky$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
initDataTracker(DataTracker$Builder arg0)
protected SoundEvent
s()
getAmbientSound()
method_5994()
getAmbientSound()
protected SoundEvent
e(bvt arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
protected SoundEvent
j_()
getDeathSound()
method_6002()
getDeathSound()
public void
y(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
af_()
getCelebrateSound()
method_20033()
getCelebratingSound()
public void
b(byte arg0)
handleEntityEvent(byte arg0)
method_5711(byte arg0)
handleStatus(byte arg0)
protected float
f(bvt arg0, float arg1)
getDamageAfterMagicAbsorb(DamageSource arg0, float arg1)
method_6036(class_1282 arg0, float arg1)
modifyAppliedDamage(DamageSource arg0, float arg1)
public void
a(byf arg0, float arg1)
performRangedAttack(LivingEntity arg0, float arg1)
method_7105(class_1309 arg0, float arg1)
shootAt(LivingEntity arg0, float arg1)
public void
a(asb 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
gv()
canBeLeader()
method_16485()
canLead()