Class StrayEntity

All Implemented Interfaces:
RangedAttackMob, Attackable, DataTracked, EquipmentHolder, Leashable, Monster, Targeter, ScoreHolder, CommandOutput, Nameable, EntityLike

public class StrayEntity extends AbstractSkeletonEntity
Mappings:
Namespace Name
named net/minecraft/entity/mob/StrayEntity
intermediary net/minecraft/class_1627
official ckp
  • Constructor Details

    • StrayEntity

      public StrayEntity(EntityType<? extends StrayEntity> type, World world)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/World;)V
      intermediary <init> Lnet/minecraft/class_1297;<init>(Lnet/minecraft/class_1299;Lnet/minecraft/class_1937;)V
      official <init> Lbsr;<init>(Lbsx;Ldcw;)V
  • Method Details

    • canSpawn

      public static boolean canSpawn(EntityType<StrayEntity> type, ServerWorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random)
      Mappings:
      Namespace Name Mixin selector
      named canSpawn Lnet/minecraft/entity/mob/StrayEntity;canSpawn(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/ServerWorldAccess;Lnet/minecraft/entity/SpawnReason;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/random/Random;)Z
      intermediary method_20686 Lnet/minecraft/class_1627;method_20686(Lnet/minecraft/class_1299;Lnet/minecraft/class_5425;Lnet/minecraft/class_3730;Lnet/minecraft/class_2338;Lnet/minecraft/class_5819;)Z
      official a Lckp;a(Lbsx;Lddl;Lbtr;Ljd;Layw;)Z
    • getAmbientSound

      protected SoundEvent getAmbientSound()
      Overrides:
      getAmbientSound in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      named getAmbientSound Lnet/minecraft/entity/mob/MobEntity;getAmbientSound()Lnet/minecraft/sound/SoundEvent;
      intermediary method_5994 Lnet/minecraft/class_1308;method_5994()Lnet/minecraft/class_3414;
      official v Lbtp;v()Lavo;
    • getHurtSound

      protected SoundEvent getHurtSound(DamageSource source)
      Overrides:
      getHurtSound in class HostileEntity
      Mappings:
      Namespace Name Mixin selector
      named getHurtSound Lnet/minecraft/entity/LivingEntity;getHurtSound(Lnet/minecraft/entity/damage/DamageSource;)Lnet/minecraft/sound/SoundEvent;
      intermediary method_6011 Lnet/minecraft/class_1309;method_6011(Lnet/minecraft/class_1282;)Lnet/minecraft/class_3414;
      official d Lbtn;d(Lbrk;)Lavo;
    • getDeathSound

      protected SoundEvent getDeathSound()
      Overrides:
      getDeathSound in class HostileEntity
      Mappings:
      Namespace Name Mixin selector
      named getDeathSound Lnet/minecraft/entity/LivingEntity;getDeathSound()Lnet/minecraft/sound/SoundEvent;
      intermediary method_6002 Lnet/minecraft/class_1309;method_6002()Lnet/minecraft/class_3414;
      official n_ Lbtn;n_()Lavo;
    • getStepSound

      SoundEvent getStepSound()
      Specified by:
      getStepSound in class AbstractSkeletonEntity
      Mappings:
      Namespace Name Mixin selector
      named getStepSound Lnet/minecraft/entity/mob/AbstractSkeletonEntity;getStepSound()Lnet/minecraft/sound/SoundEvent;
      intermediary method_6998 Lnet/minecraft/class_1547;method_6998()Lnet/minecraft/class_3414;
      official t Lcjl;t()Lavo;
    • createArrowProjectile

      protected PersistentProjectileEntity createArrowProjectile(ItemStack arrow, float damageModifier, @Nullable @Nullable ItemStack shotFrom)
      Overrides:
      createArrowProjectile in class AbstractSkeletonEntity
      Mappings:
      Namespace Name Mixin selector
      named createArrowProjectile Lnet/minecraft/entity/mob/AbstractSkeletonEntity;createArrowProjectile(Lnet/minecraft/item/ItemStack;FLnet/minecraft/item/ItemStack;)Lnet/minecraft/entity/projectile/PersistentProjectileEntity;
      intermediary method_6996 Lnet/minecraft/class_1547;method_6996(Lnet/minecraft/class_1799;FLnet/minecraft/class_1799;)Lnet/minecraft/class_1665;
      official a Lcjl;a(Lcuq;FLcuq;)Lcnd;