net.minecraft.entity.mob

public abstract class AbstractSkeletonEntity

extends HostileEntity implements RangedAttackMob

All mapped superinterfaces:

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

net.minecraft.world.entity.monster.skeleton.AbstractSkeleton
net.minecraft.class_1547
net.minecraft.entity.mob.AbstractSkeletonEntity

Field summary

Modifier and TypeField
private static final int
HARD_ATTACK_INTERVAL
field_49149
HARD_ATTACK_INTERVAL
private static final int
NORMAL_ATTACK_INTERVAL
field_49150
REGULAR_ATTACK_INTERVAL
protected static final int
INCREASED_HARD_ATTACK_INTERVAL
field_64142
VARIANT_HARD_ATTACK_INTERVAL
protected static final int
INCREASED_NORMAL_ATTACK_INTERVAL
field_64143
VARIANT_REGULAR_ATTACK_INTERVAL
private final BowAttackGoal<AbstractSkeletonEntity>
bowGoal
field_7220
bowAttackGoal
private final MeleeAttackGoal
meleeGoal
field_7221
meleeAttackGoal

Constructor summary

ModifierConstructor
protected (EntityType<? extends AbstractSkeletonEntity> type, World level)

Method summary

Modifier and TypeMethod
protected void
registerGoals()
method_5959()
initGoals()
public static DefaultAttributeContainer$Builder
createAttributes()
method_26905()
createAbstractSkeletonAttributes()
protected void
playStepSound(BlockPos pos, BlockState blockState)
method_5712(class_2338 arg0, class_2680 arg1)
playStepSound(BlockPos arg0, BlockState arg1)
protected abstract SoundEvent
getStepSound()
method_6998()
getStepSound()
public void
rideTick()
method_5842()
tickRiding()
protected void
populateDefaultEquipmentSlots(RandomSource random, DifficultyInstance difficulty)
method_5964(class_5819 arg0, class_1266 arg1)
initEquipment(Random arg0, LocalDifficulty arg1)
public EntityData
finalizeSpawn(ServerLevelAccessor level, DifficultyInstance difficulty, EntitySpawnReason spawnReason, SpawnGroupData groupData)
method_5943(class_5425 arg0, class_1266 arg1, class_3730 arg2, class_1315 arg3)
initialize(ServerWorldAccess arg0, LocalDifficulty arg1, SpawnReason arg2, EntityData arg3)
public void
reassessWeaponGoal()
method_6997()
updateAttackType()
protected int
getHardAttackInterval()
method_57078()
getHardAttackInterval()
protected int
getAttackInterval()
method_57079()
getRegularAttackInterval()
public void
performRangedAttack(LivingEntity target, float power)
method_7105(class_1309 arg0, float arg1)
shootAt(LivingEntity arg0, float arg1)
protected PersistentProjectileEntity
getArrow(ItemStack projectile, float power, ItemStack firingWeapon)
method_6996(class_1799 arg0, float arg1, class_1799 arg2)
createArrowProjectile(ItemStack arrow, float damageModifier, ItemStack shotFrom)
public boolean
canUseNonMeleeWeapon(ItemStack item)
method_76695(class_1799 arg0)
canUseRangedWeapon(ItemStack arg0)
public TagKey<Item>
getPreferredWeaponType()
method_65345()
getPreferredWeapons()
protected void
readAdditionalSaveData(ValueInput input)
method_5749(class_11368 arg0)
readCustomData(ReadView arg0)
public void
onEquipItem(EquipmentSlot slot, ItemStack oldStack, ItemStack stack)
method_6116(class_1304 arg0, class_1799 arg1, class_1799 arg2)
onEquipStack(EquipmentSlot arg0, ItemStack arg1, ItemStack arg2)
public boolean
isShaking()
method_35191()
isShaking()
public boolean
wantsToPickUp(ServerLevel level, ItemStack itemStack)
method_20820(class_3218 arg0, class_1799 arg1)
canGather(ServerWorld arg0, ItemStack arg1)