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.mob.PathAwareEntity
net.minecraft.entity.mob.HostileEntity
net.minecraft.entity.boss.WitherEntity
- All Implemented Interfaces:
SkinOverlayOwner,RangedAttackMob,Monster,CommandOutput,Nameable,EntityLike
- Mappings:
Namespace Name official bpointermediary net/minecraft/class_1528named net/minecraft/entity/boss/WitherEntity
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class net.minecraft.entity.LivingEntity
LivingEntity.FallSoundsNested classes/interfaces inherited from class net.minecraft.entity.Entity
Entity.MoveEffect, Entity.PositionUpdater, Entity.RemovalReason -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intprivate final ServerBossBarprivate static final Predicate<LivingEntity>private final int[]private static final intprivate static final TargetPredicateprivate static final TrackedData<Integer>private final float[]private final float[]private final float[]private final float[]private final int[]private static final TrackedData<Integer>private static final TrackedData<Integer>private static final TrackedData<Integer>private static final List<TrackedData<Integer>>Fields inherited from class net.minecraft.entity.mob.PathAwareEntity
DEFAULT_PATHFINDING_FAVORFields inherited from class net.minecraft.entity.mob.MobEntity
ambientSoundChance, armorDropChances, BASE_ENCHANTED_ARMOR_CHANCE, BASE_ENCHANTED_MAIN_HAND_EQUIPMENT_CHANCE, BASE_SPAWN_EQUIPMENT_CHANCE, DEFAULT_CAN_PICKUP_LOOT_CHANCE, DEFAULT_DROP_CHANCE, experiencePoints, field_35039, field_38932, goalSelector, handDropChances, jumpControl, LEASH_KEY, lookControl, MINIMUM_DROPPED_XP_PER_EQUIPMENT, moveControl, navigation, targetSelectorFields inherited from class net.minecraft.entity.LivingEntity
activeItemStack, airStrafingSpeed, attackingPlayer, BABY_SCALE_FACTOR, bodyTrackingIncrements, bodyYaw, brain, dead, DEATH_TICKS, deathTime, defaultMaxHealth, despawnCounter, EQUIPMENT_SLOT_ID, field_30063, field_30067, field_30069, field_30070, field_30072, field_30074, field_30075, field_6215, forwardSpeed, GLOWING_FLAG, GRAVITY, handSwinging, handSwingProgress, handSwingTicks, headTrackingIncrements, headYaw, hurtTime, itemUseTimeLeft, jumping, knockbackVelocity, lastAttackedTicks, lastDamageTaken, lastHandSwingProgress, lastLimbDistance, limbAngle, limbDistance, LIVING_FLAGS, lookDirection, maxHurtTime, OFF_HAND_ACTIVE_FLAG, playerHitTimer, preferredHand, prevBodyYaw, prevHeadYaw, prevLookDirection, prevStepBobbingAmount, randomLargeSeed, randomSmallSeed, riptideTicks, roll, scoreAmount, serverHeadYaw, serverPitch, serverX, serverY, serverYaw, serverZ, sidewaysSpeed, SLEEPING_DIMENSIONS, stepBobbingAmount, stuckArrowTimer, stuckStingerTimer, upwardSpeed, USING_ITEM_FLAG, USING_RIPTIDE_FLAGFields inherited from class net.minecraft.entity.Entity
age, collidedSoftly, dataTracker, DEFAULT_FRICTION, DEFAULT_MIN_FREEZE_DAMAGE_TICKS, DEFAULT_PORTAL_COOLDOWN, distanceTraveled, FALL_FLYING_FLAG_INDEX, fallDistance, field_29991, field_36331, firstUpdate, FLAGS, fluidHeight, FREEZING_DAMAGE_INTERVAL, GLOWING_FLAG_INDEX, horizontalCollision, horizontalSpeed, ID_KEY, ignoreCameraFrustum, inNetherPortal, inPowderSnow, intersectionChecked, lastNetherPortalPosition, lastRenderX, lastRenderY, lastRenderZ, MAX_RIDING_COOLDOWN, MAX_SCOREBOARD_TAGS, MIN_RISING_BUBBLE_COLUMN_SPEED, movementMultiplier, netherPortalTime, noClip, ON_FIRE_FLAG_INDEX, onGround, PASSENGERS_KEY, POSE, prevHorizontalSpeed, prevPitch, prevX, prevY, prevYaw, prevZ, random, ridingCooldown, speed, stepHeight, submergedInWater, timeUntilRegen, touchingWater, uuid, UUID_KEY, uuidString, VELOCITY_AFFECTING_POS_Y_OFFSET, velocityDirty, velocityModified, verticalCollision, wasInPowderSnow, wasOnFire, worldFields inherited from interface net.minecraft.server.command.CommandOutput
DUMMYFields inherited from interface net.minecraft.entity.mob.Monster
NORMAL_MONSTER_XP, SMALL_MONSTER_XP, STRONG_MONSTER_XP, STRONGER_MONSTER_XP, WITHER_XP, ZERO_XP -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanaddStatusEffect(StatusEffectInstance effect, @Nullable Entity source) Adds a status effect to this entity.voidattack(LivingEntity target, float pullProgress) static booleancanDestroy(BlockState block) booleanprotected booleancanStartRiding(Entity entity) booleanvoidprotected EntityNavigationcreateNavigation(World world) booleandamage(DamageSource source, float amount) protected voiddropEquipment(DamageSource source, int lootingMultiplier, boolean allowDrops) protected SoundEventprotected SoundEventgetGroup()floatgetHeadPitch(int headIndex) private doublegetHeadX(int headIndex) private doublegetHeadY(int headIndex) floatgetHeadYaw(int headIndex) private doublegetHeadZ(int headIndex) protected SoundEventgetHurtSound(DamageSource source) intprivate floatgetNextAngle(float prevAngle, float desiredAngle, float maxDifference) intgetTrackedEntityId(int headIndex) booleanhandleFallDamage(float fallDistance, float damageMultiplier, DamageSource damageSource) protected voidprotected voidprotected voidmobTick()voidvoidvoidvoidvoidsetCustomName(@Nullable Text name) voidsetInvulTimer(int ticks) voidsetTrackedEntityId(int headIndex, int id) private voidshootSkullAt(int headIndex, double targetX, double targetY, double targetZ, boolean charged) private voidshootSkullAt(int headIndex, LivingEntity target) booleanvoidslowMovement(BlockState state, Vec3d multiplier) voidvoidMethods inherited from class net.minecraft.entity.mob.HostileEntity
canSpawnIgnoreLightLevel, canSpawnInDark, createHostileAttributes, getArrowType, getFallSounds, getPathfindingFavor, getSoundCategory, getSplashSound, getSwimSound, isAngryAt, isDisallowedInPeaceful, isSpawnDark, shouldDropLoot, shouldDropXp, updateDespawnCounterMethods inherited from class net.minecraft.entity.mob.PathAwareEntity
canSpawn, getFollowLeashSpeed, getPathfindingFavor, isNavigating, shouldFollowLeash, updateForLeashLength, updateLeashMethods inherited from class net.minecraft.entity.mob.MobEntity
attachLeash, baseTick, canBeLeashedBy, canEquip, canGather, canImmediatelyDespawn, canJumpToNextPathNode, canMobSpawn, canMoveVoluntarily, cannotDespawn, canPickupItem, canPickUpLoot, canSpawn, canTarget, canUseRangedWeapon, clearGoalsAndTasks, clearPositionTarget, convertTo, createBodyControl, createMobAttributes, detachLeash, dropLoot, enchantEquipment, enchantMainHandItem, equipLootStack, equipStack, getArmorItems, getDropChance, getEquipmentForSlot, getEquippedStack, getHoldingEntity, getItemPickUpRangeExpander, getItemsHand, getJumpControl, getLimitPerChunk, getLookControl, getLootContextBuilder, getLootTable, getLootTableId, getMainArm, getMaxHeadRotation, getMaxLookPitchChange, getMaxLookYawChange, getMinAmbientSoundDelay, getMoveControl, getNavigation, getPathfindingPenalty, getPickBlockStack, getPositionTarget, getPositionTargetRange, getPotentialEscapePositions, getSafeFallDistance, getTarget, getVisibilityCache, getXpToDrop, handleStatus, hasPositionTarget, initEquipment, initialize, interact, interactMob, isAffectedByDaylight, isAiDisabled, isAttacking, isInAttackRange, isInWalkTargetRange, isInWalkTargetRange, isLeashed, isLeftHanded, isLogicalSideForUpdatingMovement, isPersistent, lookAtEntity, loot, movesIndependently, onEatingGrass, onPlayerSpawnedChild, playAmbientSound, playHurtSound, playSpawnEffects, prefersNewDamageableItem, prefersNewEquipment, removeFromDimension, sendAiDebugData, setAiDisabled, setAttacking, setBaby, setCanPickUpLoot, setEquipmentDropChance, setForwardSpeed, setHoldingEntityId, setLeftHanded, setMovementSpeed, setPathfindingPenalty, setPersistent, setPositionTarget, setSidewaysSpeed, setTarget, setUpwardSpeed, spawnsTooManyForEachTry, squaredAttackRange, startRiding, swimUpward, tick, tickNewAi, tryAttack, tryEquip, turnHead, updateDropChances, updateEnchantments, updateGoalControlsMethods inherited from class net.minecraft.entity.LivingEntity
addPowderSnowSlowIfNeeded, addSoulSpeedBoostIfNeeded, addStatusEffect, animateDamage, applyArmorToDamage, applyDamage, applyFluidMovingSpeed, applyMovementEffects, applyMovementInput, attackLivingEntity, blockedByShield, canBeRiddenInWater, canBreatheInWater, canFreeze, canSee, canTakeDamage, canTarget, canWalkOnFluid, clearActiveItem, clearPotionSwirls, clearSleepingPosition, clearStatusEffects, collides, computeFallDamage, consumeItem, containsOnlyAmbientEffects, createBrainProfile, createLivingAttributes, createSpawnPacket, damageArmor, damageHelmet, damageShield, deserializeBrain, disableExperienceDropping, disablesShield, displaySoulSpeedEffects, drop, dropInventory, dropXp, eatFood, endCombat, enterCombat, fall, getAbsorptionAmount, getActiveEyeHeight, getActiveHand, getActiveItem, getActiveStatusEffects, getArmor, getArmorVisibility, getAttackDistanceScalingFactor, getAttacker, getAttacking, getAttributeBaseValue, getAttributeInstance, getAttributes, getAttributeValue, getBaseMovementSpeedMultiplier, getBodyYaw, getBoundingBox, getBrain, getClimbingPos, getDamageTracker, getDespawnCounter, getDimensions, getDrinkSound, getEatSound, getEyeHeight, getHandSwingProgress, getHeadYaw, getHealth, getItemUseTime, getItemUseTimeLeft, getJumpBoostVelocityModifier, getJumpVelocity, getLastAttackedTime, getLastAttackTime, getLeaningPitch, getMainHandStack, getMaxHealth, getMovementSpeed, getNextAirOnLand, getNextAirUnderwater, getOffHandStack, getPoses, getPreferredEquipmentSlot, getPrimeAdversary, getRandom, getRecentDamageSource, getRoll, getScaleFactor, getSleepingDirection, getSleepingPosition, getSoundPitch, getSoundVolume, getStackInHand, getStackReference, getStatusEffect, getStatusEffects, getStingerCount, getStuckArrowCount, getVelocityMultiplier, getVisibilityBoundingBox, getYaw, hasNoDrag, hasStackEquipped, hasStatusEffect, heal, hurtByWater, isAffectedBySplashPotions, isAlive, isArmorSlot, isBaby, isBlocking, isClimbing, isDead, isExperienceDroppingDisabled, isFallFlying, isGlowing, isHolding, isHolding, isHoldingOntoLadder, isImmobile, isInsideWall, isInSwimmingPose, isMobOrPlayer, isOnSoulSpeedBlock, isPartOfGame, isPushable, isSleeping, isTarget, isUndead, isUsingItem, isUsingRiptide, jump, kill, knockback, knockDownwards, lookAt, markEffectsDirty, modifyAppliedDamage, onAttacking, onDeath, onEquipStack, onKilledBy, onSpawnPacket, onStatusEffectApplied, onStatusEffectRemoved, onStatusEffectUpgraded, onTrackedDataSet, playBlockFallSound, playEquipSound, positionInPortal, positionInPortal, processEquippedStack, pushAway, pushAwayFrom, removePowderSnowSlow, removeSoulSpeedBoost, removeStatusEffect, removeStatusEffectInternal, sendEquipmentBreakStatus, sendPickup, sendToolBreakStatus, setAbsorptionAmount, setAttacker, setAttacking, setBodyYaw, setCurrentHand, setDespawnCounter, setHeadYaw, setHealth, setJumping, setLivingFlag, setNearbySongPlaying, setNoDrag, setOnGround, setSleepingPosition, setSprinting, setStackInHand, setStatusEffect, setStingerCount, setStuckArrowCount, shouldAlwaysDropXp, shouldDisplaySoulSpeedEffects, shouldRemoveSoulSpeedBoost, shouldRenderName, shouldSwimInFluids, sleep, spawnConsumptionEffects, stopRiding, stopUsingItem, swingHand, swingHand, takeKnockback, takeShieldHit, teleport, tickCramming, tickHandSwing, tickInVoid, tickItemStackUsage, tickRiding, tickRiptide, tickStatusEffects, travel, triggerItemPickedUpByEntityCriteria, updateLimbs, updatePostDeath, updatePotionVisibility, updateTrackedHeadRotation, updateTrackedPositionAndAngles, wakeUpMethods inherited from class net.minecraft.entity.Entity
addAirTravelEffects, addFlapEffects, addPassenger, addScoreboardTag, addVelocity, adjustMovementForCollisions, adjustMovementForPiston, adjustMovementForSneaking, applyDamageEffects, applyMirror, applyRotation, asMessageSender, attemptTickInVoid, bypassesLandingEffects, bypassesSteppingEffects, calculateBoundingBox, calculateBoundsForPose, calculateDimensions, calculateNextStepSoundDistance, canAddPassenger, canAvoidTraps, canBeSpectated, canExplosionDestroyBlock, canModifyAt, changeLookDirection, checkBlockCollision, collidesWith, collidesWithStateAtPos, copyFrom, copyPositionAndRotation, detach, discard, dismountVehicle, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, dropStack, dropStack, emitGameEvent, emitGameEvent, entityDataRequiresOperator, equals, extinguish, getAir, getBlockPos, getBlockStateAtPos, getBlockX, getBlockY, getBlockZ, getBodyY, getBoundingBox, getBrightnessAtEyes, getBurningDuration, getCameraPosVec, getChunkPos, getClientCameraPosVec, getCommandSource, getCustomName, getDataTracker, getDefaultName, getDefaultNetherPortalCooldown, getDisplayName, getEffectiveExplosionResistance, getEntityName, getEntityWorld, getEventSource, getEyeHeight, getEyePos, getEyeY, getFireTicks, getFirstPassenger, getFlag, getFluidHeight, getFreezingScale, getFrozenTicks, getHandPosOffset, getHeight, getHeightOffset, getHighSpeedSplashSound, getHorizontalFacing, getHoverEvent, getId, getItemsEquipped, getJumpVelocityMultiplier, getLandingBlockState, getLandingPos, getLeashOffset, getLeashPos, getLerpedPos, getMaxAir, getMaxNetherPortalTime, getMinFreezeDamageTicks, getMountedHeightOffset, getMoveEffect, getMovementDirection, getName, getOppositeRotationVector, getOppositeRotationVector, getParticleX, getParticleZ, getPassengerDismountOffset, getPassengerList, getPassengersDeep, getPermissionLevel, getPistonBehavior, getPitch, getPitch, getPortalRect, getPos, getPose, getPrimaryPassenger, getRandomBodyY, getRemovalReason, getRenderDistanceMultiplier, getRootVehicle, getRotationClient, getRotationVec, getRotationVecClient, getRotationVector, getRotationVector, getSavedEntityId, getScoreboardTags, getScoreboardTeam, getServer, getStandingEyeHeight, getSteppingBlockState, getSteppingPos, getSwimHeight, getSyncedPos, getTargetingMargin, getTeamColorValue, getTeleportTarget, getTrackedPosition, getType, getUuid, getUuidAsString, getVehicle, getVelocity, getVelocityAffectingPos, getWidth, getWorld, getX, getY, getYaw, getZ, handleAttack, hasCollidedSoftly, hasCustomName, hashCode, hasNetherPortalCooldown, hasNoGravity, hasPassenger, hasPassengerDeep, hasPassengers, hasPassengerType, hasPermissionLevel, hasPlayerRider, hasPrimaryPassenger, hasVehicle, hasWings, interactAt, isAttackable, isCollidable, isConnectedThroughVehicle, isCustomNameVisible, isDescending, isFireImmune, isFrozen, isGlowingLocal, isImmuneToExplosion, isInLava, isInPose, isInRange, isInRange, isInsideWaterOrBubbleColumn, isInSneakingPose, isInvisible, isInvisibleTo, isInvulnerable, isInvulnerableTo, isLiving, isOnFire, isOnGround, isPartOf, isPlayer, isPushedByFluids, isRegionUnloaded, isRemoved, isSilent, isSneaking, isSneaky, isSpectator, isSprinting, isSubmergedIn, isSubmergedInWater, isSwimming, isTeammate, isTeamPlayer, isTouchingWater, isTouchingWaterOrRain, isWet, move, moveToWorld, occludeVibrationSignals, offsetX, offsetZ, onBlockCollision, onBubbleColumnCollision, onBubbleColumnSurfaceCollision, onKilledOther, onLanding, onPassengerLookAround, onPlayerCollision, onRemoved, onStruckByLightning, onSwimmingStart, playExtinguishSound, playSound, playSoundIfNotSilent, playStepSound, playSwimSound, populateCrashReport, pushOutOfBlocks, raycast, readNbt, refreshPosition, refreshPositionAfterTeleport, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, remove, removeAllPassengers, removePassenger, removeScoreboardTag, requestTeleport, requestTeleportAndDismount, resetNetherPortalCooldown, resetPosition, saveNbt, saveSelfNbt, scheduleVelocityUpdate, sendMessage, setAir, setBoundingBox, setChangeListener, setCustomNameVisible, setFireTicks, setFlag, setFrozenTicks, setGlowing, setId, setInNetherPortal, setInPowderSnow, setInvisible, setInvulnerable, setNoGravity, setOnFire, setOnFireFor, setOnFireFromLava, setPitch, setPos, setPose, setPosition, setPosition, setRemoved, setRenderDistanceMultiplier, setRotation, setSilent, setSneaking, setSwimming, setUuid, setVelocity, setVelocity, setVelocityClient, setYaw, shouldBroadcastConsoleToOps, shouldEscapePowderSnow, shouldLeaveSwimmingPose, shouldReceiveFeedback, shouldRender, shouldRender, shouldSave, shouldSetPositionOnLoad, shouldSpawnSprintingParticles, shouldTrackOutput, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, startRiding, streamPassengersAndSelf, streamSelfAndPassengers, teleport, tickNetherPortal, tickNetherPortalCooldown, toNbtList, toNbtList, toString, tryCheckBlockCollision, unsetRemoved, updateEventHandler, updateKilledAdvancementCriterion, updateMovementInFluid, updatePassengerForDismount, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateSwimming, updateTrackedPosition, updateVelocity, updateWaterState, wouldPoseNotCollide, writeNbtMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.server.command.CommandOutput
cannotBeSilenced
-
Field Details
-
TRACKED_ENTITY_ID_1
- Mappings:
Namespace Name Mixin selector official bLbpo;b:Lzr;intermediary field_7088Lnet/minecraft/class_1528;field_7088:Lnet/minecraft/class_2940;named TRACKED_ENTITY_ID_1Lnet/minecraft/entity/boss/WitherEntity;TRACKED_ENTITY_ID_1:Lnet/minecraft/entity/data/TrackedData;
-
TRACKED_ENTITY_ID_2
- Mappings:
Namespace Name Mixin selector official cLbpo;c:Lzr;intermediary field_7090Lnet/minecraft/class_1528;field_7090:Lnet/minecraft/class_2940;named TRACKED_ENTITY_ID_2Lnet/minecraft/entity/boss/WitherEntity;TRACKED_ENTITY_ID_2:Lnet/minecraft/entity/data/TrackedData;
-
TRACKED_ENTITY_ID_3
- Mappings:
Namespace Name Mixin selector official dLbpo;d:Lzr;intermediary field_7089Lnet/minecraft/class_1528;field_7089:Lnet/minecraft/class_2940;named TRACKED_ENTITY_ID_3Lnet/minecraft/entity/boss/WitherEntity;TRACKED_ENTITY_ID_3:Lnet/minecraft/entity/data/TrackedData;
-
TRACKED_ENTITY_IDS
- Mappings:
Namespace Name Mixin selector official eLbpo;e:Ljava/util/List;intermediary field_7087Lnet/minecraft/class_1528;field_7087:Ljava/util/List;named TRACKED_ENTITY_IDSLnet/minecraft/entity/boss/WitherEntity;TRACKED_ENTITY_IDS:Ljava/util/List;
-
INVUL_TIMER
- Mappings:
Namespace Name Mixin selector official bXLbpo;bX:Lzr;intermediary field_7085Lnet/minecraft/class_1528;field_7085:Lnet/minecraft/class_2940;named INVUL_TIMERLnet/minecraft/entity/boss/WitherEntity;INVUL_TIMER:Lnet/minecraft/entity/data/TrackedData;
-
DEFAULT_INVUL_TIMER
private static final int DEFAULT_INVUL_TIMER- See Also:
- Mappings:
Namespace Name Mixin selector official bYLbpo;bY:Iintermediary field_30441Lnet/minecraft/class_1528;field_30441:Inamed DEFAULT_INVUL_TIMERLnet/minecraft/entity/boss/WitherEntity;DEFAULT_INVUL_TIMER:I
-
CAN_ATTACK_PREDICATE
- Mappings:
Namespace Name Mixin selector official chLbpo;ch:Ljava/util/function/Predicate;intermediary field_7086Lnet/minecraft/class_1528;field_7086:Ljava/util/function/Predicate;named CAN_ATTACK_PREDICATELnet/minecraft/entity/boss/WitherEntity;CAN_ATTACK_PREDICATE:Ljava/util/function/Predicate;
-
HEAD_TARGET_PREDICATE
- Mappings:
Namespace Name Mixin selector official ciLbpo;ci:Lblk;intermediary field_18125Lnet/minecraft/class_1528;field_18125:Lnet/minecraft/class_4051;named HEAD_TARGET_PREDICATELnet/minecraft/entity/boss/WitherEntity;HEAD_TARGET_PREDICATE:Lnet/minecraft/entity/ai/TargetPredicate;
-
sideHeadPitches
private final float[] sideHeadPitches- Mappings:
Namespace Name Mixin selector official bZLbpo;bZ:[Fintermediary field_7084Lnet/minecraft/class_1528;field_7084:[Fnamed sideHeadPitchesLnet/minecraft/entity/boss/WitherEntity;sideHeadPitches:[F
-
sideHeadYaws
private final float[] sideHeadYaws- Mappings:
Namespace Name Mixin selector official caLbpo;ca:[Fintermediary field_7083Lnet/minecraft/class_1528;field_7083:[Fnamed sideHeadYawsLnet/minecraft/entity/boss/WitherEntity;sideHeadYaws:[F
-
prevSideHeadPitches
private final float[] prevSideHeadPitches- Mappings:
Namespace Name Mixin selector official cbLbpo;cb:[Fintermediary field_7095Lnet/minecraft/class_1528;field_7095:[Fnamed prevSideHeadPitchesLnet/minecraft/entity/boss/WitherEntity;prevSideHeadPitches:[F
-
prevSideHeadYaws
private final float[] prevSideHeadYaws- Mappings:
Namespace Name Mixin selector official ccLbpo;cc:[Fintermediary field_7094Lnet/minecraft/class_1528;field_7094:[Fnamed prevSideHeadYawsLnet/minecraft/entity/boss/WitherEntity;prevSideHeadYaws:[F
-
skullCooldowns
private final int[] skullCooldowns- Mappings:
Namespace Name Mixin selector official cdLbpo;cd:[Iintermediary field_7091Lnet/minecraft/class_1528;field_7091:[Inamed skullCooldownsLnet/minecraft/entity/boss/WitherEntity;skullCooldowns:[I
-
chargedSkullCooldowns
private final int[] chargedSkullCooldowns- Mappings:
Namespace Name Mixin selector official ceLbpo;ce:[Iintermediary field_7092Lnet/minecraft/class_1528;field_7092:[Inamed chargedSkullCooldownsLnet/minecraft/entity/boss/WitherEntity;chargedSkullCooldowns:[I
-
blockBreakingCooldown
private int blockBreakingCooldown- Mappings:
Namespace Name Mixin selector official cfLbpo;cf:Iintermediary field_7082Lnet/minecraft/class_1528;field_7082:Inamed blockBreakingCooldownLnet/minecraft/entity/boss/WitherEntity;blockBreakingCooldown:I
-
bossBar
- Mappings:
Namespace Name Mixin selector official cgLbpo;cg:Lafl;intermediary field_7093Lnet/minecraft/class_1528;field_7093:Lnet/minecraft/class_3213;named bossBarLnet/minecraft/entity/boss/WitherEntity;bossBar:Lnet/minecraft/entity/boss/ServerBossBar;
-
-
Constructor Details
-
WitherEntity
- Mappings:
Namespace Name Mixin selector official <init>Lbas;<init>(Lbaw;Lcgc;)Vintermediary <init>Lnet/minecraft/class_1297;<init>(Lnet/minecraft/class_1299;Lnet/minecraft/class_1937;)Vnamed <init>Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/World;)V
-
-
Method Details
-
initGoals
protected void initGoals() -
initDataTracker
protected void initDataTracker()- Overrides:
initDataTrackerin classMobEntity- Mappings:
Namespace Name Mixin selector official a_Lbas;a_()Vintermediary method_5693Lnet/minecraft/class_1297;method_5693()Vnamed initDataTrackerLnet/minecraft/entity/Entity;initDataTracker()V
-
writeCustomDataToNbt
- Overrides:
writeCustomDataToNbtin classMobEntity- Mappings:
Namespace Name Mixin selector official bLbas;b(Lpj;)Vintermediary method_5652Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_2487;)Vnamed writeCustomDataToNbtLnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
readCustomDataFromNbt
- Overrides:
readCustomDataFromNbtin classMobEntity- Mappings:
Namespace Name Mixin selector official aLbas;a(Lpj;)Vintermediary method_5749Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_2487;)Vnamed readCustomDataFromNbtLnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
setCustomName
- Overrides:
setCustomNamein classEntity- Mappings:
Namespace Name Mixin selector official bLbas;b(Lrm;)Vintermediary method_5665Lnet/minecraft/class_1297;method_5665(Lnet/minecraft/class_2561;)Vnamed setCustomNameLnet/minecraft/entity/Entity;setCustomName(Lnet/minecraft/text/Text;)V
-
getAmbientSound
- Overrides:
getAmbientSoundin classMobEntity- Mappings:
Namespace Name Mixin selector official rLbbj;r()Lajd;intermediary method_5994Lnet/minecraft/class_1308;method_5994()Lnet/minecraft/class_3414;named getAmbientSoundLnet/minecraft/entity/mob/MobEntity;getAmbientSound()Lnet/minecraft/sound/SoundEvent;
-
getHurtSound
- Overrides:
getHurtSoundin classHostileEntity- Mappings:
Namespace Name Mixin selector official cLbbh;c(Lbab;)Lajd;intermediary method_6011Lnet/minecraft/class_1309;method_6011(Lnet/minecraft/class_1282;)Lnet/minecraft/class_3414;named getHurtSoundLnet/minecraft/entity/LivingEntity;getHurtSound(Lnet/minecraft/entity/damage/DamageSource;)Lnet/minecraft/sound/SoundEvent;
-
getDeathSound
- Overrides:
getDeathSoundin classHostileEntity- Mappings:
Namespace Name Mixin selector official x_Lbbh;x_()Lajd;intermediary method_6002Lnet/minecraft/class_1309;method_6002()Lnet/minecraft/class_3414;named getDeathSoundLnet/minecraft/entity/LivingEntity;getDeathSound()Lnet/minecraft/sound/SoundEvent;
-
tickMovement
public void tickMovement()- Overrides:
tickMovementin classHostileEntity- Mappings:
Namespace Name Mixin selector official w_Lbbh;w_()Vintermediary method_6007Lnet/minecraft/class_1309;method_6007()Vnamed tickMovementLnet/minecraft/entity/LivingEntity;tickMovement()V
-
mobTick
protected void mobTick() -
canDestroy
- Mappings:
Namespace Name Mixin selector official cLbpo;c(Lcut;)Zintermediary method_6883Lnet/minecraft/class_1528;method_6883(Lnet/minecraft/class_2680;)Znamed canDestroyLnet/minecraft/entity/boss/WitherEntity;canDestroy(Lnet/minecraft/block/BlockState;)Z
-
onSummoned
public void onSummoned()- Mappings:
Namespace Name Mixin selector official nLbpo;n()Vintermediary method_6885Lnet/minecraft/class_1528;method_6885()Vnamed onSummonedLnet/minecraft/entity/boss/WitherEntity;onSummoned()V
-
slowMovement
- Overrides:
slowMovementin classEntity- Mappings:
Namespace Name Mixin selector official aLbas;a(Lcut;Ldvv;)Vintermediary method_5844Lnet/minecraft/class_1297;method_5844(Lnet/minecraft/class_2680;Lnet/minecraft/class_243;)Vnamed slowMovementLnet/minecraft/entity/Entity;slowMovement(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/Vec3d;)V
-
onStartedTrackingBy
- Overrides:
onStartedTrackingByin classEntity- Mappings:
Namespace Name Mixin selector official cLbas;c(Lafp;)Vintermediary method_5837Lnet/minecraft/class_1297;method_5837(Lnet/minecraft/class_3222;)Vnamed onStartedTrackingByLnet/minecraft/entity/Entity;onStartedTrackingBy(Lnet/minecraft/server/network/ServerPlayerEntity;)V
-
onStoppedTrackingBy
- Overrides:
onStoppedTrackingByin classEntity- Mappings:
Namespace Name Mixin selector official dLbas;d(Lafp;)Vintermediary method_5742Lnet/minecraft/class_1297;method_5742(Lnet/minecraft/class_3222;)Vnamed onStoppedTrackingByLnet/minecraft/entity/Entity;onStoppedTrackingBy(Lnet/minecraft/server/network/ServerPlayerEntity;)V
-
getHeadX
private double getHeadX(int headIndex) - Mappings:
Namespace Name Mixin selector official tLbpo;t(I)Dintermediary method_6874Lnet/minecraft/class_1528;method_6874(I)Dnamed getHeadXLnet/minecraft/entity/boss/WitherEntity;getHeadX(I)D
-
getHeadY
private double getHeadY(int headIndex) - Mappings:
Namespace Name Mixin selector official uLbpo;u(I)Dintermediary method_6880Lnet/minecraft/class_1528;method_6880(I)Dnamed getHeadYLnet/minecraft/entity/boss/WitherEntity;getHeadY(I)D
-
getHeadZ
private double getHeadZ(int headIndex) - Mappings:
Namespace Name Mixin selector official vLbpo;v(I)Dintermediary method_6881Lnet/minecraft/class_1528;method_6881(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 aLbpo;a(FFF)Fintermediary method_6886Lnet/minecraft/class_1528;method_6886(FFF)Fnamed getNextAngleLnet/minecraft/entity/boss/WitherEntity;getNextAngle(FFF)F
-
shootSkullAt
- Mappings:
Namespace Name Mixin selector official aLbpo;a(ILbbh;)Vintermediary method_6878Lnet/minecraft/class_1528;method_6878(ILnet/minecraft/class_1309;)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 aLbpo;a(IDDDZ)Vintermediary method_6877Lnet/minecraft/class_1528;method_6877(IDDDZ)Vnamed shootSkullAtLnet/minecraft/entity/boss/WitherEntity;shootSkullAt(IDDDZ)V
-
attack
- Specified by:
attackin interfaceRangedAttackMob- Mappings:
Namespace Name Mixin selector official aLbqz;a(Lbbh;F)Vintermediary method_7105Lnet/minecraft/class_1603;method_7105(Lnet/minecraft/class_1309;F)Vnamed attackLnet/minecraft/entity/ai/RangedAttackMob;attack(Lnet/minecraft/entity/LivingEntity;F)V
-
damage
- Overrides:
damagein classLivingEntity- Mappings:
Namespace Name Mixin selector official aLbas;a(Lbab;F)Zintermediary method_5643Lnet/minecraft/class_1297;method_5643(Lnet/minecraft/class_1282;F)Znamed damageLnet/minecraft/entity/Entity;damage(Lnet/minecraft/entity/damage/DamageSource;F)Z
-
dropEquipment
- Overrides:
dropEquipmentin classMobEntity- Mappings:
Namespace Name Mixin selector official aLbbh;a(Lbab;IZ)Vintermediary method_6099Lnet/minecraft/class_1309;method_6099(Lnet/minecraft/class_1282;IZ)Vnamed dropEquipmentLnet/minecraft/entity/LivingEntity;dropEquipment(Lnet/minecraft/entity/damage/DamageSource;IZ)V
-
checkDespawn
public void checkDespawn()- Overrides:
checkDespawnin classMobEntity- Mappings:
Namespace Name Mixin selector official dnLbas;dn()Vintermediary method_5982Lnet/minecraft/class_1297;method_5982()Vnamed checkDespawnLnet/minecraft/entity/Entity;checkDespawn()V
-
handleFallDamage
public boolean handleFallDamage(float fallDistance, float damageMultiplier, DamageSource damageSource) - Overrides:
handleFallDamagein classLivingEntity- Mappings:
Namespace Name Mixin selector official aLbas;a(FFLbab;)Zintermediary method_5747Lnet/minecraft/class_1297;method_5747(FFLnet/minecraft/class_1282;)Znamed handleFallDamageLnet/minecraft/entity/Entity;handleFallDamage(FFLnet/minecraft/entity/damage/DamageSource;)Z
-
addStatusEffect
Adds a status effect to this entity.- Overrides:
addStatusEffectin classLivingEntity- Parameters:
effect- the effect to addsource- the source entity ornullfor non-entity sources- Returns:
- whether the active status effects of this entity has been modified
- Mappings:
Namespace Name Mixin selector official bLbbh;b(Lbal;Lbas;)Zintermediary method_37222Lnet/minecraft/class_1309;method_37222(Lnet/minecraft/class_1293;Lnet/minecraft/class_1297;)Znamed addStatusEffectLnet/minecraft/entity/LivingEntity;addStatusEffect(Lnet/minecraft/entity/effect/StatusEffectInstance;Lnet/minecraft/entity/Entity;)Z
-
createWitherAttributes
- Mappings:
Namespace Name Mixin selector official qLbpo;q()Lbch$a;intermediary method_26904Lnet/minecraft/class_1528;method_26904()Lnet/minecraft/class_5132$class_5133;named createWitherAttributesLnet/minecraft/entity/boss/WitherEntity;createWitherAttributes()Lnet/minecraft/entity/attribute/DefaultAttributeContainer$Builder;
-
getHeadYaw
public float getHeadYaw(int headIndex) - Mappings:
Namespace Name Mixin selector official aLbpo;a(I)Fintermediary method_6879Lnet/minecraft/class_1528;method_6879(I)Fnamed getHeadYawLnet/minecraft/entity/boss/WitherEntity;getHeadYaw(I)F
-
getHeadPitch
public float getHeadPitch(int headIndex) - Mappings:
Namespace Name Mixin selector official bLbpo;b(I)Fintermediary method_6887Lnet/minecraft/class_1528;method_6887(I)Fnamed getHeadPitchLnet/minecraft/entity/boss/WitherEntity;getHeadPitch(I)F
-
getInvulnerableTimer
public int getInvulnerableTimer()- Mappings:
Namespace Name Mixin selector official tLbpo;t()Iintermediary method_6884Lnet/minecraft/class_1528;method_6884()Inamed getInvulnerableTimerLnet/minecraft/entity/boss/WitherEntity;getInvulnerableTimer()I
-
setInvulTimer
public void setInvulTimer(int ticks) - Mappings:
Namespace Name Mixin selector official cLbpo;c(I)Vintermediary method_6875Lnet/minecraft/class_1528;method_6875(I)Vnamed setInvulTimerLnet/minecraft/entity/boss/WitherEntity;setInvulTimer(I)V
-
getTrackedEntityId
public int getTrackedEntityId(int headIndex) - Mappings:
Namespace Name Mixin selector official sLbpo;s(I)Iintermediary method_6882Lnet/minecraft/class_1528;method_6882(I)Inamed getTrackedEntityIdLnet/minecraft/entity/boss/WitherEntity;getTrackedEntityId(I)I
-
setTrackedEntityId
public void setTrackedEntityId(int headIndex, int id) - Mappings:
Namespace Name Mixin selector official aLbpo;a(II)Vintermediary method_6876Lnet/minecraft/class_1528;method_6876(II)Vnamed setTrackedEntityIdLnet/minecraft/entity/boss/WitherEntity;setTrackedEntityId(II)V
-
shouldRenderOverlay
public boolean shouldRenderOverlay()- Specified by:
shouldRenderOverlayin interfaceSkinOverlayOwner- Mappings:
Namespace Name Mixin selector official aLbbu;a()Zintermediary method_6872Lnet/minecraft/class_4582;method_6872()Znamed shouldRenderOverlayLnet/minecraft/client/render/entity/feature/SkinOverlayOwner;shouldRenderOverlay()Z
-
getGroup
- Overrides:
getGroupin classLivingEntity- Mappings:
Namespace Name Mixin selector official ezLbbh;ez()Lbbm;intermediary method_6046Lnet/minecraft/class_1309;method_6046()Lnet/minecraft/class_1310;named getGroupLnet/minecraft/entity/LivingEntity;getGroup()Lnet/minecraft/entity/EntityGroup;
-
canStartRiding
- Overrides:
canStartRidingin classEntity- Mappings:
Namespace Name Mixin selector official lLbas;l(Lbas;)Zintermediary method_5860Lnet/minecraft/class_1297;method_5860(Lnet/minecraft/class_1297;)Znamed canStartRidingLnet/minecraft/entity/Entity;canStartRiding(Lnet/minecraft/entity/Entity;)Z
-
canUsePortals
public boolean canUsePortals()- Overrides:
canUsePortalsin classEntity- Mappings:
Namespace Name Mixin selector official clLbas;cl()Zintermediary method_5822Lnet/minecraft/class_1297;method_5822()Znamed canUsePortalsLnet/minecraft/entity/Entity;canUsePortals()Z
-
canHaveStatusEffect
- Overrides:
canHaveStatusEffectin classLivingEntity- Mappings:
Namespace Name Mixin selector official cLbbh;c(Lbal;)Zintermediary method_6049Lnet/minecraft/class_1309;method_6049(Lnet/minecraft/class_1293;)Znamed canHaveStatusEffectLnet/minecraft/entity/LivingEntity;canHaveStatusEffect(Lnet/minecraft/entity/effect/StatusEffectInstance;)Z