Class ArmadilloEntity
- All Implemented Interfaces:
Attackable,Targeter,ScoreHolder,CommandOutput,Nameable,EntityLike
- Mappings:
Namespace Name official cbeintermediary 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 intprivate static final intprivate static final intstatic final floatprivate static final doubleprivate static final doubleprivate intfinal AnimationStatefinal AnimationStateprivate static final TrackedData<ArmadilloEntity.State>Fields 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, 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, field_30063, field_30069, field_30070, field_30072, field_30074, field_30075, field_47756, field_47757, 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, roll, scoreAmount, serverHeadYaw, serverPitch, serverX, serverY, serverYaw, serverZ, sidewaysSpeed, SLEEPING_DIMENSIONS, stepBobbingAmount, stuckArrowTimer, stuckStingerTimer, upwardSpeed, USING_ITEM_FLAG, USING_RIPTIDE_FLAGFields inherited from class net.minecraft.entity.Entity
age, collidedSoftly, dataTracker, DEFAULT_FRICTION, DEFAULT_MIN_FREEZE_DAMAGE_TICKS, DEFAULT_PORTAL_COOLDOWN, distanceTraveled, FALL_FLYING_FLAG_INDEX, fallDistance, field_44870, field_44871, field_44872, 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) voidbooleancanEat()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 intfloatprivate ArmadilloEntity.StategetState()protected voidInitializes data tracker.interactMob(PlayerEntity player, Hand hand) booleanisBreedingItem(ItemStack stack) booleanisEntityThreatening(LivingEntity livingEntity) booleanbooleanvoidlovePlayer(@Nullable PlayerEntity player) protected voidmobTick()voidonTrackedDataSet(TrackedData<?> data) Called on the client when the tracked data is set.protected voidplayStepSound(BlockPos pos, BlockState state) voidReads custom data fromnbt.protected voidprivate voidsetRolling(boolean rolling) voidsetState(ArmadilloEntity.State state) booleanvoidvoidtick()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, handleStatus, isInLove, isLightLevelValidForNaturalSpawn, isValidNaturalSpawn, resetLoveTicks, setLoveTicks, tickMovementMethods inherited from class net.minecraft.entity.passive.PassiveEntity
getBreedingAge, growUp, 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, checkDespawn, clampHeadYaw, clearGoals, clearGoalsAndTasks, clearPositionTarget, convertTo, createMobAttributes, createNavigation, detachLeash, dropEquipment, dropLoot, enchantEquipment, enchantMainHandItem, equipLootStack, equipStack, getArmorItems, getAttackBox, 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, hasPositionTarget, initEquipment, initGoals, interact, isAffectedByDaylight, isAiDisabled, isAttacking, isDisallowedInPeaceful, isInAttackRange, isInWalkTargetRange, isInWalkTargetRange, isLeashed, isLeftHanded, isPersistent, 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, 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, getFallSounds, getHandSwingProgress, getHeadYaw, getHealth, getHitbox, getItemUseTime, getItemUseTimeLeft, getJumpBoostVelocityModifier, 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, getRoll, getSaddledSpeed, 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, 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, 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, getFireTicks, getFirstPassenger, getFlag, getFluidHeight, getFreezingScale, getFrozenTicks, getHandPosOffset, getHeight, getHighSpeedSplashSound, getHorizontalFacing, getHoverEvent, getId, getItemsEquipped, 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, 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, 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 bTLcbe;bT: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 bULcbe;bU:Fintermediary field_48332Lnet/minecraft/class_9069;field_48332:Fnamed field_48332Lnet/minecraft/entity/passive/ArmadilloEntity;field_48332:F
-
field_47782
private static final int field_47782- See Also:
- Mappings:
Namespace Name Mixin selector official bZLcbe;bZ:Iintermediary field_47782Lnet/minecraft/class_9069;field_47782:Inamed field_47782Lnet/minecraft/entity/passive/ArmadilloEntity;field_47782:I
-
field_47783
private static final int field_47783- See Also:
- Mappings:
Namespace Name Mixin selector official caLcbe;ca:Iintermediary field_47783Lnet/minecraft/class_9069;field_47783:Inamed field_47783Lnet/minecraft/entity/passive/ArmadilloEntity;field_47783:I
-
field_47779
public static final int field_47779- See Also:
- Mappings:
Namespace Name Mixin selector official bWLcbe;bW: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 cbLcbe;cb: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 ccLcbe;cc: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 cdLcbe;cd:Laie;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 ceLcbe;ce:Jintermediary field_47786Lnet/minecraft/class_9069;field_47786:Jnamed currentStateTicksLnet/minecraft/entity/passive/ArmadilloEntity;currentStateTicks:J
-
scaredAnimationState
- Mappings:
Namespace Name Mixin selector official bXLcbe;bX:Lbnm;intermediary field_47780Lnet/minecraft/class_9069;field_47780:Lnet/minecraft/class_7094;named scaredAnimationStateLnet/minecraft/entity/passive/ArmadilloEntity;scaredAnimationState:Lnet/minecraft/entity/AnimationState;
-
rollingAnimationState
- Mappings:
Namespace Name Mixin selector official bYLcbe;bY:Lbnm;intermediary field_47781Lnet/minecraft/class_9069;field_47781:Lnet/minecraft/class_7094;named rollingAnimationStateLnet/minecraft/entity/passive/ArmadilloEntity;rollingAnimationState:Lnet/minecraft/entity/AnimationState;
-
nextScuteShedCooldown
private int nextScuteShedCooldown- Mappings:
Namespace Name Mixin selector official cfLcbe;cf:Iintermediary field_47787Lnet/minecraft/class_9069;field_47787:Inamed nextScuteShedCooldownLnet/minecraft/entity/passive/ArmadilloEntity;nextScuteShedCooldown:I
-
-
Constructor Details
-
ArmadilloEntity
- Mappings:
Namespace Name Mixin selector official <init>Lbnq;<init>(Lbnw;Lcvr;)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 aLbnl;a(Laow;Lbnl;)Lbnl;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 uLcbe;u()Lbpo$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
protected void initDataTracker()Initializes data tracker.- Overrides:
initDataTrackerin classPassiveEntity- Mappings:
Namespace Name Mixin selector official c_Lbnq;c_()Vintermediary method_5693Lnet/minecraft/class_1297;method_5693()Vnamed initDataTrackerLnet/minecraft/entity/Entity;initDataTracker()V
-
isNotIdle
public boolean isNotIdle()- Mappings:
Namespace Name Mixin selector official wLcbe;w()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 ALcbe;A()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 ggLcbe;gg()Zintermediary method_55714Lnet/minecraft/class_9069;method_55714()Znamed shouldSwitchToScaredStateLnet/minecraft/entity/passive/ArmadilloEntity;shouldSwitchToScaredState()Z
-
getState
- Mappings:
Namespace Name Mixin selector official gqLcbe;gq()Lcbe$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 ZLbok;Z()Vintermediary method_18409Lnet/minecraft/class_1308;method_18409()Vnamed sendAiDebugDataLnet/minecraft/entity/mob/MobEntity;sendAiDebugData()V
-
setState
- Mappings:
Namespace Name Mixin selector official aLcbe;a(Lcbe$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
-
setRolling
private void setRolling(boolean rolling) - Mappings:
Namespace Name Mixin selector official wLcbe;w(Z)Vintermediary method_55725Lnet/minecraft/class_9069;method_55725(Z)Vnamed setRollingLnet/minecraft/entity/passive/ArmadilloEntity;setRolling(Z)V
-
onTrackedDataSet
Called on the client when the tracked data is set.This can be overridden to refresh other fields when the tracked data is set or changed.
- Overrides:
onTrackedDataSetin classPassiveEntity- Mappings:
Namespace Name Mixin selector official aLbnq;a(Laie;)Vintermediary method_5674Lnet/minecraft/class_1297;method_5674(Lnet/minecraft/class_2940;)Vnamed onTrackedDataSetLnet/minecraft/entity/Entity;onTrackedDataSet(Lnet/minecraft/entity/data/TrackedData;)V
-
createBrainProfile
- Overrides:
createBrainProfilein classLivingEntity- Mappings:
Namespace Name Mixin selector official dPLboi;dP()Lbpj$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 aLboi;a(Lcom/mojang/serialization/Dynamic;)Lbpj;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 aaLbok;aa()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 grLcbe;gr()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 dZLboi;dZ()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 gsLcbe;gs()Vintermediary method_55720Lnet/minecraft/class_9069;method_55720()Vnamed updateAnimationStatesLnet/minecraft/entity/passive/ArmadilloEntity;updateAnimationStates()V
-
isBreedingItem
- Overrides:
isBreedingItemin classAnimalEntity- Mappings:
Namespace Name Mixin selector official mLbzx;m(Lcpd;)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 cLcbe;c(Lbnw;Lcvs;Lbom;Lhz;Lawp;)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 jLcbe;j(Lboi;)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 bLbnq;b(Lsw;)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 aLbnq;a(Lsw;)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 gmLcbe;gm()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 gnLcbe;gn()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 aLbnq;a(Lbmp;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 fLboi;f(Lbmp;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
-
interactMob
- Overrides:
interactMobin classAnimalEntity- Mappings:
Namespace Name Mixin selector official bLbok;b(Lchl;Lblv;)Lblw;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;
-
brushScute
public void brushScute()- Mappings:
Namespace Name Mixin selector official goLcbe;go()Vintermediary method_55716Lnet/minecraft/class_9069;method_55716()Vnamed brushScuteLnet/minecraft/entity/passive/ArmadilloEntity;brushScute()V
-
canRollUp
public boolean canRollUp()- Mappings:
Namespace Name Mixin selector official gpLcbe;gp()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 gLbzx;g(Lchl;)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 ghLbzx;gh()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 dLboi;d(Lcpd;)Latk;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 yLbok;y()Latk;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 n_Lboi;n_()Latk;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 dLboi;d(Lbmp;)Latk;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 bLbnq;b(Lhz;Ldlj;)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 fHLbok;fH()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 HLbok;H()Lbud;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;
-