net.minecraft.world.entity.monster

public class Witch

extends Raider implements RangedAttackMob

All mapped superinterfaces:

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

csl
net.minecraft.world.entity.monster.Witch
net.minecraft.class_1640
net.minecraft.entity.mob.WitchEntity

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>
ck
healRaidersGoal
field_17283
raidGoal
private NearestAttackableWitchTargetGoal<Player>
cl
attackPlayersGoal
field_17284
attackPlayerGoal

Constructor summary

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

Method summary

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