net.minecraft.entity.mob

public class StrayEntity

extends AbstractSkeletonEntity

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.Stray
net.minecraft.class_1627
net.minecraft.entity.mob.StrayEntity

Constructor summary

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

Method summary

Modifier and TypeMethod
public static boolean
checkStraySpawnRules(EntityType<Stray> type, ServerLevelAccessor level, EntitySpawnReason spawnReason, BlockPos pos, RandomSource random)
method_20686(class_1299<class_1627> arg0, class_5425 arg1, class_3730 arg2, class_2338 arg3, class_5819 arg4)
canSpawn(EntityType<StrayEntity> type, ServerWorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random)
protected SoundEvent
getAmbientSound()
method_5994()
getAmbientSound()
protected SoundEvent
getHurtSound(DamageSource source)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
protected SoundEvent
getDeathSound()
method_6002()
getDeathSound()
protected SoundEvent
getStepSound()
method_6998()
getStepSound()
protected PersistentProjectileEntity
getArrow(ItemStack projectile, float power, ItemStack firingWeapon)
method_6996(class_1799 arg0, float arg1, class_1799 arg2)
createArrowProjectile(ItemStack arg0, float arg1, ItemStack arg2)