Class class_9500
- All Implemented Interfaces:
SkinOverlayOwner,Attackable,DataTracked,Monster,Targeter,ScoreHolder,CommandOutput,Nameable,EntityLike
- Mappings:
Namespace Name official cjcintermediary net/minecraft/class_9500named net/minecraft/class_9500
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static classstatic classprivate static classprivate static classprivate static enumNested classes/interfaces inherited from class net.minecraft.entity.LivingEntity
LivingEntity.FallSoundsNested classes/interfaces inherited from class net.minecraft.entity.Entity
Entity.class_9494, Entity.MoveEffect, Entity.PositionUpdater, Entity.RemovalReason -
Field Summary
FieldsModifier and TypeFieldDescriptionfloatfloatprivate static final TrackedData<Byte> private static final TrackedData<Boolean> private static final intprivate booleanprivate class_9500.class_9505private final ServerBossBarprivate static final ParticleEffectfloatprivate static final 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, bodyArmorDropChance, 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, attackingPlayer, BABY_SCALE_FACTOR, bodyTrackingIncrements, bodyYaw, brain, dead, DEATH_TICKS, deathTime, defaultMaxHealth, despawnCounter, EQUIPMENT_SLOT_ID, fallFlyingTicks, field_30063, field_30069, field_30070, field_30072, field_30074, field_30075, field_44874, field_47756, field_48827, field_50407, field_6215, forwardSpeed, GLOWING_FLAG, GRAVITY, handSwinging, handSwingProgress, handSwingTicks, headTrackingIncrements, headYaw, hurtTime, itemUseTimeLeft, jumping, lastAttackedTicks, lastDamageTaken, lastHandSwingProgress, limbAnimator, LIVING_FLAGS, lookDirection, maxHurtTime, OFF_HAND_ACTIVE_FLAG, playerHitTimer, preferredHand, prevBodyYaw, prevHeadYaw, prevLookDirection, prevScale, prevStepBobbingAmount, randomLargeSeed, randomSmallSeed, riptideTicks, 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_44870, field_44871, field_44872, field_49073, field_49791, field_50386, field_50387, field_50388, field_50389, field_50390, field_50391, field_50392, field_50393, firstUpdate, FLAGS, fluidHeight, FREEZING_DAMAGE_INTERVAL, GLOWING_FLAG_INDEX, groundCollision, horizontalCollision, horizontalSpeed, ID_KEY, ignoreCameraFrustum, inNetherPortal, inPowderSnow, intersectionChecked, lastNetherPortalPosition, lastRenderX, lastRenderY, lastRenderZ, MAX_COMMAND_TAGS, MAX_RIDING_COOLDOWN, MIN_RISING_BUBBLE_COLUMN_SPEED, movementMultiplier, netherPortalTime, noClip, ON_FIRE_FLAG_INDEX, PASSENGERS_KEY, POSE, prevHorizontalSpeed, prevPitch, prevX, prevY, prevYaw, prevZ, random, ridingCooldown, speed, submergedInWater, supportingBlockPos, timeUntilRegen, touchingWater, uuid, UUID_KEY, uuidString, velocityDirty, velocityModified, verticalCollision, wasInPowderSnow, wasOnFireFields 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_XPFields inherited from interface net.minecraft.scoreboard.ScoreHolder
WILDCARD, WILDCARD_NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidCalculates and sets the dimension (bounding box) of the entity and refreshes its position.voidChecks whether the entity should be despawned.booleandamage(DamageSource source, float amount) Applies a damage to this entity.protected SoundEventgetBaseDimensions(EntityPose pose) protected SoundEventprotected TextReturns the default name of the entity.protected SoundEventgetHurtSound(DamageSource source) intReturns the maximum degrees which the pitch can change when looking.protected Vec3dgetPassengerAttachmentPos(Entity passenger, EntityDimensions dimensions, float scaleFactor) Returns the sound category for sounds from this entity.protected floatEntityType<? extends class_9500> getType()protected voidinitDataTracker(DataTracker.Builder builder) Initializes data tracker.protected voidinitialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) protected booleanbooleanReturns whether the entity is invulnerable.protected voidjump()booleanprivate voidmethod_58891(class_9500.class_9505 class_9505, ServerWorld serverWorld, Team team) voidmethod_58893(int int2) protected intprotected booleanprotected floatprotected SoundEventprotected booleanprotected SoundEvent(package private) floatprotected ParticleEffectprotected voidprotected voidmethod_58905(LivingEntity livingEntity) intvoidmethod_58908(boolean bool) booleanprotected voidmobTick()voidonPlayerCollision(PlayerEntity player) Called when a player collides with the entity.voidCalled whenplayerstarts tracking this entity.voidCalled whenplayerstops tracking this entity.voidonTrackedDataSet(TrackedData<?> data) voidpushAwayFrom(Entity entity) voidReads custom data fromnbt.voidremove(Entity.RemovalReason reason) Removes the entity.booleanvoidtick()Ticks this entity.voidWrites custom data tonbt.Methods inherited from class net.minecraft.entity.mob.PathAwareEntity
canSpawn, getFollowLeashSpeed, getPathfindingFavor, getPathfindingFavor, isNavigating, isPanicking, shouldFollowLeash, updateForLeashLength, updateLeashMethods inherited from class net.minecraft.entity.mob.MobEntity
attachLeash, baseTick, canBeLeashedBy, canEquip, canGather, canImmediatelyDespawn, canMobSpawn, canMoveVoluntarily, cannotDespawn, canPickupItem, canPickUpLoot, canSpawn, canTarget, canUseRangedWeapon, canUseSlot, clampHeadYaw, clearGoals, clearGoalsAndTasks, clearPositionTarget, convertTo, createBodyControl, createMobAttributes, createNavigation, detachLeash, dropEquipment, dropLoot, enchantEquipment, enchantMainHandItem, equipBodyArmor, equipLootStack, equipStack, getAllArmorItems, getArmorItems, getAttackBox, getBodyArmor, getControllingPassenger, getDropChance, getEquipmentForSlot, getEquippedStack, getHandItems, getHoldingEntity, getItemPickUpRangeExpander, getJumpControl, getLimitPerChunk, getLookControl, getLootTable, getLootTableId, getLootTableSeed, getMainArm, getMaxHeadRotation, getMaxLookYawChange, getMinAmbientSoundDelay, getMoveControl, getNavigation, getPathfindingPenalty, getPickBlockStack, getPositionTarget, getPositionTargetRange, getSafeFallDistance, getTarget, getVisibilityCache, getXpToDrop, handleStatus, hasArmorSlot, hasPositionTarget, initEquipment, interact, interactMob, isAffectedByDaylight, isAiDisabled, isAttacking, isHorseArmor, isInAttackRange, isInWalkTargetRange, isInWalkTargetRange, isLeashed, isLeftHanded, isPersistent, isWearingBodyArmor, lookAtEntity, loot, mightBeLeashed, movesIndependently, onEatingGrass, onFinishPathfinding, onPlayerSpawnedChild, onStartPathfinding, playAmbientSound, playHurtSound, playSpawnEffects, prefersNewDamageableItem, prefersNewEquipment, removeFromDimension, sendAiDebugData, setAiDisabled, setAttacking, setBaby, setCanPickUpLoot, setEquipmentDropChance, setForwardSpeed, setHoldingEntityId, setLeftHanded, setMovementSpeed, setPathfindingPenalty, setPersistent, setPositionTarget, setSidewaysSpeed, setTarget, setUpwardSpeed, spawnsTooManyForEachTry, startRiding, stopMovement, swimUpward, tickMovement, tickNewAi, tryAttack, tryEquip, turnHead, updateDropChances, updateEnchantments, updateGoalControlsMethods inherited from class net.minecraft.entity.LivingEntity
addPowderSnowSlowIfNeeded, addSoulSpeedBoostIfNeeded, addStatusEffect, addStatusEffect, animateDamage, applyArmorToDamage, applyDamage, applyFluidMovingSpeed, applyMovementEffects, applyMovementInput, areItemsDifferent, attackLivingEntity, blockedByShield, canBreatheInWater, canFreeze, canHaveStatusEffect, canHit, canSee, canTakeDamage, canTarget, canUsePortals, canWalkOnFluid, clampScale, clearActiveItem, clearPotionSwirls, clearSleepingPosition, clearStatusEffects, computeFallDamage, consumeItem, containsOnlyAmbientEffects, createBrainProfile, createLivingAttributes, damageArmor, damageEquipment, damageHelmet, damageShield, deserializeBrain, disableExperienceDropping, disablesShield, displaySoulSpeedEffects, drop, dropInventory, dropItem, dropXp, eatFood, endCombat, enterCombat, fall, getAbsorptionAmount, getActiveHand, getActiveItem, getActiveStatusEffects, getArmor, getArmorVisibility, getAttackDistanceScalingFactor, getAttacker, getAttacking, getAttributeBaseValue, getAttributeInstance, getAttributes, getAttributeValue, getBaseMovementSpeedMultiplier, getBodyYaw, getBoundingBox, getBrain, getClimbingPos, getControlledMovementInput, getDamageTiltYaw, getDamageTracker, getDespawnCounter, getDimensions, getDrinkSound, getEatSound, getEquippedItems, getFallFlyingTicks, getFallSounds, getGravity, getHandSwingProgress, getHeadYaw, getHealth, getHitbox, getItemUseTime, getItemUseTimeLeft, getJumpBoostVelocityModifier, getJumpVelocity, getJumpVelocity, getLastAttackedTime, getLastAttacker, getLastAttackTime, getLeaningPitch, getLerpTargetPitch, getLerpTargetX, getLerpTargetY, getLerpTargetYaw, getLerpTargetZ, getMainHandStack, getMaxAbsorption, getMaxHealth, getMaxRelativeHeadRotation, getMovementSpeed, getNextAirOnLand, getNextAirUnderwater, getOffGroundSpeed, getOffHandStack, getPassengerRidingPos, getPoses, getPreferredEquipmentSlot, getPrimeAdversary, getProjectileType, getRandom, getRecentDamageSource, getSaddledSpeed, getSafeFallDistance, getScale, getScaleFactor, getSleepingDirection, getSleepingPosition, getSlotForHand, getSoundPitch, getStackInHand, getStackReference, getStatusEffect, getStatusEffects, getStepHeight, getStingerCount, getStuckArrowCount, getVelocityMultiplier, getVisibilityBoundingBox, getYaw, handleFallDamage, hasInvertedHealingAndHarm, hasNoDrag, hasStackEquipped, hasStatusEffect, heal, hurtByWater, isAffectedBySplashPotions, isAlive, isArmorSlot, isBaby, isBlocking, isClimbing, isDead, isExperienceDroppingDisabled, isFallFlying, isGlowing, isHolding, isHolding, isHoldingOntoLadder, isImmobile, isInCreativeMode, isInsideWall, isInSwimmingPose, isMobOrPlayer, isOnSoulSpeedBlock, isPartOfGame, isPushable, isSleeping, isTarget, isUsingItem, isUsingRiptide, kill, knockback, knockDownwards, lerpHeadYaw, lookAt, markEffectsDirty, method_58831, method_58862, method_58864, method_58866, method_58867, method_58868, method_58869, modifyAppliedDamage, onAttacking, onDamaged, onDeath, onEquipStack, onKilledBy, onSpawnPacket, onStatusEffectApplied, onStatusEffectRemoved, onStatusEffectUpgraded, playBlockFallSound, playSound, positionInPortal, positionInPortal, processEquippedStack, pushAway, removePowderSnowSlow, removeSoulSpeedBoost, removeStatusEffect, removeStatusEffectInternal, sendEffectToControllingPlayer, sendEquipmentBreakStatus, sendPickup, setAbsorptionAmount, setAbsorptionAmountUnclamped, setAttacker, setAttacking, setBodyYaw, setCurrentHand, setDespawnCounter, setHeadYaw, setHealth, setJumping, setLivingFlag, setNearbySongPlaying, setNoDrag, setOnFireForTicks, setSleepingPosition, setSprinting, setStackInHand, setStatusEffect, setStingerCount, setStuckArrowCount, shouldAlwaysDropXp, shouldDisplaySoulSpeedEffects, shouldDropLoot, shouldDropXp, shouldRemoveSoulSpeedBoost, shouldRenderName, shouldSwimInFluids, sleep, spawnConsumptionEffects, stopRiding, stopUsingItem, swingHand, swingHand, takeKnockback, takeShieldHit, teleport, tickControlled, tickCramming, tickHandSwing, tickInVoid, tickItemStackUsage, tickRiding, tickRiptide, tickStatusEffects, tiltScreen, travel, triggerItemPickedUpByEntityCriteria, updateLimbs, updateLimbs, updatePostDeath, updatePotionVisibility, updateTrackedHeadRotation, updateTrackedPositionAndAngles, wakeUp, wouldNotSuffocateInPoseMethods inherited from class net.minecraft.entity.Entity
addAirTravelEffects, addCommandTag, addFlapEffects, addPassenger, addVelocity, addVelocity, adjustMovementForCollisions, adjustMovementForPiston, adjustMovementForSneaking, applyDamageEffects, applyGravity, applyMirror, applyRotation, attemptTickInVoid, bypassesLandingEffects, bypassesSteppingEffects, calculateBoundingBox, calculateNextStepSoundDistance, canAddPassenger, canAvoidTraps, canBeHitByProjectile, canBeSpectated, canExplosionDestroyBlock, canModifyAt, canSprintAsVehicle, canStartRiding, changeLookDirection, checkBlockCollision, collidesWith, collidesWithStateAtPos, copyFrom, copyPositionAndRotation, couldAcceptPassenger, createSpawnPacket, detach, discard, dismountVehicle, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, dropStack, dropStack, emitGameEvent, emitGameEvent, entityDataRequiresOperator, equals, extinguish, extinguishWithSound, getAir, getAttachments, getBlockPos, getBlockStateAtPos, getBlockX, getBlockY, getBlockZ, getBodyY, getBoundingBox, getBrightnessAtEyes, getBurningDuration, getCameraPosVec, getChunkPos, getClientCameraPosVec, getCommandSource, getCommandTags, getControllingVehicle, getCustomName, getDamageSources, getDataTracker, getDefaultPortalCooldown, getDisplayName, getEffectiveExplosionResistance, getEntityWorld, getEyeHeight, getEyePos, getEyeY, getFacing, getFinalGravity, getFireTicks, getFirstPassenger, getFlag, getFluidHeight, getFreezingScale, getFrozenTicks, getHandPosOffset, getHeight, getHighSpeedSplashSound, getHorizontalFacing, getHoverEvent, getId, getJumpVelocityMultiplier, getLandingBlockState, getLandingPos, getLeashOffset, getLeashOffset, getLeashPos, getLerpedPos, getMaxAir, getMaxNetherPortalTime, getMinFreezeDamageTicks, getMoveEffect, getMovementDirection, getName, getNameForScoreboard, getOppositeRotationVector, getOppositeRotationVector, getParticleX, getParticleZ, getPassengerAttachmentPos, getPassengerDismountOffset, getPassengerList, getPassengersDeep, getPermissionLevel, getPistonBehavior, getPitch, getPitch, getPlayerPassengers, getPortalCooldown, getPortalRect, getPos, getPose, getPosWithYOffset, getProjectileDeflector, getRandomBodyY, getRegistryManager, getRemovalReason, getRenderDistanceMultiplier, getRootVehicle, getRotationClient, getRotationVec, getRotationVecClient, getRotationVector, getRotationVector, getSavedEntityId, getScoreboardTeam, getServer, getSplashSound, getStandingEyeHeight, getSteppingBlockState, getSteppingPos, getStepSoundPos, getSwimHeight, getSwimSound, getSyncedPos, getTargetingMargin, getTeamColorValue, getTeleportTarget, getTrackedPosition, getUuid, getUuidAsString, getVehicle, getVehicleAttachmentPos, getVelocity, getVelocityAffectingPos, getWidth, getWorld, getX, getY, getYaw, getZ, handleAttack, hasCollidedSoftly, hasControllingPassenger, hasCustomName, hashCode, hasNoGravity, hasPassenger, hasPassenger, hasPassengerDeep, hasPassengers, hasPermissionLevel, hasPlayerRider, hasPortalCooldown, hasVehicle, interactAt, isAttackable, isCollidable, isConnectedThroughVehicle, isCrawling, isCustomNameVisible, isDescending, isFireImmune, isFlappingWings, isFrozen, isGlowingLocal, isImmuneToExplosion, isInFluid, isInLava, isInPose, isInRange, isInRange, isInsideWaterOrBubbleColumn, isInSneakingPose, isInvisible, isInvisibleTo, isInvulnerableTo, isLiving, isLogicalSideForUpdatingMovement, isOnFire, isOnGround, isOnRail, isPartOf, isPlayer, isPushedByFluids, isRegionUnloaded, isRemoved, isSilent, isSneaking, isSneaky, isSpectator, isSprinting, isSubmergedIn, isSubmergedInWater, isSupportedBy, isSwimming, isTeammate, isTeamPlayer, isTouchingWater, isTouchingWaterOrRain, isWet, lerpPosAndRotation, limitFallDistance, method_58830, method_58832, method_58833, method_58837, method_58843, move, moveToWorld, occludeVibrationSignals, offsetX, offsetZ, onBlockCollision, onBubbleColumnCollision, onBubbleColumnSurfaceCollision, onDataTrackerUpdate, onExplodedBy, onKilledOther, onLanding, onPassengerLookAround, onRemoved, onStruckByLightning, onSwimmingStart, playCombinationStepSounds, playExtinguishSound, playSecondaryStepSound, playSound, playSoundIfNotSilent, playStepSound, playSwimSound, playSwimSound, populateCrashReport, pushOutOfBlocks, raycast, readNbt, refreshPosition, refreshPositionAfterTeleport, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, reinitDimensions, removeAllPassengers, removeCommandTag, removePassenger, requestTeleport, requestTeleportAndDismount, requestTeleportOffset, resetPortalCooldown, resetPosition, saveNbt, saveSelfNbt, scheduleVelocityUpdate, sendMessage, setAir, setBoundingBox, setChangeListener, setCustomName, setCustomNameVisible, setFireTicks, setFlag, setFrozenTicks, setGlowing, setId, setInNetherPortal, setInPowderSnow, setInvisible, setInvulnerable, setNoGravity, setOnFire, setOnFireFor, setOnFireFromLava, setOnGround, setOnGround, setPitch, setPortalCooldown, setPos, setPose, setPosition, setPosition, setRemoved, setRenderDistanceMultiplier, setRotation, setSilent, setSneaking, setSwimming, setUuid, setVelocity, setVelocity, setVelocityClient, setWorld, setYaw, shouldBroadcastConsoleToOps, shouldControlVehicles, shouldDismountUnderwater, shouldEscapePowderSnow, shouldReceiveFeedback, shouldRender, shouldRender, shouldSave, shouldSetPositionOnLoad, shouldSpawnSprintingParticles, shouldTrackOutput, slowMovement, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, startRiding, streamPassengersAndSelf, streamSelfAndPassengers, teleport, teleport, tickPortal, tickPortalCooldown, toNbtList, toNbtList, toString, tryCheckBlockCollision, unsetRemoved, updateEventHandler, updateKilledAdvancementCriterion, updateMovementInFluid, updatePassengerForDismount, updatePassengerPosition, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateSupportingBlockPos, updateSwimming, updateTrackedPosition, updateVelocity, updateWaterState, writeNbtMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.server.command.CommandOutput
cannotBeSilencedMethods inherited from interface net.minecraft.scoreboard.ScoreHolder
getStyledDisplayName
-
Field Details
-
field_50446
- Mappings:
Namespace Name Mixin selector official eLcjc;e:Lajy;intermediary field_50446Lnet/minecraft/class_9500;field_50446:Lnet/minecraft/class_2940;named field_50446Lnet/minecraft/class_9500;field_50446:Lnet/minecraft/entity/data/TrackedData;
-
field_50436
- Mappings:
Namespace Name Mixin selector official chLcjc;ch:Lajy;intermediary field_50436Lnet/minecraft/class_9500;field_50436:Lnet/minecraft/class_2940;named field_50436Lnet/minecraft/class_9500;field_50436:Lnet/minecraft/entity/data/TrackedData;
-
field_50437
- Mappings:
Namespace Name Mixin selector official ciLcjc;ci:Lajy;intermediary field_50437Lnet/minecraft/class_9500;field_50437:Lnet/minecraft/class_2940;named field_50437Lnet/minecraft/class_9500;field_50437:Lnet/minecraft/entity/data/TrackedData;
-
field_50438
private static final int field_50438- See Also:
- Mappings:
Namespace Name Mixin selector official cjLcjc;cj:Iintermediary field_50438Lnet/minecraft/class_9500;field_50438:Inamed field_50438Lnet/minecraft/class_9500;field_50438:I
-
field_50444
- Mappings:
Namespace Name Mixin selector official cpLcjc;cp:Lkz;intermediary field_50444Lnet/minecraft/class_9500;field_50444:Lnet/minecraft/class_2394;named field_50444Lnet/minecraft/class_9500;field_50444:Lnet/minecraft/particle/ParticleEffect;
-
field_50434
public float field_50434- Mappings:
Namespace Name Mixin selector official bLcjc;b:Fintermediary field_50434Lnet/minecraft/class_9500;field_50434:Fnamed field_50434Lnet/minecraft/class_9500;field_50434:F
-
field_50435
public float field_50435- Mappings:
Namespace Name Mixin selector official cLcjc;c:Fintermediary field_50435Lnet/minecraft/class_9500;field_50435:Fnamed field_50435Lnet/minecraft/class_9500;field_50435:F
-
field_50445
public float field_50445- Mappings:
Namespace Name Mixin selector official dLcjc;d:Fintermediary field_50445Lnet/minecraft/class_9500;field_50445:Fnamed field_50445Lnet/minecraft/class_9500;field_50445:F
-
field_50439
private boolean field_50439- Mappings:
Namespace Name Mixin selector official ckLcjc;ck:Zintermediary field_50439Lnet/minecraft/class_9500;field_50439:Znamed field_50439Lnet/minecraft/class_9500;field_50439:Z
-
field_50440
- Mappings:
Namespace Name Mixin selector official clLcjc;cl:Lcjc$e;intermediary field_50440Lnet/minecraft/class_9500;field_50440:Lnet/minecraft/class_9500$class_9505;named field_50440Lnet/minecraft/class_9500;field_50440:Lnet/minecraft/class_9500$class_9505;
-
field_50441
- Mappings:
Namespace Name Mixin selector official cmLcjc;cm:Ljava/util/List;intermediary field_50441Lnet/minecraft/class_9500;field_50441:Ljava/util/List;named field_50441Lnet/minecraft/class_9500;field_50441:Ljava/util/List;
-
field_50442
- Mappings:
Namespace Name Mixin selector official cnLcjc;cn:Laqq;intermediary field_50442Lnet/minecraft/class_9500;field_50442:Lnet/minecraft/class_3213;named field_50442Lnet/minecraft/class_9500;field_50442:Lnet/minecraft/entity/boss/ServerBossBar;
-
field_50443
- Mappings:
Namespace Name Mixin selector official coLcjc;co:Ljava/util/List;intermediary field_50443Lnet/minecraft/class_9500;field_50443:Ljava/util/List;named field_50443Lnet/minecraft/class_9500;field_50443:Ljava/util/List;
-
-
Constructor Details
-
class_9500
-
-
Method Details
-
checkDespawn
public void checkDespawn()Checks whether the entity should be despawned.To despawn this entity, call
Entity.discard().- Overrides:
checkDespawnin classMobEntity- See Also:
- Mappings:
Namespace Name Mixin selector official dGLbrv;dG()Vintermediary method_5982Lnet/minecraft/class_1297;method_5982()Vnamed checkDespawnLnet/minecraft/entity/Entity;checkDespawn()V
-
method_58906
- Mappings:
Namespace Name Mixin selector official rLcjc;r()Lbtu$a;intermediary method_58906Lnet/minecraft/class_9500;method_58906()Lnet/minecraft/class_5132$class_5133;named method_58906Lnet/minecraft/class_9500;method_58906()Lnet/minecraft/entity/attribute/DefaultAttributeContainer$Builder;
-
initGoals
protected void initGoals() -
mobTick
protected void mobTick() -
method_58891
- Mappings:
Namespace Name Mixin selector official aLcjc;a(Lcjc$e;Laqt;Lext;)Vintermediary method_58891Lnet/minecraft/class_9500;method_58891(Lnet/minecraft/class_9500$class_9505;Lnet/minecraft/class_3218;Lnet/minecraft/class_268;)Vnamed method_58891Lnet/minecraft/class_9500;method_58891(Lnet/minecraft/class_9500$class_9505;Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/scoreboard/Team;)V
-
damage
Applies a damage to this entity. The exact implementation differs between subclasses.LivingEntityhas health value, and damaging the entity decreases it. This also handles shields, extra damage to helmets for falling blocks, setting the attacker, playing hurt sound, etc.Some entities like
ItemEntityalso have health value, which the overridden method decrements. There also exist several entities, likeEndCrystalEntity, where any damage discards the entity (perhaps with an explosion).If this is overridden, it must check the result of
Entity.isInvulnerableTo(net.minecraft.entity.damage.DamageSource)and return early.- Overrides:
damagein classLivingEntity- Returns:
- whether the entity was actually damaged
- See Also:
- Mappings:
Namespace Name Mixin selector official aLbrv;a(Lbqt;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
-
onStartedTrackingBy
Called whenplayerstarts tracking this entity.Entities with boss bars like
WitherEntityshould override this to add the player to the boss bar.- Overrides:
onStartedTrackingByin classEntity- Mappings:
Namespace Name Mixin selector official cLbrv;c(Laqu;)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
Called whenplayerstops tracking this entity.Entities with boss bars like
WitherEntityshould override this to remove the player from the boss bar.- Overrides:
onStoppedTrackingByin classEntity- Mappings:
Namespace Name Mixin selector official dLbrv;d(Laqu;)Vintermediary method_5742Lnet/minecraft/class_1297;method_5742(Lnet/minecraft/class_3222;)Vnamed onStoppedTrackingByLnet/minecraft/entity/Entity;onStoppedTrackingBy(Lnet/minecraft/server/network/ServerPlayerEntity;)V
-
method_58842
public boolean method_58842()- Overrides:
method_58842in classEntity- Mappings:
Namespace Name Mixin selector official dVLbrv;dV()Zintermediary method_58842Lnet/minecraft/class_1297;method_58842()Znamed method_58842Lnet/minecraft/entity/Entity;method_58842()Z
-
getSoundCategory
Returns the sound category for sounds from this entity.This is used by
Entity.playSound(SoundEvent, float, float)and defaults toSoundCategory.NEUTRAL. Hostile entities should override this to returnSoundCategory.HOSTILE.- Overrides:
getSoundCategoryin classEntity- Returns:
- the sound category for sounds from this entity
- See Also:
- Mappings:
Namespace Name Mixin selector official djLbrv;dj()Lavq;intermediary method_5634Lnet/minecraft/class_1297;method_5634()Lnet/minecraft/class_3419;named getSoundCategoryLnet/minecraft/entity/Entity;getSoundCategory()Lnet/minecraft/sound/SoundCategory;
-
initDataTracker
Initializes data tracker.- Overrides:
initDataTrackerin classMobEntity- Mappings:
Namespace Name Mixin selector official aLbrv;a(Lakc$a;)Vintermediary method_5693Lnet/minecraft/class_1297;method_5693(Lnet/minecraft/class_2945$class_9222;)Vnamed initDataTrackerLnet/minecraft/entity/Entity;initDataTracker(Lnet/minecraft/entity/data/DataTracker$Builder;)V
-
method_58908
public void method_58908(boolean bool) - Mappings:
Namespace Name Mixin selector official wLcjc;w(Z)Vintermediary method_58908Lnet/minecraft/class_9500;method_58908(Z)Vnamed method_58908Lnet/minecraft/class_9500;method_58908(Z)V
-
isInvulnerable
public boolean isInvulnerable()Returns whether the entity is invulnerable.This is saved on the
InvulnerableNBT key.- Overrides:
isInvulnerablein classEntity- Returns:
- whether the entity is invulnerable
- See Also:
- Mappings:
Namespace Name Mixin selector official czLbrv;cz()Zintermediary method_5655Lnet/minecraft/class_1297;method_5655()Znamed isInvulnerableLnet/minecraft/entity/Entity;isInvulnerable()Z
-
method_58893
public void method_58893(int int2) - Mappings:
Namespace Name Mixin selector official bLcjc;b(I)Vintermediary method_58893Lnet/minecraft/class_9500;method_58893(I)Vnamed method_58893Lnet/minecraft/class_9500;method_58893(I)V
-
method_58907
public int method_58907()- Mappings:
Namespace Name Mixin selector official tLcjc;t()Iintermediary method_58907Lnet/minecraft/class_9500;method_58907()Inamed method_58907Lnet/minecraft/class_9500;method_58907()I
-
writeCustomDataToNbt
Writes custom data tonbt. Subclasses have to implement this.NBT is a storage format; therefore, a data from NBT is loaded to an entity instance's fields, which are used for other operations instead of the NBT. The data is written back to NBT when saving the entity.
- Overrides:
writeCustomDataToNbtin classMobEntity- See Also:
- Mappings:
Namespace Name Mixin selector official bLbrv;b(Luk;)Vintermediary method_5652Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_2487;)Vnamed writeCustomDataToNbtLnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
getDefaultName
Returns the default name of the entity.- Overrides:
getDefaultNamein classEntity- Returns:
- the default name of the entity
- See Also:
- Mappings:
Namespace Name Mixin selector official cwLbrv;cw()Lxe;intermediary method_23315Lnet/minecraft/class_1297;method_23315()Lnet/minecraft/class_2561;named getDefaultNameLnet/minecraft/entity/Entity;getDefaultName()Lnet/minecraft/text/Text;
-
readCustomDataFromNbt
Reads custom data fromnbt. Subclasses have to implement this.NBT is a storage format; therefore, a data from NBT is loaded to an entity instance's fields, which are used for other operations instead of the NBT. The data is written back to NBT when saving the entity.
nbtmight not have all expected keys, or might have a key whose value does not meet the requirement (such as the type or the range). This method should fall back to a reasonable default value instead of throwing an exception.- Overrides:
readCustomDataFromNbtin classMobEntity- See Also:
- Mappings:
Namespace Name Mixin selector official aLbrv;a(Luk;)Vintermediary method_5749Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_2487;)Vnamed readCustomDataFromNbtLnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
method_58909
public boolean method_58909()- Mappings:
Namespace Name Mixin selector official xLcjc;x()Zintermediary method_58909Lnet/minecraft/class_9500;method_58909()Znamed method_58909Lnet/minecraft/class_9500;method_58909()Z
-
method_58903
- Mappings:
Namespace Name Mixin selector official gyLcjc;gy()Lkz;intermediary method_58903Lnet/minecraft/class_9500;method_58903()Lnet/minecraft/class_2394;named method_58903Lnet/minecraft/class_9500;method_58903()Lnet/minecraft/particle/ParticleEffect;
-
isDisallowedInPeaceful
protected boolean isDisallowedInPeaceful()- Overrides:
isDisallowedInPeacefulin classMobEntity- Mappings:
Namespace Name Mixin selector official WLbsq;W()Zintermediary method_23734Lnet/minecraft/class_1308;method_23734()Znamed isDisallowedInPeacefulLnet/minecraft/entity/mob/MobEntity;isDisallowedInPeaceful()Z
-
tick
public void tick()Ticks this entity. -
method_58904
protected void method_58904()- Mappings:
Namespace Name Mixin selector official gzLcjc;gz()Vintermediary method_58904Lnet/minecraft/class_9500;method_58904()Vnamed method_58904Lnet/minecraft/class_9500;method_58904()V
-
method_58896
protected int method_58896()- Mappings:
Namespace Name Mixin selector official gALcjc;gA()Iintermediary method_58896Lnet/minecraft/class_9500;method_58896()Inamed method_58896Lnet/minecraft/class_9500;method_58896()I
-
calculateDimensions
public void calculateDimensions()Calculates and sets the dimension (bounding box) of the entity and refreshes its position.- Overrides:
calculateDimensionsin classEntity- Mappings:
Namespace Name Mixin selector official i_Lbrv;i_()Vintermediary method_18382Lnet/minecraft/class_1297;method_18382()Vnamed calculateDimensionsLnet/minecraft/entity/Entity;calculateDimensions()V
-
onTrackedDataSet
- Specified by:
onTrackedDataSetin interfaceDataTracked- Overrides:
onTrackedDataSetin classLivingEntity- Mappings:
Namespace Name Mixin selector official aLakb;a(Lajy;)Vintermediary method_5674Lnet/minecraft/class_9221;method_5674(Lnet/minecraft/class_2940;)Vnamed onTrackedDataSetLnet/minecraft/entity/data/DataTracked;onTrackedDataSet(Lnet/minecraft/entity/data/TrackedData;)V
-
getType
-
remove
Removes the entity.- Overrides:
removein classLivingEntity- See Also:
- Mappings:
Namespace Name Mixin selector official aLbrv;a(Lbrv$d;)Vintermediary method_5650Lnet/minecraft/class_1297;method_5650(Lnet/minecraft/class_1297$class_5529;)Vnamed removeLnet/minecraft/entity/Entity;remove(Lnet/minecraft/entity/Entity$RemovalReason;)V
-
pushAwayFrom
- Overrides:
pushAwayFromin classLivingEntity- Mappings:
Namespace Name Mixin selector official hLbrv;h(Lbrv;)Vintermediary method_5697Lnet/minecraft/class_1297;method_5697(Lnet/minecraft/class_1297;)Vnamed pushAwayFromLnet/minecraft/entity/Entity;pushAwayFrom(Lnet/minecraft/entity/Entity;)V
-
onPlayerCollision
Called when a player collides with the entity. Does nothing by default.This should be overridden if the collision logic is specific to players, such as picking up item entities, experience orbs, or arrows.
- Overrides:
onPlayerCollisionin classEntity- Mappings:
Namespace Name Mixin selector official b_Lbrv;b_(Lcly;)Vintermediary method_5694Lnet/minecraft/class_1297;method_5694(Lnet/minecraft/class_1657;)Vnamed onPlayerCollisionLnet/minecraft/entity/Entity;onPlayerCollision(Lnet/minecraft/entity/player/PlayerEntity;)V
-
method_58905
- Mappings:
Namespace Name Mixin selector official jLcjc;j(Lbso;)Vintermediary method_58905Lnet/minecraft/class_9500;method_58905(Lnet/minecraft/class_1309;)Vnamed method_58905Lnet/minecraft/class_9500;method_58905(Lnet/minecraft/entity/LivingEntity;)V
-
getPassengerAttachmentPos
protected Vec3d getPassengerAttachmentPos(Entity passenger, EntityDimensions dimensions, float scaleFactor) - Overrides:
getPassengerAttachmentPosin classEntity- Mappings:
Namespace Name Mixin selector official aLbrv;a(Lbrv;Lbry;F)Lewu;intermediary method_52533Lnet/minecraft/class_1297;method_52533(Lnet/minecraft/class_1297;Lnet/minecraft/class_4048;F)Lnet/minecraft/class_243;named getPassengerAttachmentPosLnet/minecraft/entity/Entity;getPassengerAttachmentPos(Lnet/minecraft/entity/Entity;Lnet/minecraft/entity/EntityDimensions;F)Lnet/minecraft/util/math/Vec3d;
-
method_58897
protected boolean method_58897()- Mappings:
Namespace Name Mixin selector official gBLcjc;gB()Zintermediary method_58897Lnet/minecraft/class_9500;method_58897()Znamed method_58897Lnet/minecraft/class_9500;method_58897()Z
-
method_58898
protected float method_58898()- Mappings:
Namespace Name Mixin selector official gCLcjc;gC()Fintermediary method_58898Lnet/minecraft/class_9500;method_58898()Fnamed method_58898Lnet/minecraft/class_9500;method_58898()F
-
getHurtSound
- Overrides:
getHurtSoundin classLivingEntity- Mappings:
Namespace Name Mixin selector official dLbso;d(Lbqt;)Lavn;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 classLivingEntity- Mappings:
Namespace Name Mixin selector official n_Lbso;n_()Lavn;intermediary method_6002Lnet/minecraft/class_1309;method_6002()Lnet/minecraft/class_3414;named getDeathSoundLnet/minecraft/entity/LivingEntity;getDeathSound()Lnet/minecraft/sound/SoundEvent;
-
method_58899
- Mappings:
Namespace Name Mixin selector official gDLcjc;gD()Lavn;intermediary method_58899Lnet/minecraft/class_9500;method_58899()Lnet/minecraft/class_3414;named method_58899Lnet/minecraft/class_9500;method_58899()Lnet/minecraft/sound/SoundEvent;
-
getAmbientSound
- Overrides:
getAmbientSoundin classMobEntity- Mappings:
Namespace Name Mixin selector official uLbsq;u()Lavn;intermediary method_5994Lnet/minecraft/class_1308;method_5994()Lnet/minecraft/class_3414;named getAmbientSoundLnet/minecraft/entity/mob/MobEntity;getAmbientSound()Lnet/minecraft/sound/SoundEvent;
-
getSoundVolume
protected float getSoundVolume()- Overrides:
getSoundVolumein classLivingEntity- Mappings:
Namespace Name Mixin selector official fnLbso;fn()Fintermediary method_6107Lnet/minecraft/class_1309;method_6107()Fnamed getSoundVolumeLnet/minecraft/entity/LivingEntity;getSoundVolume()F
-
getMaxLookPitchChange
public int getMaxLookPitchChange()Returns the maximum degrees which the pitch can change when looking.This is used by the look control.
It can return from
1for entities that can hardly raise their head, like axolotls or dolphins, or180for entities that can freely raise and lower their head, like guardians. The default return value is40.- Overrides:
getMaxLookPitchChangein classMobEntity- Returns:
- the maximum degrees which the pitch can change when looking
- Mappings:
Namespace Name Mixin selector official ZLbsq;Z()Iintermediary method_5978Lnet/minecraft/class_1308;method_5978()Inamed getMaxLookPitchChangeLnet/minecraft/entity/mob/MobEntity;getMaxLookPitchChange()I
-
method_58900
protected boolean method_58900()- Mappings:
Namespace Name Mixin selector official gELcjc;gE()Zintermediary method_58900Lnet/minecraft/class_9500;method_58900()Znamed method_58900Lnet/minecraft/class_9500;method_58900()Z
-
jump
protected void jump()- Overrides:
jumpin classLivingEntity- Mappings:
Namespace Name Mixin selector official fsLbso;fs()Vintermediary method_6043Lnet/minecraft/class_1309;method_6043()Vnamed jumpLnet/minecraft/entity/LivingEntity;jump()V
-
initialize
@Nullable public @Nullable EntityData initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable @Nullable EntityData entityData) - Overrides:
initializein classMobEntity- Mappings:
Namespace Name Mixin selector official aLbsq;a(Ldcp;Lbpy;Lbss;Lbtg;)Lbtg;intermediary method_5943Lnet/minecraft/class_1308;method_5943(Lnet/minecraft/class_5425;Lnet/minecraft/class_1266;Lnet/minecraft/class_3730;Lnet/minecraft/class_1315;)Lnet/minecraft/class_1315;named initializeLnet/minecraft/entity/mob/MobEntity;initialize(Lnet/minecraft/world/ServerWorldAccess;Lnet/minecraft/world/LocalDifficulty;Lnet/minecraft/entity/SpawnReason;Lnet/minecraft/entity/EntityData;)Lnet/minecraft/entity/EntityData;
-
shouldRenderOverlay
public boolean shouldRenderOverlay()- Specified by:
shouldRenderOverlayin interfaceSkinOverlayOwner- Mappings:
Namespace Name Mixin selector official aLbta;a()Zintermediary method_6872Lnet/minecraft/class_4582;method_6872()Znamed shouldRenderOverlayLnet/minecraft/client/render/entity/feature/SkinOverlayOwner;shouldRenderOverlay()Z
-
method_58902
float method_58902()- Mappings:
Namespace Name Mixin selector official gGLcjc;gG()Fintermediary method_58902Lnet/minecraft/class_9500;method_58902()Fnamed method_58902Lnet/minecraft/class_9500;method_58902()F
-
method_58901
- Mappings:
Namespace Name Mixin selector official gFLcjc;gF()Lavn;intermediary method_58901Lnet/minecraft/class_9500;method_58901()Lnet/minecraft/class_3414;named method_58901Lnet/minecraft/class_9500;method_58901()Lnet/minecraft/sound/SoundEvent;
-
getBaseDimensions
- Overrides:
getBaseDimensionsin classLivingEntity- Mappings:
Namespace Name Mixin selector official eLbso;e(Lbsz;)Lbry;intermediary method_55694Lnet/minecraft/class_1309;method_55694(Lnet/minecraft/class_4050;)Lnet/minecraft/class_4048;named getBaseDimensionsLnet/minecraft/entity/LivingEntity;getBaseDimensions(Lnet/minecraft/entity/EntityPose;)Lnet/minecraft/entity/EntityDimensions;
-