类 HostileEntity

    • 构造器详细资料

      • HostileEntity

        protected HostileEntity​(EntityType<? extends HostileEntity> 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
    • 方法详细资料

      • getSoundCategory

        public SoundCategory getSoundCategory()
        覆盖:
        getSoundCategory 在类中 Entity
        Mappings:
        Namespace Name Mixin selector
        official cF Lasl;cF()Laex;
        intermediary method_5634 Lnet/minecraft/class_1297;method_5634()Lnet/minecraft/class_3419;
        named getSoundCategory Lnet/minecraft/entity/Entity;getSoundCategory()Lnet/minecraft/sound/SoundCategory;
      • tickMovement

        public void tickMovement()
        覆盖:
        tickMovement 在类中 MobEntity
        Mappings:
        Namespace Name Mixin selector
        official k Lasy;k()V
        intermediary method_6007 Lnet/minecraft/class_1309;method_6007()V
        named tickMovement Lnet/minecraft/entity/LivingEntity;tickMovement()V
      • updateDespawnCounter

        protected void updateDespawnCounter()
        Mappings:
        Namespace Name Mixin selector
        official fs Lbgz;fs()V
        intermediary method_16827 Lnet/minecraft/class_1588;method_16827()V
        named updateDespawnCounter Lnet/minecraft/entity/mob/HostileEntity;updateDespawnCounter()V
      • isDisallowedInPeaceful

        protected boolean isDisallowedInPeaceful()
        覆盖:
        isDisallowedInPeaceful 在类中 MobEntity
        Mappings:
        Namespace Name Mixin selector
        official P Lasz;P()Z
        intermediary method_23734 Lnet/minecraft/class_1308;method_23734()Z
        named isDisallowedInPeaceful Lnet/minecraft/entity/mob/MobEntity;isDisallowedInPeaceful()Z
      • getSwimSound

        protected SoundEvent getSwimSound()
        覆盖:
        getSwimSound 在类中 Entity
        Mappings:
        Namespace Name Mixin selector
        official ax Lasl;ax()Laev;
        intermediary method_5737 Lnet/minecraft/class_1297;method_5737()Lnet/minecraft/class_3414;
        named getSwimSound Lnet/minecraft/entity/Entity;getSwimSound()Lnet/minecraft/sound/SoundEvent;
      • getSplashSound

        protected SoundEvent getSplashSound()
        覆盖:
        getSplashSound 在类中 Entity
        Mappings:
        Namespace Name Mixin selector
        official ay Lasl;ay()Laev;
        intermediary method_5625 Lnet/minecraft/class_1297;method_5625()Lnet/minecraft/class_3414;
        named getSplashSound Lnet/minecraft/entity/Entity;getSplashSound()Lnet/minecraft/sound/SoundEvent;
      • getHurtSound

        protected SoundEvent getHurtSound​(DamageSource source)
        覆盖:
        getHurtSound 在类中 LivingEntity
        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 在类中 LivingEntity
        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;
      • getFallSound

        protected SoundEvent getFallSound​(int distance)
        覆盖:
        getFallSound 在类中 LivingEntity
        Mappings:
        Namespace Name Mixin selector
        official p Lasy;p(I)Laev;
        intermediary method_6041 Lnet/minecraft/class_1309;method_6041(I)Lnet/minecraft/class_3414;
        named getFallSound Lnet/minecraft/entity/LivingEntity;getFallSound(I)Lnet/minecraft/sound/SoundEvent;
      • getPathfindingFavor

        public float getPathfindingFavor​(BlockPos pos,
                                         WorldView world)
        覆盖:
        getPathfindingFavor 在类中 PathAwareEntity
        Mappings:
        Namespace Name Mixin selector
        official a Latg;a(Lgb;Lbvu;)F
        intermediary method_6144 Lnet/minecraft/class_1314;method_6144(Lnet/minecraft/class_2338;Lnet/minecraft/class_4538;)F
        named getPathfindingFavor Lnet/minecraft/entity/mob/PathAwareEntity;getPathfindingFavor(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/WorldView;)F
      • isSpawnDark

        public static boolean isSpawnDark​(ServerWorldAccess world,
                                          BlockPos pos,
                                          Random random)
        Mappings:
        Namespace Name Mixin selector
        official a Lbgz;a(Lbwf;Lgb;Ljava/util/Random;)Z
        intermediary method_20679 Lnet/minecraft/class_1588;method_20679(Lnet/minecraft/class_5425;Lnet/minecraft/class_2338;Ljava/util/Random;)Z
        named isSpawnDark Lnet/minecraft/entity/mob/HostileEntity;isSpawnDark(Lnet/minecraft/world/ServerWorldAccess;Lnet/minecraft/util/math/BlockPos;Ljava/util/Random;)Z
      • canSpawnInDark

        public static boolean canSpawnInDark​(EntityType<? extends HostileEntity> type,
                                             ServerWorldAccess world,
                                             SpawnReason spawnReason,
                                             BlockPos pos,
                                             Random random)
        Mappings:
        Namespace Name Mixin selector
        official b Lbgz;b(Lasp;Lbwf;Latb;Lgb;Ljava/util/Random;)Z
        intermediary method_20680 Lnet/minecraft/class_1588;method_20680(Lnet/minecraft/class_1299;Lnet/minecraft/class_5425;Lnet/minecraft/class_3730;Lnet/minecraft/class_2338;Ljava/util/Random;)Z
        named canSpawnInDark Lnet/minecraft/entity/mob/HostileEntity;canSpawnInDark(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/ServerWorldAccess;Lnet/minecraft/entity/SpawnReason;Lnet/minecraft/util/math/BlockPos;Ljava/util/Random;)Z
      • canSpawnIgnoreLightLevel

        public static boolean canSpawnIgnoreLightLevel​(EntityType<? extends HostileEntity> type,
                                                       WorldAccess world,
                                                       SpawnReason spawnReason,
                                                       BlockPos pos,
                                                       Random random)
        Mappings:
        Namespace Name Mixin selector
        official c Lbgz;c(Lasp;Lbvs;Latb;Lgb;Ljava/util/Random;)Z
        intermediary method_20681 Lnet/minecraft/class_1588;method_20681(Lnet/minecraft/class_1299;Lnet/minecraft/class_1936;Lnet/minecraft/class_3730;Lnet/minecraft/class_2338;Ljava/util/Random;)Z
        named canSpawnIgnoreLightLevel Lnet/minecraft/entity/mob/HostileEntity;canSpawnIgnoreLightLevel(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/WorldAccess;Lnet/minecraft/entity/SpawnReason;Lnet/minecraft/util/math/BlockPos;Ljava/util/Random;)Z
      • createHostileAttributes

        public static DefaultAttributeContainer.Builder createHostileAttributes()
        Mappings:
        Namespace Name Mixin selector
        official ft Lbgz;ft()Latx$a;
        intermediary method_26918 Lnet/minecraft/class_1588;method_26918()Lnet/minecraft/class_5132$class_5133;
        named createHostileAttributes Lnet/minecraft/entity/mob/HostileEntity;createHostileAttributes()Lnet/minecraft/entity/attribute/DefaultAttributeContainer$Builder;
      • shouldDropLoot

        protected boolean shouldDropLoot()
        覆盖:
        shouldDropLoot 在类中 LivingEntity
        Mappings:
        Namespace Name Mixin selector
        official dw Lasy;dw()Z
        intermediary method_27071 Lnet/minecraft/class_1309;method_27071()Z
        named shouldDropLoot Lnet/minecraft/entity/LivingEntity;shouldDropLoot()Z
      • isAngryAt

        public boolean isAngryAt​(PlayerEntity player)
        Mappings:
        Namespace Name Mixin selector
        official f Lbgz;f(Lbjf;)Z
        intermediary method_7076 Lnet/minecraft/class_1588;method_7076(Lnet/minecraft/class_1657;)Z
        named isAngryAt Lnet/minecraft/entity/mob/HostileEntity;isAngryAt(Lnet/minecraft/entity/player/PlayerEntity;)Z
      • getArrowType

        public ItemStack getArrowType​(ItemStack stack)
        覆盖:
        getArrowType 在类中 LivingEntity
        Mappings:
        Namespace Name Mixin selector
        official f Lasy;f(Lbpr;)Lbpr;
        intermediary method_18808 Lnet/minecraft/class_1309;method_18808(Lnet/minecraft/class_1799;)Lnet/minecraft/class_1799;
        named getArrowType Lnet/minecraft/entity/LivingEntity;getArrowType(Lnet/minecraft/item/ItemStack;)Lnet/minecraft/item/ItemStack;