net.minecraft.entity.passive

public class ArmadilloEntity

extends AnimalEntity

All mapped superinterfaces:

Nameable, EntityLike, UniquelyIdentifiable, ScoreHolder, DataTracked, ComponentsAccess, HeldItemContext, StackReferenceGetter, DebugTrackable, EntryConvertible, Attackable, ServerWaypoint, Waypoint, Targeter, EquipmentHolder, Leashable

net.minecraft.world.entity.animal.armadillo.Armadillo
net.minecraft.class_9069
net.minecraft.entity.passive.ArmadilloEntity

Field summary

Modifier and TypeField
public static final float
BABY_SCALE
field_47778
field_47778
public static final float
MAX_HEAD_ROTATION_EXTENT
field_48332
field_48332
public static final int
SCARE_CHECK_INTERVAL
field_47779
field_47779
private static final double
SCARE_DISTANCE_HORIZONTAL
field_48333
field_48333
private static final double
SCARE_DISTANCE_VERTICAL
field_48334
field_48334
private static final EntityDimensions
BABY_DIMENSIONS
field_1_6152
field_1_6152
private static final Brain$Profile<ArmadilloEntity>
BRAIN_PROVIDER
field_1_1291
PROFILE
private static final TrackedData<ArmadilloEntity$State>
ARMADILLO_STATE
field_47785
STATE
private long
inStateTicks
field_47786
currentStateTicks
public final AnimationState
rollOutAnimationState
field_49080
unrollingAnimationState
public final AnimationState
rollUpAnimationState
field_49081
rollingAnimationState
public final AnimationState
peekAnimationState
field_49082
scaredAnimationState
private int
scuteTime
field_47787
nextScuteShedCooldown
private boolean
peekReceivedClient
field_49083
peeking

Constructor summary

ModifierConstructor
public (EntityType<? extends AnimalEntity> type, World level)

Method summary

Modifier and TypeMethod
public PassiveEntity
getBreedOffspring(ServerLevel level, AgeableMob partner)
method_5613(class_3218 arg0, class_1296 arg1)
createChild(ServerWorld arg0, PassiveEntity arg1)
public static DefaultAttributeContainer$Builder
createAttributes()
method_55722()
createArmadilloAttributes()
protected void
defineSynchedData(SynchedEntityData$Builder entityData)
method_5693(class_2945$class_9222 arg0)
initDataTracker(DataTracker$Builder arg0)
public boolean
isScared()
method_55723()
isNotIdle()
public boolean
shouldHideInShell()
method_55711()
isRolledUp()
public boolean
shouldSwitchToScaredState()
method_55714()
shouldSwitchToScaredState()
public ArmadilloEntity$State
getState()
method_55718()
getState()
public void
switchToState(Armadillo$ArmadilloState state)
method_55713(class_9069$class_9070 arg0)
setState(ArmadilloEntity$State state)
public void
onSyncedDataUpdated(EntityDataAccessor<?> accessor)
method_5674(class_2940<?> arg0)
onTrackedDataSet(TrackedData<?> arg0)
protected Brain<ArmadilloEntity>
makeBrain(Brain$Packed packedBrain)
method_18867(class_4095$class_1_142 arg0)
deserializeBrain(Brain$State arg0)
public Brain<ArmadilloEntity>
getBrain()
method_18868()
getBrain()
protected void
customServerAiStep(ServerLevel level)
method_5958(class_3218 arg0)
mobTick(ServerWorld arg0)
private int
pickNextScuteDropTime()
method_55719()
getNextScuteShedCooldown()
public void
tick()
method_5773()
tick()
public float
getAgeScale()
method_17825()
getScaleFactor()
public EntityDimensions
getDefaultDimensions(Pose pose)
method_55694(class_4050 arg0)
getBaseDimensions(EntityPose arg0)
private void
setupAnimationStates()
method_55720()
updateAnimationStates()
public void
handleEntityEvent(byte id)
method_5711(byte arg0)
handleStatus(byte arg0)
public boolean
isFood(ItemStack itemStack)
method_6481(class_1799 arg0)
isBreedingItem(ItemStack arg0)
public static boolean
checkArmadilloSpawnRules(EntityType<Armadillo> type, LevelAccessor level, EntitySpawnReason spawnReason, BlockPos pos, RandomSource random)
method_56083(class_1299<class_9069> arg0, class_1936 arg1, class_3730 arg2, class_2338 arg3, class_5819 arg4)
canSpawn(EntityType<ArmadilloEntity> entityType, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random)
public boolean
isScaredBy(LivingEntity livingEntity)
method_55721(class_1309 arg0)
isEntityThreatening(LivingEntity entity)
protected void
addAdditionalSaveData(ValueOutput output)
method_5652(class_11372 arg0)
writeCustomData(WriteView arg0)
protected void
readAdditionalSaveData(ValueInput input)
method_5749(class_11368 arg0)
readCustomData(ReadView arg0)
public void
rollUp()
method_55715()
startRolling()
public void
rollOut()
method_55724()
unroll()
public boolean
hurtServer(ServerLevel level, DamageSource source, float damage)
method_64397(class_3218 arg0, class_1282 arg1, float arg2)
damage(ServerWorld arg0, DamageSource arg1, float arg2)
protected void
actuallyHurt(ServerLevel level, DamageSource source, float dmg)
method_6074(class_3218 arg0, class_1282 arg1, float arg2)
applyDamage(ServerWorld arg0, DamageSource arg1, float arg2)
public ActionResult
mobInteract(Player player, InteractionHand hand)
method_5992(class_1657 arg0, class_1268 arg1)
interactMob(PlayerEntity arg0, Hand arg1)
public boolean
brushOffScute(Entity interactingEntity, ItemStack tool)
method_55716(class_1297 arg0, class_1799 arg1)
brushScute(Entity interactingEntity, ItemStack tool)
public boolean
canStayRolledUp()
method_55717()
canRollUp()
public boolean
canFallInLove()
method_6482()
canEat()
protected SoundEvent
getAmbientSound()
method_5994()
getAmbientSound()
protected void
playEatingSound()
method_61458()
playEatSound()
protected SoundEvent
getDeathSound()
method_6002()
getDeathSound()
protected SoundEvent
getHurtSound(DamageSource source)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
protected void
playStepSound(BlockPos pos, BlockState blockState)
method_5712(class_2338 arg0, class_2680 arg1)
playStepSound(BlockPos arg0, BlockState arg1)
public int
getMaxHeadYRot()
method_5986()
getMaxHeadRotation()
protected BodyControl
createBodyControl()
method_5963()
createBodyControl()
private void
lambda$readAdditionalSaveData$0(Integer arg0)
method_68268(Integer arg0)
method_68268(Integer scuteTime)
private static List
lambda$static$0(Armadillo arg0)
method_1_1526(class_9069 arg0)
method_1_1526(ArmadilloEntity armadillo)