Package net.minecraft.entity.boss
Class WitherEntity
java.lang.Object
net.minecraft.entity.Entity
net.minecraft.entity.LivingEntity
net.minecraft.entity.mob.MobEntity
net.minecraft.entity.PathAwareEntity
net.minecraft.entity.mob.HostileEntity
net.minecraft.entity.boss.WitherEntity
- All Implemented Interfaces:
RangedAttackMob,BossBarProvider,EntityCategoryProvider,Monster
@EnvironmentInterfaces(@EnvironmentInterface(value=CLIENT,itf=BossBarProvider.class))
public class WitherEntity
extends HostileEntity
implements BossBarProvider, RangedAttackMob
- Mappings:
Namespace Name official vnintermediary net/minecraft/class_1410named net/minecraft/entity/boss/WitherEntity
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final EntityPredicatesprivate int[]private int[]private intprivate float[]private float[]private float[]private float[]Fields inherited from class net.minecraft.entity.PathAwareEntity
field_3415, field_3416, field_3417, FLEEING_SPEED_BONUS_ID, FLEEING_SPEED_MODIFIERFields inherited from class net.minecraft.entity.mob.MobEntity
ambientSoundChance, armorDropChances, attackGoals, experiencePoints, field_3351, field_3353, goalsFields inherited from class net.minecraft.entity.LivingEntity
attackingPlayer, bodyTrackingIncrements, bodyYaw, dead, deathTime, defaultMaxHealth, despawnCounter, distanceTravelled, field_6745, field_6748, field_6749, field_6750, field_6752, field_6753, field_6771, field_6772, field_6776, field_6777, field_6778, field_6782, flyingSpeed, forwardSpeed, handSwinging, handSwingProgress, handSwingTicks, headYaw, hurtTime, jumping, knockbackVelocity, lastHandSwingProgress, maxHurtTime, playerHitTimer, prevBodyYaw, prevDistanceTravelled, prevHeadYaw, prevStepBobbingAmount, randomLargeSeed, randomSmallSeed, serverPitch, serverY, serverYaw, serverZ, serxerX, sidewaysSpeed, stepBobbingAmountFields inherited from class net.minecraft.entity.Entity
boundingBox, changingDimension, chunkX, chunkY, chunkZ, colliding, dataTracker, dimension, distanceTraveled, fallDistance, field_3203, field_3214, field_3223, field_3232, fireResistance, height, heightOffset, horizontalCollision, horizontalSpeed, ignoreCameraFrustum, inanimate, inLava, isFireImmune, lastNetherPortalAxis, netherPortalCooldown, netherPortalTime, noClip, onGround, pitch, playerUuid, prevHorizontalSpeed, prevPitch, prevTickX, prevTickY, prevTickZ, prevX, prevY, prevYaw, prevZ, pushSpeedReduction, random, removed, renderDistanceMultiplier, rider, stepHeight, teleporting, ticksAlive, touchingWater, trackedX, trackedY, trackedZ, updateNeeded, vehicle, velocityDirty, velocityModified, velocityX, velocityY, velocityZ, verticalCollision, width, world, x, y, yaw, zFields inherited from interface net.minecraft.entity.mob.Monster
field_5388 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddStatusEffect(StatusEffectInstance instance) protected voidbooleandamage(DamageSource source, float amount) protected voiddropLoot(boolean allowDrops, int lootingMultiplier) protected Stringintprotected StringgetGroup()floatgetHeadPitch(int headIndex) private doublegetHeadX(int headIndex) private doublegetHeadY(int headIndex) floatgetHeadYaw(int headIndex) private doublegetHeadZ(int headIndex) protected StringintintgetLightmapCoordinates(float float2) private floatgetNextAngle(float prevAngle, float desiredAngle, float maxDifference) intgetTrackedEntityId(int headIndex) protected voidprotected voidfloatprotected voidmethod_2490(float float2) voidprotected voidmobTick()voidrangedAttack(LivingEntity target, float pullProgress) voidvoidvoidsetInvulnerabilityTime(int time) voidsetTrackedEntityId(int headIndex, int id) private voidshootSkullAt(int headIndex, double targetX, double targetY, double targetZ, boolean charged) private voidshootSkullAt(int headIndex, LivingEntity target) protected booleanbooleanvoidstartRiding(Entity entity) voidvoidMethods inherited from class net.minecraft.entity.mob.HostileEntity
canSpawn, getFallSound, getSplashSound, getSwimSound, method_2683, method_2685, method_2689, method_3087, shouldDropXp, tick, tryAttackMethods inherited from class net.minecraft.entity.PathAwareEntity
getPositionTargetRange, hasPositionTarget, isInWalkTargetRange, method_2684, method_2686, method_2687, method_2688, method_2691, method_6168, method_6169, method_6171, method_6173, method_6175, shouldContinue, tickNewAi, updateLeashMethods inherited from class net.minecraft.entity.mob.MobEntity
attachLeash, baseTick, canAttackEntity, canBeControlledByRider, canBeLeashedBy, canImmediatelyDespawn, canPickUpLoot, detachLeash, getArmorStacks, getDefaultDrop, getJumpControl, getLimitPerChunk, getLookControl, getLookPitchSpeed, getMainSlot, getMinAmbientSoundDelay, getMotionHelper, getNavigation, getSafeFallDistance, getStackInHand, getTarget, getTranslatedName, getVisibilityCache, getXpToDrop, hasNoAi, isLeashed, isPersistent, isTameable, lookAtEntity, method_2638, method_4470, method_4472, method_4473, method_4474, method_5388, method_5391, method_5392, method_5394, method_5397, method_6156, method_6162, method_6166, method_8374, onEatingGrass, openInventory, playAmbientSound, playSpawnEffects, setAiDisabled, setArmorSlot, setCanPickUpLoot, setForwardSpeed, setMovementSpeed, setPersistent, setTarget, turnHeadMethods inherited from class net.minecraft.entity.LivingEntity
animateDamage, applyArmorDamage, applyDamage, applyEnchantmentsToDamage, canMoveVoluntarily, canSee, clearStatusEffects, collides, damageArmor, destroy, dropXp, getAbsorption, getAttacker, getAttacking, getAttributeContainer, getDamageTracker, getEffectInstance, getEyeHeight, getHandSwingProgress, getHeadRotation, getHealth, getLastAttackTime, getLastHurtTimestamp, getMaxHealth, getMovementSpeed, getNextAirUnderwater, getOpponent, getRandom, getRotation, getScoreboardTeam, getSoundPitch, getSoundVolume, getStatusEffectInstances, getStuckArrows, handleStatus, hasStatusEffect, hasStatusEffect, heal, initializeAttribute, isAffectedBySmite, isAlive, isBaby, isClimbing, isInSameTeam, isInTeam, isPushable, isSleeping, jump, method_2488, method_2489, method_2577, method_2582, method_2607, method_2610, method_2630, method_2634, method_2649, method_2658, method_2672, method_6105, method_6108, method_6109, method_6111, method_6117, method_6146, method_6149, method_6150, method_6152, method_8372, onKilled, pushAway, removeEffect, scheduleVelocityUpdate, sendPickup, setAbsorption, setAttacker, setHeadYaw, setHealth, setJumping, setSprinting, setStuckArrows, shouldAlwaysDropXp, swingHand, tickCramming, tickHandSwing, tickRiding, tickStatusEffects, travelMethods inherited from class net.minecraft.entity.Entity
addVelocity, afterSpawn, burn, canAvoidTraps, canClimb, canFly, checkBlockCollision, copyFrom, copyPosition, distanceTo, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, dropItem, enterNetherPortal, equals, extinguish, fromNbt, getAir, getBox, getBrightnessAtEyes, getDataTracker, getDefaultNetherPortalCooldown, getEntityId, getFlag, getHardCollisionBox, getHeightOffset, getLastNetherPortalAxis, getMaxNetherPortalTime, getMountedHeightOffset, getParts, getSavedEntityId, getTargetingMargin, getUuid, handleAttack, hashCode, hasVehicle, increaseTransforms, isAttackable, isFireImmune, isInsideWall, isInvisible, isInvisibleTo, isOnFire, isPartOf, isSneaking, isSprinting, isSubmergedIn, isSwimming, isTouchingWater, method_2469, method_2494, method_4444, method_4447, method_5379, method_6097, method_6344, method_8364, move, onKilledOther, onLightningStrike, onPlayerCollision, playSound, populateCrashReport, pushAwayFrom, pushOutOfBlocks, refreshPositionAndAngles, remove, saveSelfToNbt, saveToNbt, setAir, setBounds, setEntityId, setFlag, setInvisible, setOnFireFor, setOnFireFromLava, setRotation, setSneaking, setSwimming, setVelocityClient, setWorld, shouldRender, shouldRender, shouldSetPositionOnLoad, squaredDistanceTo, squaredDistanceTo, teleportToDimension, tickFire, toListNbt, toListNbt, toString, updateKilledAdvancementCriterion, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateVelocity, updateWaterState, writePlayerDataMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.entity.boss.BossBarProvider
getHealth, getMaxHealth, method_6344
-
Field Details
-
field_5371
- Mappings:
Namespace Name Mixin selector official bwLvn;bw:Lqv;intermediary field_5371Lnet/minecraft/class_1410;field_5371:Lnet/minecraft/class_1394;named field_5371Lnet/minecraft/entity/boss/WitherEntity;field_5371:Lnet/minecraft/entity/predicate/EntityPredicates;
-
sideHeadPitches
private float[] sideHeadPitches- Mappings:
Namespace Name Mixin selector official bpLvn;bp:[Fintermediary field_5372Lnet/minecraft/class_1410;field_5372:[Fnamed sideHeadPitchesLnet/minecraft/entity/boss/WitherEntity;sideHeadPitches:[F
-
sideHeadYaws
private float[] sideHeadYaws- Mappings:
Namespace Name Mixin selector official bqLvn;bq:[Fintermediary field_5373Lnet/minecraft/class_1410;field_5373:[Fnamed sideHeadYawsLnet/minecraft/entity/boss/WitherEntity;sideHeadYaws:[F
-
prevSideHeadPitches
private float[] prevSideHeadPitches- Mappings:
Namespace Name Mixin selector official brLvn;br:[Fintermediary field_5374Lnet/minecraft/class_1410;field_5374:[Fnamed prevSideHeadPitchesLnet/minecraft/entity/boss/WitherEntity;prevSideHeadPitches:[F
-
prevSideHeadYaws
private float[] prevSideHeadYaws- Mappings:
Namespace Name Mixin selector official bsLvn;bs:[Fintermediary field_5375Lnet/minecraft/class_1410;field_5375:[Fnamed prevSideHeadYawsLnet/minecraft/entity/boss/WitherEntity;prevSideHeadYaws:[F
-
field_5376
private int[] field_5376- Mappings:
Namespace Name Mixin selector official btLvn;bt:[Iintermediary field_5376Lnet/minecraft/class_1410;field_5376:[Inamed field_5376Lnet/minecraft/entity/boss/WitherEntity;field_5376:[I
-
field_5377
private int[] field_5377- Mappings:
Namespace Name Mixin selector official buLvn;bu:[Iintermediary field_5377Lnet/minecraft/class_1410;field_5377:[Inamed field_5377Lnet/minecraft/entity/boss/WitherEntity;field_5377:[I
-
field_5378
private int field_5378- Mappings:
Namespace Name Mixin selector official bvLvn;bv:Iintermediary field_5378Lnet/minecraft/class_1410;field_5378:Inamed field_5378Lnet/minecraft/entity/boss/WitherEntity;field_5378:I
-
-
Constructor Details
-
WitherEntity
- Mappings:
Namespace Name Mixin selector official <init>Lqm;<init>(Lafm;)Vintermediary <init>Lnet/minecraft/class_864;<init>(Lnet/minecraft/class_1150;)Vnamed <init>Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/world/World;)V
-
-
Method Details
-
initDataTracker
protected void initDataTracker()- Overrides:
initDataTrackerin classMobEntity- Mappings:
Namespace Name Mixin selector official cLqm;c()Vintermediary method_2484Lnet/minecraft/class_864;method_2484()Vnamed initDataTrackerLnet/minecraft/entity/Entity;initDataTracker()V
-
writeCustomDataToNbt
- Overrides:
writeCustomDataToNbtin classMobEntity- Mappings:
Namespace Name Mixin selector official bLqm;b(Ldg;)Vintermediary method_2528Lnet/minecraft/class_864;method_2528(Lnet/minecraft/class_322;)Vnamed writeCustomDataToNbtLnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
readCustomDataFromNbt
- Overrides:
readCustomDataFromNbtin classMobEntity- Mappings:
Namespace Name Mixin selector official aLqm;a(Ldg;)Vintermediary method_2498Lnet/minecraft/class_864;method_2498(Lnet/minecraft/class_322;)Vnamed readCustomDataFromNbtLnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
method_2475
- Overrides:
method_2475in classEntity- Mappings:
Namespace Name Mixin selector official YLqm;Y()Fintermediary method_2475Lnet/minecraft/class_864;method_2475()Fnamed method_2475Lnet/minecraft/entity/Entity;method_2475()F
-
getAmbientSound
- Overrides:
getAmbientSoundin classMobEntity- Mappings:
Namespace Name Mixin selector official tLrh;t()Ljava/lang/String;intermediary method_2603Lnet/minecraft/class_871;method_2603()Ljava/lang/String;named getAmbientSoundLnet/minecraft/entity/mob/MobEntity;getAmbientSound()Ljava/lang/String;
-
getHurtSound
- Overrides:
getHurtSoundin classHostileEntity- Mappings:
Namespace Name Mixin selector official aTLrg;aT()Ljava/lang/String;intermediary method_2604Lnet/minecraft/class_1699;method_2604()Ljava/lang/String;named getHurtSoundLnet/minecraft/entity/LivingEntity;getHurtSound()Ljava/lang/String;
-
getDeathSound
- Overrides:
getDeathSoundin classHostileEntity- Mappings:
Namespace Name Mixin selector official aULrg;aU()Ljava/lang/String;intermediary method_2605Lnet/minecraft/class_1699;method_2605()Ljava/lang/String;named getDeathSoundLnet/minecraft/entity/LivingEntity;getDeathSound()Ljava/lang/String;
-
tickMovement
public void tickMovement()- Overrides:
tickMovementin classHostileEntity- Mappings:
Namespace Name Mixin selector official eLrg;e()Vintermediary method_2651Lnet/minecraft/class_1699;method_2651()Vnamed tickMovementLnet/minecraft/entity/LivingEntity;tickMovement()V
-
mobTick
protected void mobTick() -
method_4537
public void method_4537()- Mappings:
Namespace Name Mixin selector official bXLvn;bX()Vintermediary method_4537Lnet/minecraft/class_1410;method_4537()Vnamed method_4537Lnet/minecraft/entity/boss/WitherEntity;method_4537()V
-
setInLava
public void setInLava() -
getArmorProtectionValue
public int getArmorProtectionValue()- Overrides:
getArmorProtectionValuein classLivingEntity- Mappings:
Namespace Name Mixin selector official aVLrg;aV()Iintermediary method_2601Lnet/minecraft/class_1699;method_2601()Inamed getArmorProtectionValueLnet/minecraft/entity/LivingEntity;getArmorProtectionValue()I
-
getHeadX
private double getHeadX(int headIndex) - Mappings:
Namespace Name Mixin selector official uLvn;u(I)Dintermediary method_4543Lnet/minecraft/class_1410;method_4543(I)Dnamed getHeadXLnet/minecraft/entity/boss/WitherEntity;getHeadX(I)D
-
getHeadY
private double getHeadY(int headIndex) - Mappings:
Namespace Name Mixin selector official vLvn;v(I)Dintermediary method_4544Lnet/minecraft/class_1410;method_4544(I)Dnamed getHeadYLnet/minecraft/entity/boss/WitherEntity;getHeadY(I)D
-
getHeadZ
private double getHeadZ(int headIndex) - Mappings:
Namespace Name Mixin selector official wLvn;w(I)Dintermediary method_4545Lnet/minecraft/class_1410;method_4545(I)Dnamed getHeadZLnet/minecraft/entity/boss/WitherEntity;getHeadZ(I)D
-
getNextAngle
private float getNextAngle(float prevAngle, float desiredAngle, float maxDifference) - Mappings:
Namespace Name Mixin selector official bLvn;b(FFF)Fintermediary method_4535Lnet/minecraft/class_1410;method_4535(FFF)Fnamed getNextAngleLnet/minecraft/entity/boss/WitherEntity;getNextAngle(FFF)F
-
shootSkullAt
- Mappings:
Namespace Name Mixin selector official aLvn;a(ILrg;)Vintermediary method_6303Lnet/minecraft/class_1410;method_6303(ILnet/minecraft/class_1699;)Vnamed shootSkullAtLnet/minecraft/entity/boss/WitherEntity;shootSkullAt(ILnet/minecraft/entity/LivingEntity;)V
-
shootSkullAt
private void shootSkullAt(int headIndex, double targetX, double targetY, double targetZ, boolean charged) - Mappings:
Namespace Name Mixin selector official aLvn;a(IDDDZ)Vintermediary method_4533Lnet/minecraft/class_1410;method_4533(IDDDZ)Vnamed shootSkullAtLnet/minecraft/entity/boss/WitherEntity;shootSkullAt(IDDDZ)V
-
rangedAttack
- Specified by:
rangedAttackin interfaceRangedAttackMob- Mappings:
Namespace Name Mixin selector official aLwt;a(Lrg;F)Vintermediary method_4552Lnet/minecraft/class_1413;method_4552(Lnet/minecraft/class_1699;F)Vnamed rangedAttackLnet/minecraft/entity/ai/RangedAttackMob;rangedAttack(Lnet/minecraft/entity/LivingEntity;F)V
-
damage
- Overrides:
damagein classHostileEntity- Mappings:
Namespace Name Mixin selector official aLqm;a(Lqa;F)Zintermediary method_2499Lnet/minecraft/class_864;method_2499(Lnet/minecraft/class_856;F)Znamed damageLnet/minecraft/entity/Entity;damage(Lnet/minecraft/entity/damage/DamageSource;F)Z
-
dropLoot
protected void dropLoot(boolean allowDrops, int lootingMultiplier) -
checkDespawn
protected void checkDespawn()- Overrides:
checkDespawnin classMobEntity- Mappings:
Namespace Name Mixin selector official wLrh;w()Vintermediary method_2632Lnet/minecraft/class_871;method_2632()Vnamed checkDespawnLnet/minecraft/entity/mob/MobEntity;checkDespawn()V
-
getLightmapCoordinates
- Overrides:
getLightmapCoordinatesin classEntity- Mappings:
Namespace Name Mixin selector official cLqm;c(F)Iintermediary method_2524Lnet/minecraft/class_864;method_2524(F)Inamed getLightmapCoordinatesLnet/minecraft/entity/Entity;getLightmapCoordinates(F)I
-
method_2490
protected void method_2490(float float2) - Overrides:
method_2490in classLivingEntity- Mappings:
Namespace Name Mixin selector official bLqm;b(F)Vintermediary method_2490Lnet/minecraft/class_864;method_2490(F)Vnamed method_2490Lnet/minecraft/entity/Entity;method_2490(F)V
-
addStatusEffect
- Overrides:
addStatusEffectin classLivingEntity- Mappings:
Namespace Name Mixin selector official cLrg;c(Lqi;)Vintermediary method_2654Lnet/minecraft/class_1699;method_2654(Lnet/minecraft/class_861;)Vnamed addStatusEffectLnet/minecraft/entity/LivingEntity;addStatusEffect(Lnet/minecraft/entity/effect/StatusEffectInstance;)V
-
shouldDropHead
protected boolean shouldDropHead()- Overrides:
shouldDropHeadin classMobEntity
-
initializeAttributes
protected void initializeAttributes()- Overrides:
initializeAttributesin classHostileEntity- Mappings:
Namespace Name Mixin selector official aDLrg;aD()Vintermediary method_6129Lnet/minecraft/class_1699;method_6129()Vnamed initializeAttributesLnet/minecraft/entity/LivingEntity;initializeAttributes()V
-
getHeadYaw
- Mappings:
Namespace Name Mixin selector official aLvn;a(I)Fintermediary method_4532Lnet/minecraft/class_1410;method_4532(I)Fnamed getHeadYawLnet/minecraft/entity/boss/WitherEntity;getHeadYaw(I)F
-
getHeadPitch
- Mappings:
Namespace Name Mixin selector official cLvn;c(I)Fintermediary method_4540Lnet/minecraft/class_1410;method_4540(I)Fnamed getHeadPitchLnet/minecraft/entity/boss/WitherEntity;getHeadPitch(I)F
-
getInvulnerabilityTime
public int getInvulnerabilityTime()- Mappings:
Namespace Name Mixin selector official bYLvn;bY()Iintermediary method_4538Lnet/minecraft/class_1410;method_4538()Inamed getInvulnerabilityTimeLnet/minecraft/entity/boss/WitherEntity;getInvulnerabilityTime()I
-
setInvulnerabilityTime
public void setInvulnerabilityTime(int time) - Mappings:
Namespace Name Mixin selector official sLvn;s(I)Vintermediary method_4541Lnet/minecraft/class_1410;method_4541(I)Vnamed setInvulnerabilityTimeLnet/minecraft/entity/boss/WitherEntity;setInvulnerabilityTime(I)V
-
getTrackedEntityId
public int getTrackedEntityId(int headIndex) - Mappings:
Namespace Name Mixin selector official tLvn;t(I)Iintermediary method_4542Lnet/minecraft/class_1410;method_4542(I)Inamed getTrackedEntityIdLnet/minecraft/entity/boss/WitherEntity;getTrackedEntityId(I)I
-
setTrackedEntityId
public void setTrackedEntityId(int headIndex, int id) - Mappings:
Namespace Name Mixin selector official bLvn;b(II)Vintermediary method_4536Lnet/minecraft/class_1410;method_4536(II)Vnamed setTrackedEntityIdLnet/minecraft/entity/boss/WitherEntity;setTrackedEntityId(II)V
-
shouldRenderOverlay
public boolean shouldRenderOverlay()- Mappings:
Namespace Name Mixin selector official bZLvn;bZ()Zintermediary method_4539Lnet/minecraft/class_1410;method_4539()Znamed shouldRenderOverlayLnet/minecraft/entity/boss/WitherEntity;shouldRenderOverlay()Z
-
getGroup
- Overrides:
getGroupin classLivingEntity- Mappings:
Namespace Name Mixin selector official bdLrg;bd()Lrk;intermediary method_2647Lnet/minecraft/class_1699;method_2647()Lnet/minecraft/class_873;named getGroupLnet/minecraft/entity/LivingEntity;getGroup()Lnet/minecraft/entity/EntityGroup;
-
startRiding
- Overrides:
startRidingin classEntity- Mappings:
Namespace Name Mixin selector official aLqm;a(Lqm;)Vintermediary method_2500Lnet/minecraft/class_864;method_2500(Lnet/minecraft/class_864;)Vnamed startRidingLnet/minecraft/entity/Entity;startRiding(Lnet/minecraft/entity/Entity;)V
-