net.minecraft.world.entity.boss.wither

public class WitherBoss

extends Monster implements PowerableMob, RangedAttackMob

All mapped superinterfaces:

Nameable, EntityAccess, CommandSource, Enemy, PowerableMob, RangedAttackMob

bgr
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>
bS
DATA_ID_INV
field_7085
INVUL_TIMER
f_31422_
private static final int
bT
INVULNERABLE_TICKS
field_30441
DEFAULT_INVUL_TIMER
f_149587_
private final float[]
bU
xRotHeads
field_7084
sideHeadPitches
f_31423_
private final float[]
bV
yRotHeads
field_7083
sideHeadYaws
f_31424_
private final float[]
bW
xRotOHeads
field_7095
prevSideHeadPitches
f_31425_
private final float[]
bX
yRotOHeads
field_7094
prevSideHeadYaws
f_31426_
private final int[]
bY
nextHeadUpdate
field_7091
skullCooldowns
f_31427_
private final int[]
bZ
idleHeadUpdates
field_7092
chargedSkullCooldowns
f_31428_
private int
ca
destroyBlocksTick
field_7082
blockBreakingCooldown
f_31429_
private final ServerBossEvent
cb
bossEvent
field_7093
bossBar
f_31430_
private static final Predicate<LivingEntity>
cc
LIVING_ENTITY_SELECTOR
field_7086
CAN_ATTACK_PREDICATE
f_31431_
private static final TargetingConditions
cd
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 void
v()
registerGoals()
method_5959()
initGoals()
m_8099_()
initPathfinder()
protected void
a_()
defineSynchedData()
method_5693()
initDataTracker()
m_8097_()
initDatawatcher()
public void
b(na arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
saveData(NBTTagCompound arg0)
public void
a(na arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
loadData(NBTTagCompound arg0)
public void
a(os arg0)
setCustomName(Component arg0)
method_5665(class_2561 arg0)
setCustomName(Text arg0)
m_6593_(C_4996_ arg0)
setCustomName(IChatBaseComponent arg0)
protected SoundEvent
q()
getAmbientSound()
method_5994()
getAmbientSound()
m_7515_()
getSoundAmbient()
protected SoundEvent
c(asp arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
m_7975_(C_489_ arg0)
getSoundHurt(DamageSource arg0)
protected SoundEvent
v_()
getDeathSound()
method_6002()
getDeathSound()
m_5592_()
getSoundDeath()
public void
u_()
aiStep()
method_6007()
tickMovement()
m_8107_()
movementTick()
protected void
eX()
customServerAiStep()
method_5958()
mobTick()
m_8024_()
mobTick()
public static boolean
c(cks 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_()
beginSpawnSequence()
public void
a(cks arg0, dna 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(abs arg0)
startSeenByPlayer(ServerPlayer arg0)
method_5837(class_3222 arg0)
onStartedTrackingBy(ServerPlayerEntity arg0)
m_6457_(C_13_ arg0)
public void
d(abs arg0)
stopSeenByPlayer(ServerPlayer arg0)
method_5742(class_3222 arg0)
onStoppedTrackingBy(ServerPlayerEntity arg0)
m_6452_(C_13_ arg0)
private double
v(int arg0)
getHeadX(int arg0)
method_6874(int arg0)
getHeadX(int headIndex)
m_31514_(int arg0)
private double
w(int arg0)
getHeadY(int arg0)
method_6880(int arg0)
getHeadY(int headIndex)
m_31516_(int arg0)
private double
x(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, att 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(att 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(asp 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)
damageEntity(DamageSource arg0, float arg1)
protected void
a(asp 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)
dropDeathLoot(DamageSource arg0, int arg1, boolean arg2)
public void
de()
checkDespawn()
method_5982()
checkDespawn()
m_6043_()
checkDespawn()
public boolean
a(float arg0, float arg1, asp 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(asz arg0)
addEffect(MobEffectInstance arg0)
method_6092(class_1293 arg0)
addStatusEffect(StatusEffectInstance arg0)
m_7292_(C_498_ arg0)
addEffect(MobEffect arg0)
public static AttributeSupplier$Builder
p()
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_()
getInvul()
public void
t(int arg0)
setInvulnerableTicks(int arg0)
method_6875(int arg0)
setInvulTimer(int ticks)
m_31510_(int arg0)
setInvul(int arg0)
public int
u(int arg0)
getAlternativeTarget(int arg0)
method_6882(int arg0)
getTrackedEntityId(int headIndex)
m_31512_(int arg0)
getHeadTarget(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)
setHeadTarget(int arg0, int arg1)
public boolean
a()
isPowered()
method_6872()
shouldRenderOverlay()
m_7090_()
isPowered()
public MobType
ek()
getMobType()
method_6046()
getGroup()
m_6336_()
getMonsterType()
protected boolean
l(atf arg0)
canRide(Entity arg0)
method_5860(class_1297 arg0)
canStartRiding(Entity arg0)
m_7341_(C_507_ arg0)
public boolean
cd()
canChangeDimensions()
method_5822()
canUsePortals()
m_6072_()
canPortal()
public boolean
c(asz arg0)
canBeAffected(MobEffectInstance arg0)
method_6049(class_1293 arg0)
canHaveStatusEffect(StatusEffectInstance arg0)
m_7301_(C_498_ arg0)