net.minecraft.world.entity.boss.wither

public class WitherBoss

extends Monster implements RangedAttackMob

All mapped superinterfaces:

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

ckq
net.minecraft.world.entity.boss.wither.WitherBoss
net.minecraft.class_1528
net.minecraft.entity.boss.WitherEntity
net.minecraft.world.entity.boss.wither.EntityWither

Field summary

Modifier and TypeField
private static final EntityDataAccessor<Integer>
a
DATA_TARGET_A
field_7088
TRACKED_ENTITY_ID_1
private static final EntityDataAccessor<Integer>
b
DATA_TARGET_B
field_7090
TRACKED_ENTITY_ID_2
private static final EntityDataAccessor<Integer>
c
DATA_TARGET_C
field_7089
TRACKED_ENTITY_ID_3
private static final List<EntityDataAccessor<Integer>>
d
DATA_TARGETS
field_7087
TRACKED_ENTITY_IDS
private static final EntityDataAccessor<Integer>
bY
DATA_ID_INV
field_7085
INVUL_TIMER
private static final int
bZ
INVULNERABLE_TICKS
field_30441
DEFAULT_INVUL_TIMER
private final float[]
ca
xRotHeads
field_7084
sideHeadPitches
private final float[]
cb
yRotHeads
field_7083
sideHeadYaws
private final float[]
cc
xRotOHeads
field_7095
prevSideHeadPitches
private final float[]
cd
yRotOHeads
field_7094
prevSideHeadYaws
private final int[]
ce
nextHeadUpdate
field_7091
skullCooldowns
private final int[]
cf
idleHeadUpdates
field_7092
chargedSkullCooldowns
private int
cg
destroyBlocksTick
field_7082
blockBreakingCooldown
private final ServerBossEvent
ch
bossEvent
field_7093
bossBar
private static final TargetingConditions$Selector
ci
LIVING_ENTITY_SELECTOR
field_7086
CAN_ATTACK_PREDICATE
private static final TargetingConditions
cj
TARGETING_CONDITIONS
field_18125
HEAD_TARGET_PREDICATE

Constructor summary

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

Method summary

Modifier and TypeMethod
protected PathNavigation
b(dgj arg0)
createNavigation(Level arg0)
method_5965(class_1937 arg0)
createNavigation(World arg0)
protected void
E()
registerGoals()
method_5959()
initGoals()
protected void
a(akc$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
initDataTracker(DataTracker$Builder arg0)
public void
b(tq arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
public void
a(tq arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
public void
b(wp arg0)
setCustomName(Component arg0)
method_5665(class_2561 arg0)
setCustomName(Text arg0)
protected SoundEvent
u()
getAmbientSound()
method_5994()
getAmbientSound()
protected SoundEvent
e(btc arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
protected SoundEvent
o_()
getDeathSound()
method_6002()
getDeathSound()
public void
d_()
aiStep()
method_6007()
tickMovement()
protected void
a(ard arg0)
customServerAiStep(ServerLevel arg0)
method_5958(class_3218 arg0)
mobTick(ServerWorld arg0)
public static boolean
c(dwy arg0)
canDestroy(BlockState arg0)
method_6883(class_2680 arg0)
canDestroy(BlockState block)
public void
m()
makeInvulnerable()
method_6885()
onSummoned()
public void
a(dwy arg0, fbb arg1)
makeStuckInBlock(BlockState arg0, Vec3 arg1)
method_5844(class_2680 arg0, class_243 arg1)
slowMovement(BlockState arg0, Vec3d arg1)
public void
d(are arg0)
startSeenByPlayer(ServerPlayer arg0)
method_5837(class_3222 arg0)
onStartedTrackingBy(ServerPlayerEntity arg0)
public void
e(are arg0)
stopSeenByPlayer(ServerPlayer arg0)
method_5742(class_3222 arg0)
onStoppedTrackingBy(ServerPlayerEntity arg0)
private double
r(int arg0)
getHeadX(int arg0)
method_6874(int arg0)
getHeadX(int headIndex)
private double
s(int arg0)
getHeadY(int arg0)
method_6880(int arg0)
getHeadY(int headIndex)
private double
t(int arg0)
getHeadZ(int arg0)
method_6881(int arg0)
getHeadZ(int headIndex)
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)
private void
a(int arg0, bvi arg1)
performRangedAttack(int arg0, LivingEntity arg1)
method_6878(int arg0, class_1309 arg1)
shootSkullAt(int headIndex, LivingEntity target)
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)
public void
a(bvi arg0, float arg1)
performRangedAttack(LivingEntity arg0, float arg1)
method_7105(class_1309 arg0, float arg1)
shootAt(LivingEntity arg0, float arg1)
public boolean
a(ard arg0, btc arg1, float arg2)
hurtServer(ServerLevel arg0, DamageSource arg1, float arg2)
method_64397(class_3218 arg0, class_1282 arg1, float arg2)
damage(ServerWorld arg0, DamageSource arg1, float arg2)
protected void
a(ard arg0, btc arg1, boolean arg2)
dropCustomDeathLoot(ServerLevel arg0, DamageSource arg1, boolean arg2)
method_6099(class_3218 arg0, class_1282 arg1, boolean arg2)
dropEquipment(ServerWorld arg0, DamageSource arg1, boolean arg2)
public void
dH()
checkDespawn()
method_5982()
checkDespawn()
public boolean
b(btr arg0, bum arg1)
addEffect(MobEffectInstance arg0, Entity arg1)
method_37222(class_1293 arg0, class_1297 arg1)
addStatusEffect(StatusEffectInstance arg0, Entity arg1)
public static AttributeSupplier$Builder
p()
createAttributes()
method_26904()
createWitherAttributes()
public float[]
t()
getHeadYRots()
method_61488()
getSideHeadYaws()
public float[]
x()
getHeadXRots()
method_61487()
getSideHeadPitches()
public int
gs()
getInvulnerableTicks()
method_6884()
getInvulnerableTimer()
public void
b(int arg0)
setInvulnerableTicks(int arg0)
method_6875(int arg0)
setInvulTimer(int ticks)
public int
c(int arg0)
getAlternativeTarget(int arg0)
method_6882(int arg0)
getTrackedEntityId(int headIndex)
public void
a(int arg0, int arg1)
setAlternativeTarget(int arg0, int arg1)
method_6876(int arg0, int arg1)
setTrackedEntityId(int headIndex, int id)
public boolean
gt()
isPowered()
method_6872()
shouldRenderOverlay()
protected boolean
o(bum arg0)
canRide(Entity arg0)
method_5860(class_1297 arg0)
canStartRiding(Entity arg0)
public boolean
o(boolean arg0)
canUsePortal(boolean arg0)
method_5822(boolean arg0)
canUsePortals(boolean arg0)
public boolean
b(btr arg0)
canBeAffected(MobEffectInstance arg0)
method_6049(class_1293 arg0)
canHaveStatusEffect(StatusEffectInstance arg0)