类 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
-
- 所有已实现的接口:
SkinOverlayOwner,RangedAttackMob,Monster,CommandOutput,Nameable,EntityLike
public class WitherEntity extends HostileEntity implements SkinOverlayOwner, RangedAttackMob
- Mappings:
Namespace Name official bftintermediary net/minecraft/class_1528named net/minecraft/entity/boss/WitherEntity
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 (专用程序包) classWitherEntity.DescendAtHalfHealthGoal-
从类继承的嵌套类/接口 net.minecraft.entity.Entity
Entity.MoveEffect, Entity.PositionUpdater, Entity.RemovalReason
-
-
字段概要
字段 修饰符和类型 字段 说明 private intblockBreakingCooldownprivate ServerBossBarbossBarprivate static Predicate<LivingEntity>CAN_ATTACK_PREDICATEprivate int[]chargedSkullCooldownsprivate static intDEFAULT_INVUL_TIMERprivate static TargetPredicateHEAD_TARGET_PREDICATEprivate static TrackedData<Integer>INVUL_TIMERprivate float[]prevSideHeadPitchesprivate float[]prevSideHeadYawsprivate float[]sideHeadPitchesprivate float[]sideHeadYawsprivate int[]skullCooldownsprivate static TrackedData<Integer>TRACKED_ENTITY_ID_1private static TrackedData<Integer>TRACKED_ENTITY_ID_2private static TrackedData<Integer>TRACKED_ENTITY_ID_3private static List<TrackedData<Integer>>TRACKED_ENTITY_IDS-
从类继承的字段 net.minecraft.entity.mob.MobEntity
ambientSoundChance, armorDropChances, experiencePoints, field_30083, field_30084, field_30085, field_30091, goalSelector, handDropChances, jumpControl, LEASH_KEY, lookControl, moveControl, navigation, targetSelector
-
从类继承的字段 net.minecraft.entity.LivingEntity
activeItemStack, attackingPlayer, bodyTrackingIncrements, bodyYaw, brain, dead, deathTime, defaultMaxHealth, despawnCounter, field_30063, field_30064, field_30065, field_30066, field_30067, field_30068, field_30069, field_30070, field_30071, field_30072, field_30073, field_30074, field_30075, field_30076, field_30077, field_6215, flyingSpeed, forwardSpeed, handSwinging, handSwingProgress, handSwingTicks, headTrackingIncrements, headYaw, hurtTime, itemUseTimeLeft, jumping, knockbackVelocity, lastAttackedTicks, lastDamageTaken, lastHandSwingProgress, lastLimbDistance, limbAngle, limbDistance, LIVING_FLAGS, lookDirection, maxHurtTime, playerHitTimer, preferredHand, prevBodyYaw, prevHeadYaw, prevLookDirection, prevStepBobbingAmount, randomLargeSeed, randomSmallSeed, riptideTicks, roll, scoreAmount, serverHeadYaw, serverPitch, serverX, serverY, serverYaw, serverZ, sidewaysSpeed, SLEEPING_DIMENSIONS, stepBobbingAmount, stuckArrowTimer, stuckStingerTimer, upwardSpeed
-
从类继承的字段 net.minecraft.entity.Entity
age, dataTracker, distanceTraveled, fallDistance, field_28627, field_29973, field_29974, field_29979, field_29980, field_29981, field_29987, field_29988, field_29989, field_29990, field_29991, field_29992, field_29993, firstUpdate, FLAGS, fluidHeight, glowing, horizontalCollision, horizontalSpeed, ID_KEY, ignoreCameraFrustum, inanimate, inNetherPortal, inPowderSnow, lastNetherPortalPosition, lastRenderX, lastRenderY, lastRenderZ, LOGGER, movementMultiplier, netherPortalTime, noClip, onGround, PASSENGERS_KEY, pitch, POSE, prevHorizontalSpeed, prevPitch, prevX, prevY, prevYaw, prevZ, random, ridingCooldown, stepHeight, submergedFluidTag, submergedInWater, timeUntilRegen, touchingWater, uuid, UUID_KEY, uuidString, velocityDirty, velocityModified, verticalCollision, wasInPowderSnow, wasOnFire, world, yaw
-
从接口继承的字段 net.minecraft.server.command.CommandOutput
DUMMY
-
从接口继承的字段 net.minecraft.entity.mob.Monster
field_30464, field_30465, field_30466, field_30467, field_30468, field_30469
-
-
构造器概要
构造器 构造器 说明 WitherEntity(EntityType<? extends WitherEntity> type, World world)
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 booleanaddStatusEffect(StatusEffectInstance effect)voidattack(LivingEntity target, float pullProgress)static booleancanDestroy(BlockState block)booleancanHaveStatusEffect(StatusEffectInstance effect)protected booleancanStartRiding(Entity entity)booleancanUsePortals()voidcheckDespawn()static DefaultAttributeContainer.BuildercreateWitherAttributes()booleandamage(DamageSource source, float amount)protected voiddropEquipment(DamageSource source, int lootingMultiplier, boolean allowDrops)protected SoundEventgetAmbientSound()protected SoundEventgetDeathSound()EntityGroupgetGroup()floatgetHeadPitch(int headIndex)private doublegetHeadX(int headIndex)private doublegetHeadY(int headIndex)floatgetHeadYaw(int headIndex)private doublegetHeadZ(int headIndex)protected SoundEventgetHurtSound(DamageSource source)intgetInvulnerableTimer()private floatgetNextAngle(float prevAngle, float desiredAngle, float maxDifference)intgetTrackedEntityId(int headIndex)booleanhandleFallDamage(float fallDistance, float damageMultiplier, DamageSource damageSource)protected voidinitDataTracker()protected voidinitGoals()protected voidmobTick()voidonStartedTrackingBy(ServerPlayerEntity player)voidonStoppedTrackingBy(ServerPlayerEntity player)voidonSummoned()voidreadCustomDataFromNbt(CompoundTag nbt)voidsetCustomName(@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)booleanshouldRenderOverlay()voidslowMovement(BlockState state, Vec3d multiplier)voidtickMovement()voidwriteCustomDataToNbt(CompoundTag nbt)-
从类继承的方法 net.minecraft.entity.mob.HostileEntity
canSpawnIgnoreLightLevel, canSpawnInDark, createHostileAttributes, getArrowType, getFallSound, getPathfindingFavor, getSoundCategory, getSplashSound, getSwimSound, isAngryAt, isDisallowedInPeaceful, isSpawnDark, shouldDropLoot, shouldDropXp, updateDespawnCounter
-
从类继承的方法 net.minecraft.entity.mob.PathAwareEntity
canSpawn, getPathfindingFavor, getRunFromLeashSpeed, isNavigating, updateForLeashLength, updateLeash
-
从类继承的方法 net.minecraft.entity.mob.MobEntity
attachLeash, baseTick, canBeControlledByRider, canBeLeashedBy, canEquip, canGather, canImmediatelyDespawn, canMobSpawn, canMoveVoluntarily, cannotDespawn, canPickupItem, canPickUpLoot, canSpawn, canTarget, canTarget, canUseRangedWeapon, clearGoalsAndTasks, convertTo, createBodyControl, createMobAttributes, createNavigation, detachLeash, dropLoot, enchantEquipment, enchantMainHandItem, equipLootStack, equipStack, getArmorItems, getBodyYawSpeed, getDropChance, getEquipmentForSlot, getEquippedStack, getHoldingEntity, getItemsHand, getJumpControl, getLimitPerChunk, getLookControl, getLookPitchSpeed, getLookYawSpeed, getLootContextBuilder, getLootTable, getLootTableId, getMainArm, 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, method_29244, method_35055, 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
-
从类继承的方法 net.minecraft.entity.LivingEntity
addPowderSnowSlowIfNeeded, addSoulSpeedBoostIfNeeded, animateDamage, applyArmorToDamage, applyDamage, applyEnchantmentsToDamage, applyMovementEffects, applyStatusEffect, attackLivingEntity, canBeRiddenInWater, canBreatheInWater, canFreeze, canSee, canTakeDamage, canWalkOnFluid, clearActiveItem, clearPotionSwirls, clearSleepingPosition, clearStatusEffects, collides, computeFallDamage, consumeItem, containsOnlyAmbientEffects, createBrainProfile, createLivingAttributes, createSpawnPacket, damageArmor, 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, getBlockState, getBoundingBox, getBrain, getClimbingPos, getCommandItemSlot, getDamageTracker, getDespawnCounter, getDimensions, getDrinkSound, getEatSound, getEyeHeight, getHandSwingProgress, getHeadYaw, getHealth, getItemUseTime, getItemUseTimeLeft, getJumpVelocity, getLastAttackedTime, getLastAttackTime, getLeaningPitch, getMainHandStack, getMaxHealth, getMovementSpeed, getNextAirOnLand, getNextAirUnderwater, getOffHandStack, getPoses, getPreferredEquipmentSlot, getPrimeAdversary, getRandom, getRecentDamageSource, getRoll, getScaleFactor, getSleepingDirection, getSleepingPosition, getSoundPitch, getSoundVolume, getStackInHand, getStatusEffect, getStatusEffects, getStingerCount, getStuckArrowCount, getVelocityMultiplier, getVisibilityBoundingBox, getYaw, hasStackEquipped, hasStatusEffect, heal, hurtByWater, isAffectedBySplashPotions, isAlive, isBaby, isBlocking, isClimbing, isDead, isFallFlying, isHolding, isHolding, isHoldingOntoLadder, isImmobile, isInsideWall, isInSwimmingPose, isMobOrPlayer, isOnSoulSpeedBlock, isPushable, isSleeping, isTarget, isUndead, isUsingItem, isUsingRiptide, jump, kill, knockback, knockDownwards, lookAt, markEffectsDirty, method_26317, method_26318, method_35053, method_35054, onAttacking, onDeath, onEquipStack, onKilledBy, onStatusEffectApplied, onStatusEffectRemoved, onStatusEffectUpgraded, onTrackedDataSet, playBlockFallSound, positionInPortal, positionInPortal, pushAway, pushAwayFrom, readFromPacket, removePowderSnowSlow, removeSoulSpeedBoost, removeStatusEffect, removeStatusEffectInternal, scheduleVelocityUpdate, sendEquipmentBreakStatus, sendPickup, sendToolBreakStatus, setAbsorptionAmount, setAttacker, setAttacking, setCurrentHand, setDespawnCounter, setHeadYaw, setHealth, setJumping, setLivingFlag, setNearbySongPlaying, setOnGround, setRiptideTicks, setSleepingPosition, setSprinting, setStackInHand, setStingerCount, setStuckArrowCount, setYaw, shouldAlwaysDropXp, shouldDisplaySoulSpeedEffects, shouldRemoveSoulSpeedBoost, shouldRenderName, shouldSwimInFluids, sleep, spawnConsumptionEffects, stopRiding, stopUsingItem, swingHand, swingHand, takeKnockback, takeShieldHit, teleport, tickCramming, tickHandSwing, tickInVoid, tickRiding, tickRiptide, tickStatusEffects, travel, triggerItemPickedUpByEntityCriteria, updateLimbs, updatePostDeath, updatePotionVisibility, updateTrackedHeadRotation, updateTrackedPositionAndAngles, wakeUp
-
从类继承的方法 net.minecraft.entity.Entity
addAirTravelEffects, addFlapEffects, addPassenger, addScoreboardTag, addVelocity, adjustMovementForCollisions, adjustMovementForCollisions, adjustMovementForPiston, adjustMovementForSneaking, adjustSingleAxisMovementForCollisions, applyMirror, applyRotation, attemptTickInVoid, bypassesLandingEffects, bypassesSteppingEffects, calculateBoundingBox, calculateBoundsForPose, calculateDimensions, calculateNextStepSoundDistance, canAddPassenger, canAvoidTraps, canBeSpectated, canExplosionDestroyBlock, changeLookDirection, checkBlockCollision, collidesWith, collidesWithStateAtPos, copyFrom, copyPositionAndRotation, dealDamage, detach, discard, dismountVehicle, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, dropStack, dropStack, emitGameEvent, emitGameEvent, emitGameEvent, emitGameEvent, entityDataRequiresOperator, equals, extinguish, getAir, getBlockPos, 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, getLerpedPos, getMaxAir, getMaxNetherPortalTime, getMinFreezeDamageTicks, getMountedHeightOffset, getMoveEffect, getMovementDirection, getName, getOppositeRotationVector, getOppositeRotationVector, getParticleX, getParticleZ, getPassengerDismountOffset, getPassengerList, getPassengersDeep, getPermissionLevel, getPistonBehavior, 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, getX, getY, getZ, handleAttack, hasCustomName, hashCode, hasNetherPortalCooldown, hasNoGravity, hasPassenger, hasPassengerDeep, hasPassengers, hasPassengerType, hasPermissionLevel, hasPlayerRider, hasVehicle, hasWings, interactAt, isAttackable, isCollidable, isConnectedThroughVehicle, isCustomNameVisible, isDescending, isFireImmune, isFreezing, isGlowing, 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, method_30951, method_36209, move, moveToWorld, occludeVibrationSignals, offsetX, offsetZ, onBlockCollision, onBubbleColumnCollision, onBubbleColumnSurfaceCollision, onKilledOther, onPassengerLookAround, onPlayerCollision, onSpawnPacket, onStruckByLightning, onSwimmingStart, 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, setEntityId, setFireTicks, setFlag, setFrozenTicks, setGlowing, setInNetherPortal, setInPowderSnow, setInvisible, setInvulnerable, setListener, setNoGravity, setOnFire, setOnFireFor, setOnFireFromLava, setPos, setPose, setPosition, setPosition, setRemoved, setRenderDistanceMultiplier, setRotation, setSilent, setSneaking, setSwimming, setUuid, setVelocity, setVelocity, setVelocityClient, shouldBroadcastConsoleToOps, shouldLeaveSwimmingPose, shouldReceiveFeedback, shouldRender, shouldRender, shouldSave, shouldSetPositionOnLoad, shouldSpawnSprintingParticles, shouldTrackOutput, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, squaredHorizontalLength, startRiding, streamPassengersAndSelf, streamSelfAndPassengers, teleport, tickNetherPortal, tickNetherPortalCooldown, toNbtList, toNbtList, toString, unsetRemoved, updateKilledAdvancementCriterion, updateMovementInFluid, updatePassengerForDismount, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateSwimming, updateTrackedPosition, updateTrackedPosition, updateVelocity, updateWaterState, wouldPoseNotCollide, writeNbt
-
-
-
-
字段详细资料
-
TRACKED_ENTITY_ID_1
private static final TrackedData<Integer> TRACKED_ENTITY_ID_1
- Mappings:
Namespace Name Mixin selector official bLbft;b:Lvy;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
private static final TrackedData<Integer> TRACKED_ENTITY_ID_2
- Mappings:
Namespace Name Mixin selector official cLbft;c:Lvy;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
private static final TrackedData<Integer> TRACKED_ENTITY_ID_3
- Mappings:
Namespace Name Mixin selector official dLbft;d:Lvy;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
private static final List<TrackedData<Integer>> TRACKED_ENTITY_IDS
- Mappings:
Namespace Name Mixin selector official eLbft;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
private static final TrackedData<Integer> INVUL_TIMER
- Mappings:
Namespace Name Mixin selector official bVLbft;bV:Lvy;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
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official bWLbft;bW:Iintermediary field_30441Lnet/minecraft/class_1528;field_30441:Inamed DEFAULT_INVUL_TIMERLnet/minecraft/entity/boss/WitherEntity;DEFAULT_INVUL_TIMER:I
-
CAN_ATTACK_PREDICATE
private static final Predicate<LivingEntity> CAN_ATTACK_PREDICATE
- Mappings:
Namespace Name Mixin selector official cfLbft;cf: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
private static final TargetPredicate HEAD_TARGET_PREDICATE
- Mappings:
Namespace Name Mixin selector official cgLbft;cg:Lbcb;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 bXLbft;bX:[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 bYLbft;bY:[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 bZLbft;bZ:[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 caLbft;ca:[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 cbLbft;cb:[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 ccLbft;cc:[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 cdLbft;cd:Iintermediary field_7082Lnet/minecraft/class_1528;field_7082:Inamed blockBreakingCooldownLnet/minecraft/entity/boss/WitherEntity;blockBreakingCooldown:I
-
bossBar
private final ServerBossBar bossBar
- Mappings:
Namespace Name Mixin selector official ceLbft;ce:Labg;intermediary field_7093Lnet/minecraft/class_1528;field_7093:Lnet/minecraft/class_3213;named bossBarLnet/minecraft/entity/boss/WitherEntity;bossBar:Lnet/minecraft/entity/boss/ServerBossBar;
-
-
构造器详细资料
-
WitherEntity
public WitherEntity(EntityType<? extends WitherEntity> type, World world)
- Mappings:
Namespace Name Mixin selector official <init>Lasl;<init>(Lasp;Lbvr;)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
-
-
方法详细资料
-
initGoals
protected void initGoals()
-
initDataTracker
protected void initDataTracker()
- 覆盖:
initDataTracker在类中MobEntity- Mappings:
Namespace Name Mixin selector official eLasl;e()Vintermediary method_5693Lnet/minecraft/class_1297;method_5693()Vnamed initDataTrackerLnet/minecraft/entity/Entity;initDataTracker()V
-
writeCustomDataToNbt
public void writeCustomDataToNbt(CompoundTag nbt)
- 覆盖:
writeCustomDataToNbt在类中MobEntity- Mappings:
Namespace Name Mixin selector official bLasl;b(Lmv;)Vintermediary method_5652Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_2487;)Vnamed writeCustomDataToNbtLnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/CompoundTag;)V
-
readCustomDataFromNbt
public void readCustomDataFromNbt(CompoundTag nbt)
- 覆盖:
readCustomDataFromNbt在类中MobEntity- Mappings:
Namespace Name Mixin selector official aLasl;a(Lmv;)Vintermediary method_5749Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_2487;)Vnamed readCustomDataFromNbtLnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/CompoundTag;)V
-
setCustomName
public void setCustomName(@Nullable @Nullable Text name)
- 覆盖:
setCustomName在类中Entity- Mappings:
Namespace Name Mixin selector official aLasl;a(Lon;)Vintermediary method_5665Lnet/minecraft/class_1297;method_5665(Lnet/minecraft/class_2561;)Vnamed setCustomNameLnet/minecraft/entity/Entity;setCustomName(Lnet/minecraft/text/Text;)V
-
getAmbientSound
protected SoundEvent getAmbientSound()
- 覆盖:
getAmbientSound在类中MobEntity- Mappings:
Namespace Name Mixin selector official pLasz;p()Laev;intermediary method_5994Lnet/minecraft/class_1308;method_5994()Lnet/minecraft/class_3414;named getAmbientSoundLnet/minecraft/entity/mob/MobEntity;getAmbientSound()Lnet/minecraft/sound/SoundEvent;
-
getHurtSound
protected SoundEvent getHurtSound(DamageSource source)
- 覆盖:
getHurtSound在类中HostileEntity- Mappings:
Namespace Name Mixin selector official cLasy;c(Larv;)Laev;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
protected SoundEvent getDeathSound()
- 覆盖:
getDeathSound在类中HostileEntity- Mappings:
Namespace Name Mixin selector official qLasy;q()Laev;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()
- 覆盖:
tickMovement在类中HostileEntity- Mappings:
Namespace Name Mixin selector official kLasy;k()Vintermediary method_6007Lnet/minecraft/class_1309;method_6007()Vnamed tickMovementLnet/minecraft/entity/LivingEntity;tickMovement()V
-
mobTick
protected void mobTick()
-
canDestroy
public static boolean canDestroy(BlockState block)
- Mappings:
Namespace Name Mixin selector official cLbft;c(Lcjr;)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 mLbft;m()Vintermediary method_6885Lnet/minecraft/class_1528;method_6885()Vnamed onSummonedLnet/minecraft/entity/boss/WitherEntity;onSummoned()V
-
slowMovement
public void slowMovement(BlockState state, Vec3d multiplier)
- 覆盖:
slowMovement在类中Entity- Mappings:
Namespace Name Mixin selector official aLasl;a(Lcjr;Ldma;)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
public void onStartedTrackingBy(ServerPlayerEntity player)
- 覆盖:
onStartedTrackingBy在类中Entity- Mappings:
Namespace Name Mixin selector official cLasl;c(Labk;)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
public void onStoppedTrackingBy(ServerPlayerEntity player)
- 覆盖:
onStoppedTrackingBy在类中Entity- Mappings:
Namespace Name Mixin selector official dLasl;d(Labk;)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 vLbft;v(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 wLbft;w(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 xLbft;x(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 aLbft;a(FFF)Fintermediary method_6886Lnet/minecraft/class_1528;method_6886(FFF)Fnamed getNextAngleLnet/minecraft/entity/boss/WitherEntity;getNextAngle(FFF)F
-
shootSkullAt
private void shootSkullAt(int headIndex, LivingEntity target)- Mappings:
Namespace Name Mixin selector official aLbft;a(ILasy;)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 aLbft;a(IDDDZ)Vintermediary method_6877Lnet/minecraft/class_1528;method_6877(IDDDZ)Vnamed shootSkullAtLnet/minecraft/entity/boss/WitherEntity;shootSkullAt(IDDDZ)V
-
attack
public void attack(LivingEntity target, float pullProgress)
- 指定者:
attack在接口中RangedAttackMob- Mappings:
Namespace Name Mixin selector official aLbhd;a(Lasy;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
public boolean damage(DamageSource source, float amount)
- 覆盖:
damage在类中LivingEntity- Mappings:
Namespace Name Mixin selector official aLasl;a(Larv;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
protected void dropEquipment(DamageSource source, int lootingMultiplier, boolean allowDrops)
- 覆盖:
dropEquipment在类中MobEntity- Mappings:
Namespace Name Mixin selector official aLasy;a(Larv;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()
- 覆盖:
checkDespawn在类中MobEntity- Mappings:
Namespace Name Mixin selector official cZLasl;cZ()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)- 覆盖:
handleFallDamage在类中LivingEntity- Mappings:
Namespace Name Mixin selector official aLasl;a(FFLarv;)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
public boolean addStatusEffect(StatusEffectInstance effect)
- 覆盖:
addStatusEffect在类中LivingEntity- Mappings:
Namespace Name Mixin selector official cLasy;c(Lasf;)Zintermediary method_6092Lnet/minecraft/class_1309;method_6092(Lnet/minecraft/class_1293;)Znamed addStatusEffectLnet/minecraft/entity/LivingEntity;addStatusEffect(Lnet/minecraft/entity/effect/StatusEffectInstance;)Z
-
createWitherAttributes
public static DefaultAttributeContainer.Builder createWitherAttributes()
- Mappings:
Namespace Name Mixin selector official oLbft;o()Latx$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 aLbft;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 bLbft;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 sLbft;s()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 tLbft;t(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 uLbft;u(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 aLbft;a(II)Vintermediary method_6876Lnet/minecraft/class_1528;method_6876(II)Vnamed setTrackedEntityIdLnet/minecraft/entity/boss/WitherEntity;setTrackedEntityId(II)V
-
shouldRenderOverlay
public boolean shouldRenderOverlay()
- 指定者:
shouldRenderOverlay在接口中SkinOverlayOwner- Mappings:
Namespace Name Mixin selector official U_Latk;U_()Zintermediary method_6872Lnet/minecraft/class_4582;method_6872()Znamed shouldRenderOverlayLnet/minecraft/client/render/entity/feature/SkinOverlayOwner;shouldRenderOverlay()Z
-
getGroup
public EntityGroup getGroup()
- 覆盖:
getGroup在类中LivingEntity- Mappings:
Namespace Name Mixin selector official edLasy;ed()Latc;intermediary method_6046Lnet/minecraft/class_1309;method_6046()Lnet/minecraft/class_1310;named getGroupLnet/minecraft/entity/LivingEntity;getGroup()Lnet/minecraft/entity/EntityGroup;
-
canStartRiding
protected boolean canStartRiding(Entity entity)
- 覆盖:
canStartRiding在类中Entity- Mappings:
Namespace Name Mixin selector official nLasl;n(Lasl;)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()
- 覆盖:
canUsePortals在类中Entity- Mappings:
Namespace Name Mixin selector official bZLasl;bZ()Zintermediary method_5822Lnet/minecraft/class_1297;method_5822()Znamed canUsePortalsLnet/minecraft/entity/Entity;canUsePortals()Z
-
canHaveStatusEffect
public boolean canHaveStatusEffect(StatusEffectInstance effect)
- 覆盖:
canHaveStatusEffect在类中LivingEntity- Mappings:
Namespace Name Mixin selector official dLasy;d(Lasf;)Zintermediary method_6049Lnet/minecraft/class_1309;method_6049(Lnet/minecraft/class_1293;)Znamed canHaveStatusEffectLnet/minecraft/entity/LivingEntity;canHaveStatusEffect(Lnet/minecraft/entity/effect/StatusEffectInstance;)Z
-
-