类 DrownedEntity

    • 字段详细资料

      • field_30460

        public static final float field_30460
        另请参阅:
        常量字段值
        Mappings:
        Namespace Name Mixin selector
        official b Lbgn;b:F
        intermediary field_30460 Lnet/minecraft/class_1551;field_30460:F
        named field_30460 Lnet/minecraft/entity/mob/DrownedEntity;field_30460:F
      • targetingUnderwater

        private boolean targetingUnderwater
        Mappings:
        Namespace Name Mixin selector
        official bY Lbgn;bY:Z
        intermediary field_7233 Lnet/minecraft/class_1551;field_7233:Z
        named targetingUnderwater Lnet/minecraft/entity/mob/DrownedEntity;targetingUnderwater:Z
      • waterNavigation

        protected final SwimNavigation waterNavigation
        Mappings:
        Namespace Name Mixin selector
        official c Lbgn;c:Lbbd;
        intermediary field_7234 Lnet/minecraft/class_1551;field_7234:Lnet/minecraft/class_1412;
        named waterNavigation Lnet/minecraft/entity/mob/DrownedEntity;waterNavigation:Lnet/minecraft/entity/ai/pathing/SwimNavigation;
      • landNavigation

        protected final MobNavigation landNavigation
        Mappings:
        Namespace Name Mixin selector
        official d Lbgn;d:Lbba;
        intermediary field_7232 Lnet/minecraft/class_1551;field_7232:Lnet/minecraft/class_1409;
        named landNavigation Lnet/minecraft/entity/mob/DrownedEntity;landNavigation:Lnet/minecraft/entity/ai/pathing/MobNavigation;
    • 构造器详细资料

      • DrownedEntity

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

      • initCustomGoals

        protected void initCustomGoals()
        覆盖:
        initCustomGoals 在类中 ZombieEntity
        Mappings:
        Namespace Name Mixin selector
        official m Lbhs;m()V
        intermediary method_7208 Lnet/minecraft/class_1642;method_7208()V
        named initCustomGoals Lnet/minecraft/entity/mob/ZombieEntity;initCustomGoals()V
      • initialize

        public EntityData initialize​(ServerWorldAccess world,
                                     LocalDifficulty difficulty,
                                     SpawnReason spawnReason,
                                     @Nullable
                                     @Nullable EntityData entityData,
                                     @Nullable
                                     @Nullable CompoundTag entityNbt)
        覆盖:
        initialize 在类中 ZombieEntity
        Mappings:
        Namespace Name Mixin selector
        official a Lasz;a(Lbwf;Lare;Latb;Latp;Lmv;)Latp;
        intermediary method_5943 Lnet/minecraft/class_1308;method_5943(Lnet/minecraft/class_5425;Lnet/minecraft/class_1266;Lnet/minecraft/class_3730;Lnet/minecraft/class_1315;Lnet/minecraft/class_2487;)Lnet/minecraft/class_1315;
        named initialize Lnet/minecraft/entity/mob/MobEntity;initialize(Lnet/minecraft/world/ServerWorldAccess;Lnet/minecraft/world/LocalDifficulty;Lnet/minecraft/entity/SpawnReason;Lnet/minecraft/entity/EntityData;Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/entity/EntityData;
      • canSpawn

        public static boolean canSpawn​(EntityType<DrownedEntity> type,
                                       ServerWorldAccess world,
                                       SpawnReason spawnReason,
                                       BlockPos pos,
                                       Random random)
        Mappings:
        Namespace Name Mixin selector
        official a Lbgn;a(Lasp;Lbwf;Latb;Lgb;Ljava/util/Random;)Z
        intermediary method_20673 Lnet/minecraft/class_1551;method_20673(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/DrownedEntity;canSpawn(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/ServerWorldAccess;Lnet/minecraft/entity/SpawnReason;Lnet/minecraft/util/math/BlockPos;Ljava/util/Random;)Z
      • isValidSpawnDepth

        private static boolean isValidSpawnDepth​(WorldAccess world,
                                                 BlockPos pos)
        Mappings:
        Namespace Name Mixin selector
        official a Lbgn;a(Lbvs;Lgb;)Z
        intermediary method_20672 Lnet/minecraft/class_1551;method_20672(Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;)Z
        named isValidSpawnDepth Lnet/minecraft/entity/mob/DrownedEntity;isValidSpawnDepth(Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;)Z
      • shouldBreakDoors

        protected boolean shouldBreakDoors()
        覆盖:
        shouldBreakDoors 在类中 ZombieEntity
        Mappings:
        Namespace Name Mixin selector
        official o Lbhs;o()Z
        intermediary method_7212 Lnet/minecraft/class_1642;method_7212()Z
        named shouldBreakDoors Lnet/minecraft/entity/mob/ZombieEntity;shouldBreakDoors()Z
      • getAmbientSound

        protected SoundEvent getAmbientSound()
        覆盖:
        getAmbientSound 在类中 ZombieEntity
        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 在类中 ZombieEntity
        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 在类中 ZombieEntity
        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

        protected SoundEvent getStepSound()
        覆盖:
        getStepSound 在类中 ZombieEntity
        Mappings:
        Namespace Name Mixin selector
        official s Lbhs;s()Laev;
        intermediary method_7207 Lnet/minecraft/class_1642;method_7207()Lnet/minecraft/class_3414;
        named getStepSound Lnet/minecraft/entity/mob/ZombieEntity;getStepSound()Lnet/minecraft/sound/SoundEvent;
      • getSwimSound

        protected SoundEvent getSwimSound()
        覆盖:
        getSwimSound 在类中 HostileEntity
        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;
      • getSkull

        protected ItemStack getSkull()
        Returns the item stack this entity will drop when killed by a charged creeper.
        覆盖:
        getSkull 在类中 ZombieEntity
        Mappings:
        Namespace Name Mixin selector
        official fo Lbhs;fo()Lbpr;
        intermediary method_7215 Lnet/minecraft/class_1642;method_7215()Lnet/minecraft/class_1799;
        named getSkull Lnet/minecraft/entity/mob/ZombieEntity;getSkull()Lnet/minecraft/item/ItemStack;
      • initEquipment

        protected void initEquipment​(LocalDifficulty difficulty)
        覆盖:
        initEquipment 在类中 ZombieEntity
        Mappings:
        Namespace Name Mixin selector
        official a Lasz;a(Lare;)V
        intermediary method_5964 Lnet/minecraft/class_1308;method_5964(Lnet/minecraft/class_1266;)V
        named initEquipment Lnet/minecraft/entity/mob/MobEntity;initEquipment(Lnet/minecraft/world/LocalDifficulty;)V
      • prefersNewEquipment

        protected boolean prefersNewEquipment​(ItemStack newStack,
                                              ItemStack oldStack)
        覆盖:
        prefersNewEquipment 在类中 MobEntity
        Mappings:
        Namespace Name Mixin selector
        official a Lasz;a(Lbpr;Lbpr;)Z
        intermediary method_5955 Lnet/minecraft/class_1308;method_5955(Lnet/minecraft/class_1799;Lnet/minecraft/class_1799;)Z
        named prefersNewEquipment Lnet/minecraft/entity/mob/MobEntity;prefersNewEquipment(Lnet/minecraft/item/ItemStack;Lnet/minecraft/item/ItemStack;)Z
      • canConvertInWater

        protected boolean canConvertInWater()
        覆盖:
        canConvertInWater 在类中 ZombieEntity
        Mappings:
        Namespace Name Mixin selector
        official fp Lbhs;fp()Z
        intermediary method_7209 Lnet/minecraft/class_1642;method_7209()Z
        named canConvertInWater Lnet/minecraft/entity/mob/ZombieEntity;canConvertInWater()Z
      • canSpawn

        public boolean canSpawn​(WorldView world)
        覆盖:
        canSpawn 在类中 MobEntity
        Mappings:
        Namespace Name Mixin selector
        official a Lasz;a(Lbvu;)Z
        intermediary method_5957 Lnet/minecraft/class_1308;method_5957(Lnet/minecraft/class_4538;)Z
        named canSpawn Lnet/minecraft/entity/mob/MobEntity;canSpawn(Lnet/minecraft/world/WorldView;)Z
      • canDrownedAttackTarget

        public boolean canDrownedAttackTarget​(@Nullable
                                              @Nullable LivingEntity target)
        Mappings:
        Namespace Name Mixin selector
        official j Lbgn;j(Lasy;)Z
        intermediary method_7012 Lnet/minecraft/class_1551;method_7012(Lnet/minecraft/class_1309;)Z
        named canDrownedAttackTarget Lnet/minecraft/entity/mob/DrownedEntity;canDrownedAttackTarget(Lnet/minecraft/entity/LivingEntity;)Z
      • isPushedByFluids

        public boolean isPushedByFluids()
        覆盖:
        isPushedByFluids 在类中 Entity
        Mappings:
        Namespace Name Mixin selector
        official cg Lasl;cg()Z
        intermediary method_5675 Lnet/minecraft/class_1297;method_5675()Z
        named isPushedByFluids Lnet/minecraft/entity/Entity;isPushedByFluids()Z
      • isTargetingUnderwater

        private boolean isTargetingUnderwater()
        Mappings:
        Namespace Name Mixin selector
        official fy Lbgn;fy()Z
        intermediary method_7018 Lnet/minecraft/class_1551;method_7018()Z
        named isTargetingUnderwater Lnet/minecraft/entity/mob/DrownedEntity;isTargetingUnderwater()Z
      • travel

        public void travel​(Vec3d movementInput)
        覆盖:
        travel 在类中 LivingEntity
        Mappings:
        Namespace Name Mixin selector
        official h Lasy;h(Ldma;)V
        intermediary method_6091 Lnet/minecraft/class_1309;method_6091(Lnet/minecraft/class_243;)V
        named travel Lnet/minecraft/entity/LivingEntity;travel(Lnet/minecraft/util/math/Vec3d;)V
      • updateSwimming

        public void updateSwimming()
        覆盖:
        updateSwimming 在类中 Entity
        Mappings:
        Namespace Name Mixin selector
        official aN Lasl;aN()V
        intermediary method_5790 Lnet/minecraft/class_1297;method_5790()V
        named updateSwimming Lnet/minecraft/entity/Entity;updateSwimming()V
      • hasFinishedCurrentPath

        protected boolean hasFinishedCurrentPath()
        Mappings:
        Namespace Name Mixin selector
        official fq Lbgn;fq()Z
        intermediary method_7016 Lnet/minecraft/class_1551;method_7016()Z
        named hasFinishedCurrentPath Lnet/minecraft/entity/mob/DrownedEntity;hasFinishedCurrentPath()Z
      • attack

        public void attack​(LivingEntity target,
                           float pullProgress)
        指定者:
        attack 在接口中 RangedAttackMob
        Mappings:
        Namespace Name Mixin selector
        official a Lbhd;a(Lasy;F)V
        intermediary method_7105 Lnet/minecraft/class_1603;method_7105(Lnet/minecraft/class_1309;F)V
        named attack Lnet/minecraft/entity/ai/RangedAttackMob;attack(Lnet/minecraft/entity/LivingEntity;F)V
      • setTargetingUnderwater

        public void setTargetingUnderwater​(boolean targetingUnderwater)
        Mappings:
        Namespace Name Mixin selector
        official v Lbgn;v(Z)V
        intermediary method_7013 Lnet/minecraft/class_1551;method_7013(Z)V
        named setTargetingUnderwater Lnet/minecraft/entity/mob/DrownedEntity;setTargetingUnderwater(Z)V