类 StrayEntity

    • 构造器详细资料

      • StrayEntity

        public StrayEntity​(EntityType<? extends StrayEntity> type,
                           World world)
        Mappings:
        Namespace Name Mixin selector
        official <init> Lasl;<init>(Lasp;Lbvr;)V
        intermediary <init> Lnet/minecraft/class_1297;<init>(Lnet/minecraft/class_1299;Lnet/minecraft/class_1937;)V
        named <init> Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/World;)V
    • 方法详细资料

      • canSpawn

        public static boolean canSpawn​(EntityType<StrayEntity> type,
                                       ServerWorldAccess world,
                                       SpawnReason spawnReason,
                                       BlockPos pos,
                                       Random random)
        Mappings:
        Namespace Name Mixin selector
        official a Lbhl;a(Lasp;Lbwf;Latb;Lgb;Ljava/util/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;Ljava/util/Random;)Z
        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;Ljava/util/Random;)Z
      • getAmbientSound

        protected SoundEvent getAmbientSound()
        覆盖:
        getAmbientSound 在类中 MobEntity
        Mappings:
        Namespace Name Mixin selector
        official p Lasz;p()Laev;
        intermediary method_5994 Lnet/minecraft/class_1308;method_5994()Lnet/minecraft/class_3414;
        named getAmbientSound Lnet/minecraft/entity/mob/MobEntity;getAmbientSound()Lnet/minecraft/sound/SoundEvent;
      • getHurtSound

        protected SoundEvent getHurtSound​(DamageSource source)
        覆盖:
        getHurtSound 在类中 HostileEntity
        Mappings:
        Namespace Name Mixin selector
        official c Lasy;c(Larv;)Laev;
        intermediary method_6011 Lnet/minecraft/class_1309;method_6011(Lnet/minecraft/class_1282;)Lnet/minecraft/class_3414;
        named getHurtSound Lnet/minecraft/entity/LivingEntity;getHurtSound(Lnet/minecraft/entity/damage/DamageSource;)Lnet/minecraft/sound/SoundEvent;
      • getDeathSound

        protected SoundEvent getDeathSound()
        覆盖:
        getDeathSound 在类中 HostileEntity
        Mappings:
        Namespace Name Mixin selector
        official q Lasy;q()Laev;
        intermediary method_6002 Lnet/minecraft/class_1309;method_6002()Lnet/minecraft/class_3414;
        named getDeathSound Lnet/minecraft/entity/LivingEntity;getDeathSound()Lnet/minecraft/sound/SoundEvent;
      • getStepSound

        SoundEvent getStepSound()
        指定者:
        getStepSound 在类中 AbstractSkeletonEntity
        Mappings:
        Namespace Name Mixin selector
        official o Lbgi;o()Laev;
        intermediary method_6998 Lnet/minecraft/class_1547;method_6998()Lnet/minecraft/class_3414;
        named getStepSound Lnet/minecraft/entity/mob/AbstractSkeletonEntity;getStepSound()Lnet/minecraft/sound/SoundEvent;
      • createArrowProjectile

        protected PersistentProjectileEntity createArrowProjectile​(ItemStack arrow,
                                                                   float damageModifier)
        覆盖:
        createArrowProjectile 在类中 AbstractSkeletonEntity
        Mappings:
        Namespace Name Mixin selector
        official b Lbgi;b(Lbpr;F)Lbjj;
        intermediary method_6996 Lnet/minecraft/class_1547;method_6996(Lnet/minecraft/class_1799;F)Lnet/minecraft/class_1665;
        named createArrowProjectile Lnet/minecraft/entity/mob/AbstractSkeletonEntity;createArrowProjectile(Lnet/minecraft/item/ItemStack;F)Lnet/minecraft/entity/projectile/PersistentProjectileEntity;