net.minecraft.world.entity.boss.wither

public class WitherBoss

extends Monster implements PowerableMob, RangedAttackMob

All mapped superinterfaces:

Nameable, EntityAccess, CommandSource, Enemy, PowerableMob, RangedAttackMob

bkx
net.minecraft.world.entity.boss.wither.WitherBoss
net.minecraft.class_1528
net.minecraft.entity.boss.WitherEntity
net.minecraft.src.C_964_
net.minecraft.world.entity.boss.wither.EntityWither

Field summary

Modifier and TypeField
private static final EntityDataAccessor<Integer>
b
DATA_TARGET_A
field_7088
TRACKED_ENTITY_ID_1
f_31420_
private static final EntityDataAccessor<Integer>
c
DATA_TARGET_B
field_7090
TRACKED_ENTITY_ID_2
f_31433_
private static final EntityDataAccessor<Integer>
d
DATA_TARGET_C
field_7089
TRACKED_ENTITY_ID_3
f_31434_
private static final List<EntityDataAccessor<Integer>>
e
DATA_TARGETS
field_7087
TRACKED_ENTITY_IDS
f_31421_
private static final EntityDataAccessor<Integer>
bV
DATA_ID_INV
field_7085
INVUL_TIMER
f_31422_
private static final int
bW
INVULNERABLE_TICKS
field_30441
DEFAULT_INVUL_TIMER
f_149587_
private final float[]
bX
xRotHeads
field_7084
sideHeadPitches
f_31423_
private final float[]
bY
yRotHeads
field_7083
sideHeadYaws
f_31424_
private final float[]
bZ
xRotOHeads
field_7095
prevSideHeadPitches
f_31425_
private final float[]
ca
yRotOHeads
field_7094
prevSideHeadYaws
f_31426_
private final int[]
cb
nextHeadUpdate
field_7091
skullCooldowns
f_31427_
private final int[]
cc
idleHeadUpdates
field_7092
chargedSkullCooldowns
f_31428_
private int
cd
destroyBlocksTick
field_7082
blockBreakingCooldown
f_31429_
private final ServerBossEvent
ce
bossEvent
field_7093
bossBar
f_31430_
private static final Predicate<LivingEntity>
cf
LIVING_ENTITY_SELECTOR
field_7086
CAN_ATTACK_PREDICATE
f_31431_
private static final TargetingConditions
cg
TARGETING_CONDITIONS
field_18125
HEAD_TARGET_PREDICATE
f_31432_

Constructor summary

ModifierConstructor
public (EntityType<? extends WitherBoss> p_31438_, Level arg1)

Method summary

Modifier and TypeMethod
protected PathNavigation
a(cav arg0)
createNavigation(Level arg0)
method_5965(class_1937 arg0)
createNavigation(World arg0)
m_6037_(C_1596_ arg0)
protected void
u()
registerGoals()
method_5959()
initGoals()
m_8099_()
protected void
a_()
defineSynchedData()
method_5693()
initDataTracker()
m_8097_()
public void
b(ok arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
public void
a(ok arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
public void
a(qk arg0)
setCustomName(Component arg0)
method_5665(class_2561 arg0)
setCustomName(Text arg0)
m_6593_(C_4996_ arg0)
protected SoundEvent
r()
getAmbientSound()
method_5994()
getAmbientSound()
m_7515_()
protected SoundEvent
c(awu arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
m_7975_(C_489_ arg0)
protected SoundEvent
x_()
getDeathSound()
method_6002()
getDeathSound()
m_5592_()
public void
w_()
aiStep()
method_6007()
tickMovement()
m_8107_()
protected void
R()
customServerAiStep()
method_5958()
mobTick()
m_8024_()
public static boolean
c(cov arg0)
canDestroy(BlockState arg0)
method_6883(class_2680 arg0)
canDestroy(BlockState block)
m_31491_(C_2064_ p_31492_)
public void
n()
makeInvulnerable()
method_6885()
onSummoned()
m_31506_()
public void
a(cov arg0, dpo arg1)
makeStuckInBlock(BlockState arg0, Vec3 arg1)
method_5844(class_2680 arg0, class_243 arg1)
slowMovement(BlockState arg0, Vec3d arg1)
m_7601_(C_2064_ p_31472_, C_3046_ arg1)
public void
c(adx arg0)
startSeenByPlayer(ServerPlayer arg0)
method_5837(class_3222 arg0)
onStartedTrackingBy(ServerPlayerEntity arg0)
m_6457_(C_13_ arg0)
public void
d(adx arg0)
stopSeenByPlayer(ServerPlayer arg0)
method_5742(class_3222 arg0)
onStoppedTrackingBy(ServerPlayerEntity arg0)
m_6452_(C_13_ arg0)
private double
t(int arg0)
getHeadX(int arg0)
method_6874(int arg0)
getHeadX(int headIndex)
m_31514_(int arg0)
private double
u(int arg0)
getHeadY(int arg0)
method_6880(int arg0)
getHeadY(int headIndex)
m_31516_(int arg0)
private double
v(int arg0)
getHeadZ(int arg0)
method_6881(int arg0)
getHeadZ(int headIndex)
m_31518_(int arg0)
private float
a(float arg0, float arg1, float arg2)
rotlerp(float arg0, float arg1, float arg2)
method_6886(float arg0, float arg1, float arg2)
getNextAngle(float prevAngle, float desiredAngle, float maxDifference)
m_31442_(float p_31444_, float p_31445_, float arg2)
private void
a(int arg0, axy arg1)
performRangedAttack(int arg0, LivingEntity arg1)
method_6878(int arg0, class_1309 arg1)
shootSkullAt(int headIndex, LivingEntity target)
m_31457_(int p_31459_, C_524_ arg1)
private void
a(int arg0, double arg1, double arg2, double arg3, boolean arg4)
performRangedAttack(int arg0, double arg1, double arg2, double arg3, boolean arg4)
method_6877(int arg0, double arg1, double arg2, double arg3, boolean arg4)
shootSkullAt(int headIndex, double targetX, double targetY, double targetZ, boolean charged)
m_31448_(int p_31450_, double p_31451_, double p_31453_, double arg3, boolean arg4)
public void
a(axy arg0, float arg1)
performRangedAttack(LivingEntity arg0, float arg1)
method_7105(class_1309 arg0, float arg1)
attack(LivingEntity arg0, float arg1)
m_6504_(C_524_ p_31469_, float arg1)
public boolean
a(awu arg0, float arg1)
hurt(DamageSource arg0, float arg1)
method_5643(class_1282 arg0, float arg1)
damage(DamageSource arg0, float arg1)
m_6469_(C_489_ p_31462_, float arg1)
protected void
a(awu arg0, int arg1, boolean arg2)
dropCustomDeathLoot(DamageSource arg0, int arg1, boolean arg2)
method_6099(class_1282 arg0, int arg1, boolean arg2)
dropEquipment(DamageSource arg0, int arg1, boolean arg2)
m_7472_(C_489_ p_31465_, int p_31466_, boolean arg2)
public void
dj()
checkDespawn()
method_5982()
checkDespawn()
m_6043_()
public boolean
a(float arg0, float arg1, awu arg2)
causeFallDamage(float arg0, float arg1, DamageSource arg2)
method_5747(float arg0, float arg1, class_1282 arg2)
handleFallDamage(float arg0, float arg1, DamageSource arg2)
m_142535_(float p_149590_, float p_149591_, C_489_ arg2)
public boolean
b(axe arg0, axk arg1)
addEffect(MobEffectInstance arg0, Entity arg1)
method_37222(class_1293 arg0, class_1297 arg1)
addStatusEffect(StatusEffectInstance arg0, Entity arg1)
m_147207_(C_498_ p_182398_, C_507_ arg1)
public static AttributeSupplier$Builder
q()
createAttributes()
method_26904()
createWitherAttributes()
m_31501_()
public float
a(int arg0)
getHeadYRot(int arg0)
method_6879(int arg0)
getHeadYaw(int headIndex)
m_31446_(int arg0)
public float
b(int arg0)
getHeadXRot(int arg0)
method_6887(int arg0)
getHeadPitch(int headIndex)
m_31480_(int arg0)
public int
t()
getInvulnerableTicks()
method_6884()
getInvulnerableTimer()
m_31502_()
public void
r(int arg0)
setInvulnerableTicks(int arg0)
method_6875(int arg0)
setInvulTimer(int ticks)
m_31510_(int arg0)
public int
s(int arg0)
getAlternativeTarget(int arg0)
method_6882(int arg0)
getTrackedEntityId(int headIndex)
m_31512_(int arg0)
public void
a(int arg0, int arg1)
setAlternativeTarget(int arg0, int arg1)
method_6876(int arg0, int arg1)
setTrackedEntityId(int headIndex, int id)
m_31454_(int p_31456_, int arg1)
public boolean
a()
isPowered()
method_6872()
shouldRenderOverlay()
m_7090_()
public MobType
er()
getMobType()
method_6046()
getGroup()
m_6336_()
protected boolean
l(axk arg0)
canRide(Entity arg0)
method_5860(class_1297 arg0)
canStartRiding(Entity arg0)
m_7341_(C_507_ arg0)
public boolean
ci()
canChangeDimensions()
method_5822()
canUsePortals()
m_6072_()
public boolean
c(axe arg0)
canBeAffected(MobEffectInstance arg0)
method_6049(class_1293 arg0)
canHaveStatusEffect(StatusEffectInstance arg0)
m_7301_(C_498_ arg0)