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 bkf
intermediary net/minecraft/class_1528
named net/minecraft/entity/boss/WitherEntity
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.LivingEntity
LivingEntity.FallSounds
Nested classes/interfaces inherited from class net.minecraft.entity.Entity
Entity.MoveEffect, Entity.PositionUpdater, Entity.RemovalReason
-
Field Summary
Modifier and TypeFieldDescriptionprivate int
private final ServerBossBar
private static final Predicate<LivingEntity>
private final int[]
private static final int
private static final TargetPredicate
private 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
field_35670
Fields 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, goalSelector, handDropChances, jumpControl, LEASH_KEY, lookControl, moveControl, navigation, targetSelector
Fields inherited from class net.minecraft.entity.LivingEntity
activeItemStack, airStrafingSpeed, attackingPlayer, bodyTrackingIncrements, bodyYaw, brain, dead, deathTime, defaultMaxHealth, despawnCounter, field_30063, field_30067, field_30068, field_30069, field_30070, field_30071, field_30072, field_30073, field_30074, field_30075, field_30076, field_30077, field_6215, forwardSpeed, 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_FLAG
Fields 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_29974, field_29991, firstUpdate, FLAGS, fluidHeight, FREEZING_DAMAGE_INTERVAL, GLOWING_FLAG_INDEX, horizontalCollision, horizontalSpeed, ID_KEY, ignoreCameraFrustum, inanimate, inNetherPortal, inPowderSnow, lastNetherPortalPosition, lastRenderX, lastRenderY, lastRenderZ, LOGGER, MAX_RIDING_COOLDOWN, MAX_SCOREBOARD_TAGS, movementMultiplier, netherPortalTime, noClip, ON_FIRE_FLAG_INDEX, onGround, PASSENGERS_KEY, POSE, prevHorizontalSpeed, prevPitch, prevX, prevY, prevYaw, prevZ, random, ridingCooldown, speed, stepHeight, submergedFluidTag, submergedInWater, timeUntilRegen, touchingWater, uuid, UUID_KEY, uuidString, VELOCITY_AFFECTING_POS_Y_OFFSET, velocityDirty, velocityModified, verticalCollision, wasInPowderSnow, wasOnFire, world
Fields inherited from interface net.minecraft.server.command.CommandOutput
DUMMY
Fields 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
-
Method Summary
Modifier and TypeMethodDescriptionboolean
addStatusEffect
(StatusEffectInstance effect, @Nullable Entity source) Adds a status effect to this entity.void
attack
(LivingEntity target, float pullProgress) static boolean
canDestroy
(BlockState block) boolean
protected boolean
canStartRiding
(Entity entity) boolean
void
protected EntityNavigation
createNavigation
(World world) boolean
damage
(DamageSource source, float amount) protected void
dropEquipment
(DamageSource source, int lootingMultiplier, boolean allowDrops) protected SoundEvent
protected SoundEvent
getGroup()
float
getHeadPitch
(int headIndex) private double
getHeadX
(int headIndex) private double
getHeadY
(int headIndex) float
getHeadYaw
(int headIndex) private double
getHeadZ
(int headIndex) protected SoundEvent
getHurtSound
(DamageSource source) int
private float
getNextAngle
(float prevAngle, float desiredAngle, float maxDifference) int
getTrackedEntityId
(int headIndex) boolean
handleFallDamage
(float fallDistance, float damageMultiplier, DamageSource damageSource) protected void
protected void
protected void
mobTick()
void
void
void
void
void
setCustomName
(@Nullable Text name) void
setInvulTimer
(int ticks) void
setTrackedEntityId
(int headIndex, int id) private void
shootSkullAt
(int headIndex, double targetX, double targetY, double targetZ, boolean charged) private void
shootSkullAt
(int headIndex, LivingEntity target) boolean
void
slowMovement
(BlockState state, Vec3d multiplier) void
void
Methods inherited from class net.minecraft.entity.mob.HostileEntity
canSpawnIgnoreLightLevel, canSpawnInDark, createHostileAttributes, getArrowType, getFallSounds, getPathfindingFavor, getSoundCategory, getSplashSound, getSwimSound, isAngryAt, isDisallowedInPeaceful, isSpawnDark, shouldDropLoot, shouldDropXp, updateDespawnCounter
Methods inherited from class net.minecraft.entity.mob.PathAwareEntity
canSpawn, getPathfindingFavor, getRunFromLeashSpeed, isNavigating, updateForLeashLength, updateLeash
Methods inherited from class net.minecraft.entity.mob.MobEntity
attachLeash, baseTick, canBeControlledByRider, 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, getItemsHand, getJumpControl, getLimitPerChunk, getLookControl, getLootContextBuilder, getLootTable, getLootTableId, getMainArm, getMaxHeadRotation, getMaxLookPitchChange, getMaxLookYawChange, getMinAmbientSoundDelay, getMoveControl, getNavigation, getPathfindingPenalty, getPickBlockStack, getPositionTarget, getPositionTargetRange, getSafeFallDistance, getTarget, getVisibilityCache, getXpToDrop, handleStatus, hasPositionTarget, initEquipment, initialize, interact, interactMob, isAffectedByDaylight, isAiDisabled, isAttacking, 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, updateGoalControls
Methods inherited from class net.minecraft.entity.LivingEntity
addPowderSnowSlowIfNeeded, addSoulSpeedBoostIfNeeded, addStatusEffect, animateDamage, applyArmorToDamage, applyDamage, applyEnchantmentsToDamage, 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, displaySoulSpeedEffects, drop, dropInventory, dropXp, eatFood, endCombat, enterCombat, fall, getAbsorptionAmount, getActiveEyeHeight, getActiveHand, getActiveItem, getActiveStatusEffects, getArmor, getArmorVisibility, getAttackDistanceScalingFactor, getAttacker, getAttacking, getAttributeBaseValue, getAttributeInstance, getAttributes, getAttributeValue, getBaseMovementSpeedMultiplier, 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, isBaby, isBlocking, isClimbing, isDead, isFallFlying, isGlowing, isHolding, isHolding, isHoldingOntoLadder, isImmobile, isInsideWall, isInSwimmingPose, isMobOrPlayer, isOnSoulSpeedBlock, isPartOfGame, isPushable, isSleeping, isTarget, isUndead, isUsingItem, isUsingRiptide, jump, kill, knockback, knockDownwards, lookAt, markEffectsDirty, method_26317, onAttacking, onDeath, onEquipStack, onKilledBy, onStatusEffectApplied, onStatusEffectRemoved, onStatusEffectUpgraded, onTrackedDataSet, playBlockFallSound, positionInPortal, positionInPortal, processEquippedStack, pushAway, pushAwayFrom, readFromPacket, removePowderSnowSlow, removeSoulSpeedBoost, removeStatusEffect, removeStatusEffectInternal, scheduleVelocityUpdate, sendEquipmentBreakStatus, sendPickup, sendToolBreakStatus, setAbsorptionAmount, setAttacker, setAttacking, setBodyYaw, setCurrentHand, setDespawnCounter, setHeadYaw, setHealth, setJumping, setLivingFlag, setNearbySongPlaying, setNoDrag, setOnGround, setRiptideTicks, 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, wakeUp
Methods inherited from class net.minecraft.entity.Entity
addAirTravelEffects, addFlapEffects, addPassenger, addScoreboardTag, addVelocity, adjustMovementForCollisions, adjustMovementForPiston, adjustMovementForSneaking, applyDamageEffects, applyMirror, applyRotation, 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, emitGameEvent, emitGameEvent, entityDataRequiresOperator, equals, extinguish, getAir, getBlockPos, getBlockStateAtPos, getBlockX, getBlockY, getBlockZ, getBodyY, getBoundingBox, getBrightnessAtEyes, getBurningDuration, getCameraBlockPos, getCameraPosVec, getChunkPos, getClientCameraPosVec, getCommandSource, getCustomName, getDataTracker, getDefaultName, getDefaultNetherPortalCooldown, getDisplayName, getEffectiveExplosionResistance, getEntityName, getEntityWorld, getEyeHeight, getEyePos, getEyeY, getFireTicks, getFirstPassenger, getFlag, getFluidHeight, getFreezingScale, getFrozenTicks, getGameEventHandler, 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, getSwimHeight, 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, hasVehicle, hasWings, interactAt, isAttackable, isCollidable, isConnectedThroughVehicle, isCustomNameVisible, isDescending, isFireImmune, isFreezing, isGlowingLocal, isImmuneToExplosion, isInLava, 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, onSpawnPacket, onStruckByLightning, onSwimmingStart, playExtinguishSound, playSound, playStepSound, playSwimSound, populateCrashReport, pushOutOfBlocks, raycast, readNbt, refreshPosition, refreshPositionAfterTeleport, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, remove, removeAllPassengers, removePassenger, removeScoreboardTag, requestTeleport, requestTeleportAndDismount, resetNetherPortalCooldown, resetPosition, saveNbt, saveSelfNbt, sendSystemMessage, setAir, setBoundingBox, setCustomNameVisible, setFireTicks, setFlag, setFrozenTicks, setGlowing, setId, setInNetherPortal, setInPowderSnow, setInvisible, setInvulnerable, setListener, setNoGravity, setOnFire, setOnFireFor, setOnFireFromLava, setPitch, setPos, setPose, setPosition, setPosition, setRemoved, setRenderDistanceMultiplier, setRotation, setSilent, setSneaking, setSwimming, setUuid, setVelocity, setVelocity, setVelocityClient, setYaw, shouldBroadcastConsoleToOps, shouldLeaveSwimmingPose, shouldReceiveFeedback, shouldRender, shouldRender, shouldSave, shouldSetPositionOnLoad, shouldSpawnSprintingParticles, shouldTrackOutput, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, startRiding, streamPassengersAndSelf, streamSelfAndPassengers, teleport, tickNetherPortal, tickNetherPortalCooldown, toNbtList, toNbtList, toString, tryCheckBlockCollision, unsetRemoved, updateKilledAdvancementCriterion, updateMovementInFluid, updatePassengerForDismount, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateSwimming, updateTrackedPosition, updateTrackedPosition, updateVelocity, updateWaterState, wouldPoseNotCollide, writeNbt
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.minecraft.server.command.CommandOutput
cannotBeSilenced
-
Field Details
-
TRACKED_ENTITY_ID_1
- Mappings:
Namespace Name Mixin selector official b
Lbkf;b:Lxp;
intermediary field_7088
Lnet/minecraft/class_1528;field_7088:Lnet/minecraft/class_2940;
named TRACKED_ENTITY_ID_1
Lnet/minecraft/entity/boss/WitherEntity;TRACKED_ENTITY_ID_1:Lnet/minecraft/entity/data/TrackedData;
-
TRACKED_ENTITY_ID_2
- Mappings:
Namespace Name Mixin selector official c
Lbkf;c:Lxp;
intermediary field_7090
Lnet/minecraft/class_1528;field_7090:Lnet/minecraft/class_2940;
named TRACKED_ENTITY_ID_2
Lnet/minecraft/entity/boss/WitherEntity;TRACKED_ENTITY_ID_2:Lnet/minecraft/entity/data/TrackedData;
-
TRACKED_ENTITY_ID_3
- Mappings:
Namespace Name Mixin selector official d
Lbkf;d:Lxp;
intermediary field_7089
Lnet/minecraft/class_1528;field_7089:Lnet/minecraft/class_2940;
named TRACKED_ENTITY_ID_3
Lnet/minecraft/entity/boss/WitherEntity;TRACKED_ENTITY_ID_3:Lnet/minecraft/entity/data/TrackedData;
-
TRACKED_ENTITY_IDS
- Mappings:
Namespace Name Mixin selector official e
Lbkf;e:Ljava/util/List;
intermediary field_7087
Lnet/minecraft/class_1528;field_7087:Ljava/util/List;
named TRACKED_ENTITY_IDS
Lnet/minecraft/entity/boss/WitherEntity;TRACKED_ENTITY_IDS:Ljava/util/List;
-
INVUL_TIMER
- Mappings:
Namespace Name Mixin selector official bW
Lbkf;bW:Lxp;
intermediary field_7085
Lnet/minecraft/class_1528;field_7085:Lnet/minecraft/class_2940;
named INVUL_TIMER
Lnet/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 bX
Lbkf;bX:I
intermediary field_30441
Lnet/minecraft/class_1528;field_30441:I
named DEFAULT_INVUL_TIMER
Lnet/minecraft/entity/boss/WitherEntity;DEFAULT_INVUL_TIMER:I
-
CAN_ATTACK_PREDICATE
- Mappings:
Namespace Name Mixin selector official cg
Lbkf;cg:Ljava/util/function/Predicate;
intermediary field_7086
Lnet/minecraft/class_1528;field_7086:Ljava/util/function/Predicate;
named CAN_ATTACK_PREDICATE
Lnet/minecraft/entity/boss/WitherEntity;CAN_ATTACK_PREDICATE:Ljava/util/function/Predicate;
-
HEAD_TARGET_PREDICATE
- Mappings:
Namespace Name Mixin selector official ch
Lbkf;ch:Lbgn;
intermediary field_18125
Lnet/minecraft/class_1528;field_18125:Lnet/minecraft/class_4051;
named HEAD_TARGET_PREDICATE
Lnet/minecraft/entity/boss/WitherEntity;HEAD_TARGET_PREDICATE:Lnet/minecraft/entity/ai/TargetPredicate;
-
sideHeadPitches
private final float[] sideHeadPitches- Mappings:
Namespace Name Mixin selector official bY
Lbkf;bY:[F
intermediary field_7084
Lnet/minecraft/class_1528;field_7084:[F
named sideHeadPitches
Lnet/minecraft/entity/boss/WitherEntity;sideHeadPitches:[F
-
sideHeadYaws
private final float[] sideHeadYaws- Mappings:
Namespace Name Mixin selector official bZ
Lbkf;bZ:[F
intermediary field_7083
Lnet/minecraft/class_1528;field_7083:[F
named sideHeadYaws
Lnet/minecraft/entity/boss/WitherEntity;sideHeadYaws:[F
-
prevSideHeadPitches
private final float[] prevSideHeadPitches- Mappings:
Namespace Name Mixin selector official ca
Lbkf;ca:[F
intermediary field_7095
Lnet/minecraft/class_1528;field_7095:[F
named prevSideHeadPitches
Lnet/minecraft/entity/boss/WitherEntity;prevSideHeadPitches:[F
-
prevSideHeadYaws
private final float[] prevSideHeadYaws- Mappings:
Namespace Name Mixin selector official cb
Lbkf;cb:[F
intermediary field_7094
Lnet/minecraft/class_1528;field_7094:[F
named prevSideHeadYaws
Lnet/minecraft/entity/boss/WitherEntity;prevSideHeadYaws:[F
-
skullCooldowns
private final int[] skullCooldowns- Mappings:
Namespace Name Mixin selector official cc
Lbkf;cc:[I
intermediary field_7091
Lnet/minecraft/class_1528;field_7091:[I
named skullCooldowns
Lnet/minecraft/entity/boss/WitherEntity;skullCooldowns:[I
-
chargedSkullCooldowns
private final int[] chargedSkullCooldowns- Mappings:
Namespace Name Mixin selector official cd
Lbkf;cd:[I
intermediary field_7092
Lnet/minecraft/class_1528;field_7092:[I
named chargedSkullCooldowns
Lnet/minecraft/entity/boss/WitherEntity;chargedSkullCooldowns:[I
-
blockBreakingCooldown
private int blockBreakingCooldown- Mappings:
Namespace Name Mixin selector official ce
Lbkf;ce:I
intermediary field_7082
Lnet/minecraft/class_1528;field_7082:I
named blockBreakingCooldown
Lnet/minecraft/entity/boss/WitherEntity;blockBreakingCooldown:I
-
bossBar
- Mappings:
Namespace Name Mixin selector official cf
Lbkf;cf:Ladf;
intermediary field_7093
Lnet/minecraft/class_1528;field_7093:Lnet/minecraft/class_3213;
named bossBar
Lnet/minecraft/entity/boss/WitherEntity;bossBar:Lnet/minecraft/entity/boss/ServerBossBar;
-
-
Constructor Details
-
WitherEntity
- Mappings:
Namespace Name Mixin selector official <init>
Lawt;<init>(Lawx;Lcad;)V
intermediary <init>
Lnet/minecraft/class_1297;<init>(Lnet/minecraft/class_1299;Lnet/minecraft/class_1937;)V
named <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:
initDataTracker
in classMobEntity
- Mappings:
Namespace Name Mixin selector official a_
Lawt;a_()V
intermediary method_5693
Lnet/minecraft/class_1297;method_5693()V
named initDataTracker
Lnet/minecraft/entity/Entity;initDataTracker()V
-
writeCustomDataToNbt
- Overrides:
writeCustomDataToNbt
in classMobEntity
- Mappings:
Namespace Name Mixin selector official b
Lawt;b(Loc;)V
intermediary method_5652
Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_2487;)V
named writeCustomDataToNbt
Lnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
readCustomDataFromNbt
- Overrides:
readCustomDataFromNbt
in classMobEntity
- Mappings:
Namespace Name Mixin selector official a
Lawt;a(Loc;)V
intermediary method_5749
Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_2487;)V
named readCustomDataFromNbt
Lnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
setCustomName
- Overrides:
setCustomName
in classEntity
- Mappings:
Namespace Name Mixin selector official a
Lawt;a(Lpz;)V
intermediary method_5665
Lnet/minecraft/class_1297;method_5665(Lnet/minecraft/class_2561;)V
named setCustomName
Lnet/minecraft/entity/Entity;setCustomName(Lnet/minecraft/text/Text;)V
-
getAmbientSound
- Overrides:
getAmbientSound
in classMobEntity
- Mappings:
Namespace Name Mixin selector official r
Laxj;r()Lagu;
intermediary method_5994
Lnet/minecraft/class_1308;method_5994()Lnet/minecraft/class_3414;
named getAmbientSound
Lnet/minecraft/entity/mob/MobEntity;getAmbientSound()Lnet/minecraft/sound/SoundEvent;
-
getHurtSound
- Overrides:
getHurtSound
in classHostileEntity
- Mappings:
Namespace Name Mixin selector official c
Laxh;c(Lawd;)Lagu;
intermediary method_6011
Lnet/minecraft/class_1309;method_6011(Lnet/minecraft/class_1282;)Lnet/minecraft/class_3414;
named getHurtSound
Lnet/minecraft/entity/LivingEntity;getHurtSound(Lnet/minecraft/entity/damage/DamageSource;)Lnet/minecraft/sound/SoundEvent;
-
getDeathSound
- Overrides:
getDeathSound
in classHostileEntity
- Mappings:
Namespace Name Mixin selector official x_
Laxh;x_()Lagu;
intermediary method_6002
Lnet/minecraft/class_1309;method_6002()Lnet/minecraft/class_3414;
named getDeathSound
Lnet/minecraft/entity/LivingEntity;getDeathSound()Lnet/minecraft/sound/SoundEvent;
-
tickMovement
public void tickMovement()- Overrides:
tickMovement
in classHostileEntity
- Mappings:
Namespace Name Mixin selector official w_
Laxh;w_()V
intermediary method_6007
Lnet/minecraft/class_1309;method_6007()V
named tickMovement
Lnet/minecraft/entity/LivingEntity;tickMovement()V
-
mobTick
protected void mobTick() -
canDestroy
- Mappings:
Namespace Name Mixin selector official c
Lbkf;c(Lcoc;)Z
intermediary method_6883
Lnet/minecraft/class_1528;method_6883(Lnet/minecraft/class_2680;)Z
named canDestroy
Lnet/minecraft/entity/boss/WitherEntity;canDestroy(Lnet/minecraft/block/BlockState;)Z
-
onSummoned
public void onSummoned()- Mappings:
Namespace Name Mixin selector official n
Lbkf;n()V
intermediary method_6885
Lnet/minecraft/class_1528;method_6885()V
named onSummoned
Lnet/minecraft/entity/boss/WitherEntity;onSummoned()V
-
slowMovement
- Overrides:
slowMovement
in classEntity
- Mappings:
Namespace Name Mixin selector official a
Lawt;a(Lcoc;Ldom;)V
intermediary method_5844
Lnet/minecraft/class_1297;method_5844(Lnet/minecraft/class_2680;Lnet/minecraft/class_243;)V
named slowMovement
Lnet/minecraft/entity/Entity;slowMovement(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/Vec3d;)V
-
onStartedTrackingBy
- Overrides:
onStartedTrackingBy
in classEntity
- Mappings:
Namespace Name Mixin selector official c
Lawt;c(Ladj;)V
intermediary method_5837
Lnet/minecraft/class_1297;method_5837(Lnet/minecraft/class_3222;)V
named onStartedTrackingBy
Lnet/minecraft/entity/Entity;onStartedTrackingBy(Lnet/minecraft/server/network/ServerPlayerEntity;)V
-
onStoppedTrackingBy
- Overrides:
onStoppedTrackingBy
in classEntity
- Mappings:
Namespace Name Mixin selector official d
Lawt;d(Ladj;)V
intermediary method_5742
Lnet/minecraft/class_1297;method_5742(Lnet/minecraft/class_3222;)V
named onStoppedTrackingBy
Lnet/minecraft/entity/Entity;onStoppedTrackingBy(Lnet/minecraft/server/network/ServerPlayerEntity;)V
-
getHeadX
private double getHeadX(int headIndex) - Mappings:
Namespace Name Mixin selector official u
Lbkf;u(I)D
intermediary method_6874
Lnet/minecraft/class_1528;method_6874(I)D
named getHeadX
Lnet/minecraft/entity/boss/WitherEntity;getHeadX(I)D
-
getHeadY
private double getHeadY(int headIndex) - Mappings:
Namespace Name Mixin selector official v
Lbkf;v(I)D
intermediary method_6880
Lnet/minecraft/class_1528;method_6880(I)D
named getHeadY
Lnet/minecraft/entity/boss/WitherEntity;getHeadY(I)D
-
getHeadZ
private double getHeadZ(int headIndex) - Mappings:
Namespace Name Mixin selector official w
Lbkf;w(I)D
intermediary method_6881
Lnet/minecraft/class_1528;method_6881(I)D
named getHeadZ
Lnet/minecraft/entity/boss/WitherEntity;getHeadZ(I)D
-
getNextAngle
private float getNextAngle(float prevAngle, float desiredAngle, float maxDifference) - Mappings:
Namespace Name Mixin selector official a
Lbkf;a(FFF)F
intermediary method_6886
Lnet/minecraft/class_1528;method_6886(FFF)F
named getNextAngle
Lnet/minecraft/entity/boss/WitherEntity;getNextAngle(FFF)F
-
shootSkullAt
- Mappings:
Namespace Name Mixin selector official a
Lbkf;a(ILaxh;)V
intermediary method_6878
Lnet/minecraft/class_1528;method_6878(ILnet/minecraft/class_1309;)V
named shootSkullAt
Lnet/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 a
Lbkf;a(IDDDZ)V
intermediary method_6877
Lnet/minecraft/class_1528;method_6877(IDDDZ)V
named shootSkullAt
Lnet/minecraft/entity/boss/WitherEntity;shootSkullAt(IDDDZ)V
-
attack
- Specified by:
attack
in interfaceRangedAttackMob
- Mappings:
Namespace Name Mixin selector official a
Lblp;a(Laxh;F)V
intermediary method_7105
Lnet/minecraft/class_1603;method_7105(Lnet/minecraft/class_1309;F)V
named attack
Lnet/minecraft/entity/ai/RangedAttackMob;attack(Lnet/minecraft/entity/LivingEntity;F)V
-
damage
- Overrides:
damage
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official a
Lawt;a(Lawd;F)Z
intermediary method_5643
Lnet/minecraft/class_1297;method_5643(Lnet/minecraft/class_1282;F)Z
named damage
Lnet/minecraft/entity/Entity;damage(Lnet/minecraft/entity/damage/DamageSource;F)Z
-
dropEquipment
- Overrides:
dropEquipment
in classMobEntity
- Mappings:
Namespace Name Mixin selector official a
Laxh;a(Lawd;IZ)V
intermediary method_6099
Lnet/minecraft/class_1309;method_6099(Lnet/minecraft/class_1282;IZ)V
named dropEquipment
Lnet/minecraft/entity/LivingEntity;dropEquipment(Lnet/minecraft/entity/damage/DamageSource;IZ)V
-
checkDespawn
public void checkDespawn()- Overrides:
checkDespawn
in classMobEntity
- Mappings:
Namespace Name Mixin selector official dj
Lawt;dj()V
intermediary method_5982
Lnet/minecraft/class_1297;method_5982()V
named checkDespawn
Lnet/minecraft/entity/Entity;checkDespawn()V
-
handleFallDamage
public boolean handleFallDamage(float fallDistance, float damageMultiplier, DamageSource damageSource) - Overrides:
handleFallDamage
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official a
Lawt;a(FFLawd;)Z
intermediary method_5747
Lnet/minecraft/class_1297;method_5747(FFLnet/minecraft/class_1282;)Z
named handleFallDamage
Lnet/minecraft/entity/Entity;handleFallDamage(FFLnet/minecraft/entity/damage/DamageSource;)Z
-
addStatusEffect
Adds a status effect to this entity.- Overrides:
addStatusEffect
in classLivingEntity
- Parameters:
effect
- the effect to addsource
- the source entity ornull
for non-entity sources- Returns:
- whether the active status effects of this entity has been modified
- Mappings:
Namespace Name Mixin selector official b
Laxh;b(Lawn;Lawt;)Z
intermediary method_37222
Lnet/minecraft/class_1309;method_37222(Lnet/minecraft/class_1293;Lnet/minecraft/class_1297;)Z
named addStatusEffect
Lnet/minecraft/entity/LivingEntity;addStatusEffect(Lnet/minecraft/entity/effect/StatusEffectInstance;Lnet/minecraft/entity/Entity;)Z
-
createWitherAttributes
- Mappings:
Namespace Name Mixin selector official q
Lbkf;q()Layh$a;
intermediary method_26904
Lnet/minecraft/class_1528;method_26904()Lnet/minecraft/class_5132$class_5133;
named createWitherAttributes
Lnet/minecraft/entity/boss/WitherEntity;createWitherAttributes()Lnet/minecraft/entity/attribute/DefaultAttributeContainer$Builder;
-
getHeadYaw
public float getHeadYaw(int headIndex) - Mappings:
Namespace Name Mixin selector official a
Lbkf;a(I)F
intermediary method_6879
Lnet/minecraft/class_1528;method_6879(I)F
named getHeadYaw
Lnet/minecraft/entity/boss/WitherEntity;getHeadYaw(I)F
-
getHeadPitch
public float getHeadPitch(int headIndex) - Mappings:
Namespace Name Mixin selector official b
Lbkf;b(I)F
intermediary method_6887
Lnet/minecraft/class_1528;method_6887(I)F
named getHeadPitch
Lnet/minecraft/entity/boss/WitherEntity;getHeadPitch(I)F
-
getInvulnerableTimer
public int getInvulnerableTimer()- Mappings:
Namespace Name Mixin selector official t
Lbkf;t()I
intermediary method_6884
Lnet/minecraft/class_1528;method_6884()I
named getInvulnerableTimer
Lnet/minecraft/entity/boss/WitherEntity;getInvulnerableTimer()I
-
setInvulTimer
public void setInvulTimer(int ticks) - Mappings:
Namespace Name Mixin selector official s
Lbkf;s(I)V
intermediary method_6875
Lnet/minecraft/class_1528;method_6875(I)V
named setInvulTimer
Lnet/minecraft/entity/boss/WitherEntity;setInvulTimer(I)V
-
getTrackedEntityId
public int getTrackedEntityId(int headIndex) - Mappings:
Namespace Name Mixin selector official t
Lbkf;t(I)I
intermediary method_6882
Lnet/minecraft/class_1528;method_6882(I)I
named getTrackedEntityId
Lnet/minecraft/entity/boss/WitherEntity;getTrackedEntityId(I)I
-
setTrackedEntityId
public void setTrackedEntityId(int headIndex, int id) - Mappings:
Namespace Name Mixin selector official a
Lbkf;a(II)V
intermediary method_6876
Lnet/minecraft/class_1528;method_6876(II)V
named setTrackedEntityId
Lnet/minecraft/entity/boss/WitherEntity;setTrackedEntityId(II)V
-
shouldRenderOverlay
public boolean shouldRenderOverlay()- Specified by:
shouldRenderOverlay
in interfaceSkinOverlayOwner
- Mappings:
Namespace Name Mixin selector official a
Laxu;a()Z
intermediary method_6872
Lnet/minecraft/class_4582;method_6872()Z
named shouldRenderOverlay
Lnet/minecraft/client/render/entity/feature/SkinOverlayOwner;shouldRenderOverlay()Z
-
getGroup
- Overrides:
getGroup
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official eq
Laxh;eq()Laxm;
intermediary method_6046
Lnet/minecraft/class_1309;method_6046()Lnet/minecraft/class_1310;
named getGroup
Lnet/minecraft/entity/LivingEntity;getGroup()Lnet/minecraft/entity/EntityGroup;
-
canStartRiding
- Overrides:
canStartRiding
in classEntity
- Mappings:
Namespace Name Mixin selector official l
Lawt;l(Lawt;)Z
intermediary method_5860
Lnet/minecraft/class_1297;method_5860(Lnet/minecraft/class_1297;)Z
named canStartRiding
Lnet/minecraft/entity/Entity;canStartRiding(Lnet/minecraft/entity/Entity;)Z
-
canUsePortals
public boolean canUsePortals()- Overrides:
canUsePortals
in classEntity
- Mappings:
Namespace Name Mixin selector official ci
Lawt;ci()Z
intermediary method_5822
Lnet/minecraft/class_1297;method_5822()Z
named canUsePortals
Lnet/minecraft/entity/Entity;canUsePortals()Z
-
canHaveStatusEffect
- Overrides:
canHaveStatusEffect
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official c
Laxh;c(Lawn;)Z
intermediary method_6049
Lnet/minecraft/class_1309;method_6049(Lnet/minecraft/class_1293;)Z
named canHaveStatusEffect
Lnet/minecraft/entity/LivingEntity;canHaveStatusEffect(Lnet/minecraft/entity/effect/StatusEffectInstance;)Z