Class ArmadilloEntity
- All Implemented Interfaces:
Attackable,DataTracked,Targeter,ScoreHolder,CommandOutput,Nameable,EntityLike
- Mappings:
Namespace Name official cdrintermediary net/minecraft/class_9069named net/minecraft/entity/passive/ArmadilloEntity
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class net.minecraft.entity.passive.PassiveEntity
PassiveEntity.PassiveDataNested classes/interfaces inherited from class net.minecraft.entity.LivingEntity
LivingEntity.FallSoundsNested classes/interfaces inherited from class net.minecraft.entity.Entity
Entity.MoveEffect, Entity.PositionUpdater, Entity.RemovalReason -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate longstatic final floatstatic final intstatic final floatprivate static final doubleprivate static final doubleprivate intprivate booleanfinal AnimationStatefinal AnimationStateprivate static final TrackedData<ArmadilloEntity.State> final AnimationStateFields inherited from class net.minecraft.entity.passive.AnimalEntity
BREEDING_COOLDOWNFields inherited from class net.minecraft.entity.passive.PassiveEntity
BABY_AGE, breedingAge, forcedAge, happyTicksRemainingFields 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_47757, field_48827, 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, 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, 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.scoreboard.ScoreHolder
WILDCARD, WILDCARD_NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidapplyDamage(DamageSource source, float amount) booleanbooleancanEat()booleanstatic booleancanSpawn(EntityType<ArmadilloEntity> entityType, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) protected BodyControlprotected Brain.Profile<ArmadilloEntity> createChild(ServerWorld world, PassiveEntity entity) booleandamage(DamageSource source, float amount) Applies a damage to this entity.protected Brain<?> deserializeBrain(com.mojang.serialization.Dynamic<?> dynamic) protected SoundEventprotected SoundEventgetEatSound(ItemStack stack) protected SoundEventgetHurtSound(DamageSource source) intReturns the maximum degrees which the head yaw can differ from the body yaw.private intfloatgetState()voidgrowUp(int age, boolean overGrow) voidhandleStatus(byte status) Called on the client when the entity receives an entity status from the server.protected voidinitDataTracker(DataTracker.Builder builder) Initializes data tracker.interactMob(PlayerEntity player, Hand hand) booleanisBreedingItem(ItemStack stack) booleanisEntityThreatening(LivingEntity entity) booleanbooleanvoidlovePlayer(@Nullable PlayerEntity player) protected voidmobTick()voidonTrackedDataSet(TrackedData<?> data) protected voidplayStepSound(BlockPos pos, BlockState state) voidReads custom data fromnbt.protected voidvoidsetState(ArmadilloEntity.State state) booleanbooleanvoidvoidtick()Ticks this entity.voidunroll()private voidvoidWrites custom data tonbt.Methods inherited from class net.minecraft.entity.passive.AnimalEntity
breed, breed, canBreedWith, canImmediatelyDespawn, eat, getLoveTicks, getLovingPlayer, getMinAmbientSoundDelay, getPathfindingFavor, getXpToDrop, isInLove, isLightLevelValidForNaturalSpawn, isValidNaturalSpawn, resetLoveTicks, setLoveTicks, tickMovementMethods inherited from class net.minecraft.entity.passive.PassiveEntity
getBreedingAge, growUp, initialize, isBaby, isReadyToBreed, onGrowUp, setBaby, setBreedingAge, toGrowUpAgeMethods inherited from class net.minecraft.entity.mob.PathAwareEntity
canSpawn, getFollowLeashSpeed, getPathfindingFavor, isNavigating, isPanicking, shouldFollowLeash, updateForLeashLength, updateLeashMethods inherited from class net.minecraft.entity.mob.MobEntity
attachLeash, baseTick, canBeLeashedBy, canEquip, canGather, canMobSpawn, canMoveVoluntarily, cannotDespawn, canPickupItem, canPickUpLoot, canSpawn, canTarget, canUseRangedWeapon, canUseSlot, checkDespawn, clampHeadYaw, clearGoals, clearGoalsAndTasks, clearPositionTarget, convertTo, 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, getMaxLookPitchChange, getMaxLookYawChange, getMoveControl, getNavigation, getPathfindingPenalty, getPickBlockStack, getPositionTarget, getPositionTargetRange, getSafeFallDistance, getTarget, getVisibilityCache, hasArmorSlot, hasPositionTarget, initEquipment, initGoals, interact, isAffectedByDaylight, isAiDisabled, isAttacking, isDisallowedInPeaceful, isHorseArmor, isInAttackRange, isInWalkTargetRange, isInWalkTargetRange, isLeashed, isLeftHanded, isPersistent, isWearingBodyArmor, lookAtEntity, loot, movesIndependently, onEatingGrass, onFinishPathfinding, onPlayerSpawnedChild, onStartPathfinding, playAmbientSound, playHurtSound, playSpawnEffects, prefersNewDamageableItem, prefersNewEquipment, removeFromDimension, setAiDisabled, setAttacking, setCanPickUpLoot, setEquipmentDropChance, setForwardSpeed, setHoldingEntityId, setLeftHanded, setMovementSpeed, setPathfindingPenalty, setPersistent, setPositionTarget, setSidewaysSpeed, setTarget, setUpwardSpeed, spawnsTooManyForEachTry, startRiding, stopMovement, swimUpward, tickNewAi, tryAttack, tryEquip, turnHead, updateDropChances, updateEnchantments, updateGoalControlsMethods inherited from class net.minecraft.entity.LivingEntity
addPowderSnowSlowIfNeeded, addSoulSpeedBoostIfNeeded, addStatusEffect, addStatusEffect, animateDamage, applyArmorToDamage, applyFluidMovingSpeed, applyMovementEffects, applyMovementInput, areItemsDifferent, attackLivingEntity, blockedByShield, canBreatheInWater, canFreeze, canHaveStatusEffect, canHit, canSee, canTakeDamage, canTarget, canUsePortals, canWalkOnFluid, clampScale, clearActiveItem, clearPotionSwirls, clearSleepingPosition, clearStatusEffects, computeFallDamage, consumeItem, containsOnlyAmbientEffects, createLivingAttributes, damageArmor, damageEquipment, damageHelmet, damageShield, disableExperienceDropping, disablesShield, displaySoulSpeedEffects, drop, dropInventory, dropXp, eatFood, endCombat, enterCombat, fall, getAbsorptionAmount, getActiveHand, getActiveItem, getActiveStatusEffects, getArmor, getArmorVisibility, getAttackDistanceScalingFactor, getAttacker, getAttacking, getAttributeBaseValue, getAttributeInstance, getAttributes, getAttributeValue, getBaseDimensions, getBaseMovementSpeedMultiplier, getBodyYaw, getBoundingBox, getBrain, getClimbingPos, getControlledMovementInput, getDamageTiltYaw, getDamageTracker, getDespawnCounter, getDimensions, getDrinkSound, 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, getSleepingDirection, getSleepingPosition, getSlotForHand, getSoundPitch, getSoundVolume, getStackInHand, getStackReference, getStatusEffect, getStatusEffects, getStepHeight, getStingerCount, getStuckArrowCount, getVelocityMultiplier, getVisibilityBoundingBox, getYaw, handleFallDamage, hasInvertedHealingAndHarm, hasNoDrag, hasStackEquipped, hasStatusEffect, heal, hurtByWater, isAffectedBySplashPotions, isAlive, isArmorSlot, isBlocking, isClimbing, isDead, isExperienceDroppingDisabled, isFallFlying, isGlowing, isHolding, isHolding, isHoldingOntoLadder, isImmobile, isInCreativeMode, isInsideWall, isInSwimmingPose, isMobOrPlayer, isOnSoulSpeedBlock, isPartOfGame, isPushable, isSleeping, isTarget, isUsingItem, isUsingRiptide, jump, kill, knockback, knockDownwards, lerpHeadYaw, lookAt, markEffectsDirty, modifyAppliedDamage, onAttacking, onDamaged, onDeath, onEquipStack, onKilledBy, onSpawnPacket, onStatusEffectApplied, onStatusEffectRemoved, onStatusEffectUpgraded, playBlockFallSound, playSound, positionInPortal, positionInPortal, processEquippedStack, pushAway, pushAwayFrom, remove, 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, calculateDimensions, 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, getDefaultName, getDefaultPortalCooldown, getDisplayName, getEffectiveExplosionResistance, getEntityWorld, getEyeHeight, getEyePos, getEyeY, 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, 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, getSoundCategory, getSplashSound, getStandingEyeHeight, getSteppingBlockState, getSteppingPos, getStepSoundPos, getSwimHeight, getSwimSound, getSyncedPos, getTargetingMargin, getTeamColorValue, getTeleportTarget, getTrackedPosition, getType, 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, isInvulnerable, 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, move, moveToWorld, occludeVibrationSignals, offsetX, offsetZ, onBlockCollision, onBubbleColumnCollision, onBubbleColumnSurfaceCollision, onDataTrackerUpdate, onExplodedBy, onKilledOther, onLanding, onPassengerLookAround, onPlayerCollision, onRemoved, onStartedTrackingBy, onStoppedTrackingBy, onStruckByLightning, onSwimmingStart, playCombinationStepSounds, playExtinguishSound, playSecondaryStepSound, playSound, playSoundIfNotSilent, 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_47778
public static final float field_47778- See Also:
- Mappings:
Namespace Name Mixin selector official bXLcdr;bX:Fintermediary field_47778Lnet/minecraft/class_9069;field_47778:Fnamed field_47778Lnet/minecraft/entity/passive/ArmadilloEntity;field_47778:F
-
field_48332
public static final float field_48332- See Also:
- Mappings:
Namespace Name Mixin selector official bYLcdr;bY:Fintermediary field_48332Lnet/minecraft/class_9069;field_48332:Fnamed field_48332Lnet/minecraft/entity/passive/ArmadilloEntity;field_48332:F
-
field_47779
public static final int field_47779- See Also:
- Mappings:
Namespace Name Mixin selector official caLcdr;ca:Iintermediary field_47779Lnet/minecraft/class_9069;field_47779:Inamed field_47779Lnet/minecraft/entity/passive/ArmadilloEntity;field_47779:I
-
field_48333
private static final double field_48333- See Also:
- Mappings:
Namespace Name Mixin selector official ceLcdr;ce:Dintermediary field_48333Lnet/minecraft/class_9069;field_48333:Dnamed field_48333Lnet/minecraft/entity/passive/ArmadilloEntity;field_48333:D
-
field_48334
private static final double field_48334- See Also:
- Mappings:
Namespace Name Mixin selector official cfLcdr;cf:Dintermediary field_48334Lnet/minecraft/class_9069;field_48334:Dnamed field_48334Lnet/minecraft/entity/passive/ArmadilloEntity;field_48334:D
-
STATE
- Mappings:
Namespace Name Mixin selector official cgLcdr;cg:Laja;intermediary field_47785Lnet/minecraft/class_9069;field_47785:Lnet/minecraft/class_2940;named STATELnet/minecraft/entity/passive/ArmadilloEntity;STATE:Lnet/minecraft/entity/data/TrackedData;
-
currentStateTicks
private long currentStateTicks- Mappings:
Namespace Name Mixin selector official chLcdr;ch:Jintermediary field_47786Lnet/minecraft/class_9069;field_47786:Jnamed currentStateTicksLnet/minecraft/entity/passive/ArmadilloEntity;currentStateTicks:J
-
unrollingAnimationState
- Mappings:
Namespace Name Mixin selector official cbLcdr;cb:Lbpv;intermediary field_49080Lnet/minecraft/class_9069;field_49080:Lnet/minecraft/class_7094;named unrollingAnimationStateLnet/minecraft/entity/passive/ArmadilloEntity;unrollingAnimationState:Lnet/minecraft/entity/AnimationState;
-
rollingAnimationState
- Mappings:
Namespace Name Mixin selector official ccLcdr;cc:Lbpv;intermediary field_49081Lnet/minecraft/class_9069;field_49081:Lnet/minecraft/class_7094;named rollingAnimationStateLnet/minecraft/entity/passive/ArmadilloEntity;rollingAnimationState:Lnet/minecraft/entity/AnimationState;
-
scaredAnimationState
- Mappings:
Namespace Name Mixin selector official cdLcdr;cd:Lbpv;intermediary field_49082Lnet/minecraft/class_9069;field_49082:Lnet/minecraft/class_7094;named scaredAnimationStateLnet/minecraft/entity/passive/ArmadilloEntity;scaredAnimationState:Lnet/minecraft/entity/AnimationState;
-
nextScuteShedCooldown
private int nextScuteShedCooldown- Mappings:
Namespace Name Mixin selector official ciLcdr;ci:Iintermediary field_47787Lnet/minecraft/class_9069;field_47787:Inamed nextScuteShedCooldownLnet/minecraft/entity/passive/ArmadilloEntity;nextScuteShedCooldown:I
-
peeking
private boolean peeking- Mappings:
Namespace Name Mixin selector official cjLcdr;cj:Zintermediary field_49083Lnet/minecraft/class_9069;field_49083:Znamed peekingLnet/minecraft/entity/passive/ArmadilloEntity;peeking:Z
-
-
Constructor Details
-
ArmadilloEntity
- Mappings:
Namespace Name Mixin selector official <init>Lbqa;<init>(Lbqg;Lczg;)Vintermediary <init>Lnet/minecraft/class_1297;<init>(Lnet/minecraft/class_1299;Lnet/minecraft/class_1937;)Vnamed <init>Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/World;)V
-
-
Method Details
-
createChild
- Specified by:
createChildin classPassiveEntity- Mappings:
Namespace Name Mixin selector official aLbpu;a(Lapu;Lbpu;)Lbpu;intermediary method_5613Lnet/minecraft/class_1296;method_5613(Lnet/minecraft/class_3218;Lnet/minecraft/class_1296;)Lnet/minecraft/class_1296;named createChildLnet/minecraft/entity/passive/PassiveEntity;createChild(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/PassiveEntity;)Lnet/minecraft/entity/passive/PassiveEntity;
-
createArmadilloAttributes
- Mappings:
Namespace Name Mixin selector official rLcdr;r()Lbrz$a;intermediary method_55722Lnet/minecraft/class_9069;method_55722()Lnet/minecraft/class_5132$class_5133;named createArmadilloAttributesLnet/minecraft/entity/passive/ArmadilloEntity;createArmadilloAttributes()Lnet/minecraft/entity/attribute/DefaultAttributeContainer$Builder;
-
initDataTracker
Initializes data tracker.- Overrides:
initDataTrackerin classPassiveEntity- Mappings:
Namespace Name Mixin selector official aLbqa;a(Laje$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
-
isNotIdle
public boolean isNotIdle()- Mappings:
Namespace Name Mixin selector official uLcdr;u()Zintermediary method_55723Lnet/minecraft/class_9069;method_55723()Znamed isNotIdleLnet/minecraft/entity/passive/ArmadilloEntity;isNotIdle()Z
-
isRolledUp
public boolean isRolledUp()- Mappings:
Namespace Name Mixin selector official yLcdr;y()Zintermediary method_55711Lnet/minecraft/class_9069;method_55711()Znamed isRolledUpLnet/minecraft/entity/passive/ArmadilloEntity;isRolledUp()Z
-
shouldSwitchToScaredState
public boolean shouldSwitchToScaredState()- Mappings:
Namespace Name Mixin selector official gnLcdr;gn()Zintermediary method_55714Lnet/minecraft/class_9069;method_55714()Znamed shouldSwitchToScaredStateLnet/minecraft/entity/passive/ArmadilloEntity;shouldSwitchToScaredState()Z
-
getState
- Mappings:
Namespace Name Mixin selector official gtLcdr;gt()Lcdr$a;intermediary method_55718Lnet/minecraft/class_9069;method_55718()Lnet/minecraft/class_9069$class_9070;named getStateLnet/minecraft/entity/passive/ArmadilloEntity;getState()Lnet/minecraft/entity/passive/ArmadilloEntity$State;
-
sendAiDebugData
protected void sendAiDebugData()- Overrides:
sendAiDebugDatain classMobEntity- Mappings:
Namespace Name Mixin selector official XLbqv;X()Vintermediary method_18409Lnet/minecraft/class_1308;method_18409()Vnamed sendAiDebugDataLnet/minecraft/entity/mob/MobEntity;sendAiDebugData()V
-
setState
- Mappings:
Namespace Name Mixin selector official aLcdr;a(Lcdr$a;)Vintermediary method_55713Lnet/minecraft/class_9069;method_55713(Lnet/minecraft/class_9069$class_9070;)Vnamed setStateLnet/minecraft/entity/passive/ArmadilloEntity;setState(Lnet/minecraft/entity/passive/ArmadilloEntity$State;)V
-
onTrackedDataSet
- Specified by:
onTrackedDataSetin interfaceDataTracked- Overrides:
onTrackedDataSetin classPassiveEntity- Mappings:
Namespace Name Mixin selector official aLajd;a(Laja;)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
-
createBrainProfile
- Overrides:
createBrainProfilein classLivingEntity- Mappings:
Namespace Name Mixin selector official dQLbqt;dQ()Lbru$b;intermediary method_28306Lnet/minecraft/class_1309;method_28306()Lnet/minecraft/class_4095$class_5303;named createBrainProfileLnet/minecraft/entity/LivingEntity;createBrainProfile()Lnet/minecraft/entity/ai/brain/Brain$Profile;
-
deserializeBrain
- Overrides:
deserializeBrainin classLivingEntity- Mappings:
Namespace Name Mixin selector official aLbqt;a(Lcom/mojang/serialization/Dynamic;)Lbru;intermediary method_18867Lnet/minecraft/class_1309;method_18867(Lcom/mojang/serialization/Dynamic;)Lnet/minecraft/class_4095;named deserializeBrainLnet/minecraft/entity/LivingEntity;deserializeBrain(Lcom/mojang/serialization/Dynamic;)Lnet/minecraft/entity/ai/brain/Brain;
-
mobTick
protected void mobTick()- Overrides:
mobTickin classAnimalEntity- Mappings:
Namespace Name Mixin selector official YLbqv;Y()Vintermediary method_5958Lnet/minecraft/class_1308;method_5958()Vnamed mobTickLnet/minecraft/entity/mob/MobEntity;mobTick()V
-
getNextScuteShedCooldown
private int getNextScuteShedCooldown()- Mappings:
Namespace Name Mixin selector official gzLcdr;gz()Iintermediary method_55719Lnet/minecraft/class_9069;method_55719()Inamed getNextScuteShedCooldownLnet/minecraft/entity/passive/ArmadilloEntity;getNextScuteShedCooldown()I
-
tick
public void tick()Ticks this entity. -
getScaleFactor
public float getScaleFactor()- Overrides:
getScaleFactorin classLivingEntity- Mappings:
Namespace Name Mixin selector official eaLbqt;ea()Fintermediary method_17825Lnet/minecraft/class_1309;method_17825()Fnamed getScaleFactorLnet/minecraft/entity/LivingEntity;getScaleFactor()F
-
updateAnimationStates
private void updateAnimationStates()- Mappings:
Namespace Name Mixin selector official gALcdr;gA()Vintermediary method_55720Lnet/minecraft/class_9069;method_55720()Vnamed updateAnimationStatesLnet/minecraft/entity/passive/ArmadilloEntity;updateAnimationStates()V
-
handleStatus
public void handleStatus(byte status) Called on the client when the entity receives an entity status from the server. They are often used to spawn particles or play sounds. Subclasses can override this method to handle custom entity status.- Overrides:
handleStatusin classAnimalEntity- See Also:
- Mappings:
Namespace Name Mixin selector official bLbqa;b(B)Vintermediary method_5711Lnet/minecraft/class_1297;method_5711(B)Vnamed handleStatusLnet/minecraft/entity/Entity;handleStatus(B)V
-
isBreedingItem
- Overrides:
isBreedingItemin classAnimalEntity- Mappings:
Namespace Name Mixin selector official oLcci;o(Lcrs;)Zintermediary method_6481Lnet/minecraft/class_1429;method_6481(Lnet/minecraft/class_1799;)Znamed isBreedingItemLnet/minecraft/entity/passive/AnimalEntity;isBreedingItem(Lnet/minecraft/item/ItemStack;)Z
-
canSpawn
public static boolean canSpawn(EntityType<ArmadilloEntity> entityType, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) - Mappings:
Namespace Name Mixin selector official cLcdr;c(Lbqg;Lczh;Lbqx;Lid;Laxt;)Zintermediary method_56083Lnet/minecraft/class_9069;method_56083(Lnet/minecraft/class_1299;Lnet/minecraft/class_1936;Lnet/minecraft/class_3730;Lnet/minecraft/class_2338;Lnet/minecraft/class_5819;)Znamed canSpawnLnet/minecraft/entity/passive/ArmadilloEntity;canSpawn(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/WorldAccess;Lnet/minecraft/entity/SpawnReason;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/random/Random;)Z
-
isEntityThreatening
- Mappings:
Namespace Name Mixin selector official jLcdr;j(Lbqt;)Zintermediary method_55721Lnet/minecraft/class_9069;method_55721(Lnet/minecraft/class_1309;)Znamed isEntityThreateningLnet/minecraft/entity/passive/ArmadilloEntity;isEntityThreatening(Lnet/minecraft/entity/LivingEntity;)Z
-
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 classAnimalEntity- See Also:
- Mappings:
Namespace Name Mixin selector official bLbqa;b(Lto;)Vintermediary method_5652Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_2487;)Vnamed writeCustomDataToNbtLnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
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 classAnimalEntity- See Also:
- Mappings:
Namespace Name Mixin selector official aLbqa;a(Lto;)Vintermediary method_5749Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_2487;)Vnamed readCustomDataFromNbtLnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
startRolling
public void startRolling()- Mappings:
Namespace Name Mixin selector official guLcdr;gu()Vintermediary method_55715Lnet/minecraft/class_9069;method_55715()Vnamed startRollingLnet/minecraft/entity/passive/ArmadilloEntity;startRolling()V
-
unroll
public void unroll()- Mappings:
Namespace Name Mixin selector official gvLcdr;gv()Vintermediary method_55724Lnet/minecraft/class_9069;method_55724()Vnamed unrollLnet/minecraft/entity/passive/ArmadilloEntity;unroll()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 classAnimalEntity- Returns:
- whether the entity was actually damaged
- See Also:
- Mappings:
Namespace Name Mixin selector official aLbqa;a(Lboy;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
-
applyDamage
- Overrides:
applyDamagein classLivingEntity- Mappings:
Namespace Name Mixin selector official fLbqt;f(Lboy;F)Vintermediary method_6074Lnet/minecraft/class_1309;method_6074(Lnet/minecraft/class_1282;F)Vnamed applyDamageLnet/minecraft/entity/LivingEntity;applyDamage(Lnet/minecraft/entity/damage/DamageSource;F)V
-
shouldUnrollAndFlee
public boolean shouldUnrollAndFlee()- Mappings:
Namespace Name Mixin selector official gwLcdr;gw()Zintermediary method_56997Lnet/minecraft/class_9069;method_56997()Znamed shouldUnrollAndFleeLnet/minecraft/entity/passive/ArmadilloEntity;shouldUnrollAndFlee()Z
-
interactMob
- Overrides:
interactMobin classAnimalEntity- Mappings:
Namespace Name Mixin selector official bLbqv;b(Lcka;Lboe;)Lbof;intermediary method_5992Lnet/minecraft/class_1308;method_5992(Lnet/minecraft/class_1657;Lnet/minecraft/class_1268;)Lnet/minecraft/class_1269;named interactMobLnet/minecraft/entity/mob/MobEntity;interactMob(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/Hand;)Lnet/minecraft/util/ActionResult;
-
growUp
public void growUp(int age, boolean overGrow) - Overrides:
growUpin classPassiveEntity- Mappings:
Namespace Name Mixin selector official aLbpu;a(IZ)Vintermediary method_5620Lnet/minecraft/class_1296;method_5620(IZ)Vnamed growUpLnet/minecraft/entity/passive/PassiveEntity;growUp(IZ)V
-
brushScute
public boolean brushScute()- Mappings:
Namespace Name Mixin selector official gxLcdr;gx()Zintermediary method_55716Lnet/minecraft/class_9069;method_55716()Znamed brushScuteLnet/minecraft/entity/passive/ArmadilloEntity;brushScute()Z
-
canRollUp
public boolean canRollUp()- Mappings:
Namespace Name Mixin selector official gyLcdr;gy()Zintermediary method_55717Lnet/minecraft/class_9069;method_55717()Znamed canRollUpLnet/minecraft/entity/passive/ArmadilloEntity;canRollUp()Z
-
lovePlayer
- Overrides:
lovePlayerin classAnimalEntity- Mappings:
Namespace Name Mixin selector official gLcci;g(Lcka;)Vintermediary method_6480Lnet/minecraft/class_1429;method_6480(Lnet/minecraft/class_1657;)Vnamed lovePlayerLnet/minecraft/entity/passive/AnimalEntity;lovePlayer(Lnet/minecraft/entity/player/PlayerEntity;)V
-
canEat
public boolean canEat()- Overrides:
canEatin classAnimalEntity- Mappings:
Namespace Name Mixin selector official goLcci;go()Zintermediary method_6482Lnet/minecraft/class_1429;method_6482()Znamed canEatLnet/minecraft/entity/passive/AnimalEntity;canEat()Z
-
getEatSound
- Overrides:
getEatSoundin classLivingEntity- Mappings:
Namespace Name Mixin selector official dLbqt;d(Lcrs;)Laun;intermediary method_18869Lnet/minecraft/class_1309;method_18869(Lnet/minecraft/class_1799;)Lnet/minecraft/class_3414;named getEatSoundLnet/minecraft/entity/LivingEntity;getEatSound(Lnet/minecraft/item/ItemStack;)Lnet/minecraft/sound/SoundEvent;
-
getAmbientSound
- Overrides:
getAmbientSoundin classMobEntity- Mappings:
Namespace Name Mixin selector official vLbqv;v()Laun;intermediary method_5994Lnet/minecraft/class_1308;method_5994()Lnet/minecraft/class_3414;named getAmbientSoundLnet/minecraft/entity/mob/MobEntity;getAmbientSound()Lnet/minecraft/sound/SoundEvent;
-
getDeathSound
- Overrides:
getDeathSoundin classLivingEntity- Mappings:
Namespace Name Mixin selector official o_Lbqt;o_()Laun;intermediary method_6002Lnet/minecraft/class_1309;method_6002()Lnet/minecraft/class_3414;named getDeathSoundLnet/minecraft/entity/LivingEntity;getDeathSound()Lnet/minecraft/sound/SoundEvent;
-
getHurtSound
- Overrides:
getHurtSoundin classLivingEntity- Mappings:
Namespace Name Mixin selector official dLbqt;d(Lboy;)Laun;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;
-
playStepSound
- Overrides:
playStepSoundin classEntity- Mappings:
Namespace Name Mixin selector official bLbqa;b(Lid;Ldpi;)Vintermediary method_5712Lnet/minecraft/class_1297;method_5712(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Vnamed playStepSoundLnet/minecraft/entity/Entity;playStepSound(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
-
getMaxHeadRotation
public int getMaxHeadRotation()Returns the maximum degrees which the head yaw can differ from the body yaw.This is used by the body control.
It can return from
1for entities that can hardly rotate their head, like axolotls or dolphins, or180for entities that can freely rotate their head, like shulkers. The default return value is75.- Overrides:
getMaxHeadRotationin classMobEntity- Returns:
- the maximum degrees which the head yaw can differ from the body yaw
- Mappings:
Namespace Name Mixin selector official aaLbqv;aa()Iintermediary method_5986Lnet/minecraft/class_1308;method_5986()Inamed getMaxHeadRotationLnet/minecraft/entity/mob/MobEntity;getMaxHeadRotation()I
-
createBodyControl
- Overrides:
createBodyControlin classMobEntity- Mappings:
Namespace Name Mixin selector official ELbqv;E()Lbwo;intermediary method_5963Lnet/minecraft/class_1308;method_5963()Lnet/minecraft/class_1330;named createBodyControlLnet/minecraft/entity/mob/MobEntity;createBodyControl()Lnet/minecraft/entity/ai/control/BodyControl;
-