net.minecraft.entity.living.mob.monster.boss

public class WitherEntity

extends MonsterEntity implements RangedAttackMob

All mapped superinterfaces:

CommandSource, Monster, SpawnableEntity, RangedAttackMob

xo
net.minecraft.class_1410
net.minecraft.entity.living.mob.monster.boss.WitherEntity
net.minecraft.entity.boss.EntityWither

Field summary

Modifier and TypeField
private static final DataAttribute<Integer>
a
field_14717
TRACKED_ENTITY_ID_1
FIRST_HEAD_TARGET
private static final DataAttribute<Integer>
b
field_14719
TRACKED_ENTITY_ID_2
SECOND_HEAD_TARGET
private static final DataAttribute<Integer>
c
field_14722
TRACKED_ENTITY_ID_3
THIRD_HEAD_TARGET
private static final DataAttribute<Integer>[]
bw
field_14720
TRACKED_ENTITY_IDS
HEAD_TARGETS
private static final DataAttribute<Integer>
bx
field_14721
INVUL_TIMER
INVULNERABILITY_TIME
private float[]
by
field_5372
sideHeadPitches
xRotationHeads
private float[]
bz
field_5373
sideHeadYaws
yRotationHeads
private float[]
bA
field_5374
prevSideHeadPitches
xRotOHeads
private float[]
bB
field_5375
prevSideHeadYaws
yRotOHeads
private int[]
bC
field_5376
skullCooldowns
nextHeadUpdate
private int[]
bD
field_5377
chargedSkullCooldowns
idleHeadUpdates
private int
bE
field_5378
blockBreakingCooldown
blockBreakCounter
private final ServerBossEvent
bF
field_14718
bossBar
bossInfo
private static final com.google.common.base.Predicate<Entity>
bG
field_12015
UNDEAD_FILTER
NOT_UNDEAD

Constructor summary

ModifierConstructor
public (World world)

Method summary

Modifier and TypeMethod
protected void
r()
method_13087()
initGoals()
initEntityAI()
protected void
i()
method_2484()
registerSyncedData()
entityInit()
public void
b(dq arg0)
method_2528(class_322 arg0)
writeCustomNbt(NbtCompound arg0)
writeEntityToNBT(NBTTagCompound arg0)
public void
a(dq arg0)
method_2498(class_322 arg0)
readCustomNbt(NbtCompound arg0)
readEntityFromNBT(NBTTagCompound arg0)
protected SoundEvent
G()
method_2603()
getAmbientSound()
getAmbientSound()
protected SoundEvent
bS()
method_13048()
getHurtSound()
getHurtSound()
protected SoundEvent
bT()
method_13049()
getDeathSound()
getDeathSound()
public void
n()
method_2651()
mobTick()
onLivingUpdate()
protected void
M()
method_2633()
mobAiTick()
updateAITasks()
public static boolean
a(ajt arg0)
method_11114(class_197 arg0)
canDestroy(Block block)
canDestroyBlock(Block blockIn)
public void
o()
method_4537()
onSummoned()
ignite()
public void
aQ()
method_2517()
onCobwebCollision()
setInWeb()
public void
b(ls arg0)
method_12990(class_798 arg0)
startTrackedBy(ServerPlayerEntity arg0)
addTrackingPlayer(EntityPlayerMP arg0)
public void
c(ls arg0)
method_13005(class_798 arg0)
stopTrackedBy(ServerPlayerEntity arg0)
removeTrackingPlayer(EntityPlayerMP arg0)
private double
n(int arg0)
method_4543(int arg0)
getHeadX(int headIndex)
getHeadX(int arg0)
private double
o(int arg0)
method_4544(int arg0)
getHeadY(int headIndec)
getHeadY(int arg0)
private double
p(int arg0)
method_4545(int arg0)
getHeadZ(int headIndex)
getHeadZ(int arg0)
private float
b(float arg0, float arg1, float arg2)
method_4535(float arg0, float arg1, float arg2)
getNextAngle(float prevAngle, float desiredAngle, float maxDelta)
rotlerp(float arg0, float arg1, float arg2)
private void
a(int arg0, sa arg1)
method_6303(int arg0, class_1699 arg1)
shootSkullAt(int head, LivingEntity target)
launchWitherSkullToEntity(int arg0, EntityLivingBase arg1)
private void
a(int arg0, double arg1, double arg2, double arg3, boolean arg4)
method_4533(int arg0, double arg1, double arg2, double arg3, boolean arg4)
shootSkullAt(int head, double targetX, double targetY, double targetZ, boolean charged)
launchWitherSkullToCoords(int arg0, double x, double y, double z, boolean invulnerable)
public void
a(sa arg0, float arg1)
method_4552(class_1699 arg0, float arg1)
doRangedAttack(LivingEntity arg0, float arg1)
attackEntityWithRangedAttack(EntityLivingBase arg0, float arg1)
public boolean
a(rc arg0, float arg1)
method_2499(class_856 arg0, float arg1)
takeDamage(DamageSource arg0, float arg1)
attackEntityFrom(DamageSource arg0, float arg1)
protected void
b(boolean arg0, int arg1)
method_2587(boolean arg0, int arg1)
dropItems(boolean arg0, int arg1)
dropFewItems(boolean arg0, int arg1)
protected void
L()
method_2632()
checkDespawn()
despawnEntity()
public void
e(float arg0, float arg1)
method_2490(float arg0, float arg1)
takeFallDamage(float arg0, float arg1)
fall(float arg0, float arg1)
public void
c(rl arg0)
method_2654(class_861 arg0)
addStatusEffect(StatusEffectInstance arg0)
addPotionEffect(PotionEffect arg0)
protected void
bB()
method_6129()
initAttributes()
applyEntityAttributes()
public int
da()
method_4538()
getInvulnerabilityTimer()
getInvulTime()
public void
l(int arg0)
method_4541(int arg0)
setInvulnerabilityTimer(int ticks)
setInvulTime(int time)
public int
m(int arg0)
method_4542(int arg0)
getTrackedEntityId(int headIndex)
getWatchedTargetId(int head)
public void
a(int arg0, int arg1)
method_4536(int arg0, int arg1)
setTrackedEntityId(int headIndex, int id)
updateWatchedTargetId(int targetOffset, int newId)
public boolean
db()
method_4539()
isAtHalfHealth()
isArmored()
public MobType
cb()
method_2647()
getMobType()
getCreatureAttribute()
protected boolean
n(rr arg0)
method_13012(class_864 arg0)
canRide(Entity arg0)
canBeRidden(Entity arg0)
public boolean
aV()
method_12983()
canUsePortals()
isNonBoss()
public int
d(float arg0)
method_2524(float arg0)
getLightLevel(float arg0)
getBrightnessForRender(float arg0)
public float
a(int arg0)
method_4532(int arg0)
getHeadYaw(int id)
getHeadYRotation(int arg0)
public float
b(int arg0)
method_4540(int arg0)
getHeadPitch(int id)
getHeadXRotation(int arg0)