类 PathAwareEntity

    • 构造器详细资料

      • PathAwareEntity

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

      • getPathfindingFavor

        public float getPathfindingFavor​(BlockPos pos)
        Mappings:
        Namespace Name Mixin selector
        official f Latg;f(Lgb;)F
        intermediary method_6149 Lnet/minecraft/class_1314;method_6149(Lnet/minecraft/class_2338;)F
        named getPathfindingFavor Lnet/minecraft/entity/mob/PathAwareEntity;getPathfindingFavor(Lnet/minecraft/util/math/BlockPos;)F
      • getPathfindingFavor

        public float getPathfindingFavor​(BlockPos pos,
                                         WorldView world)
        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
      • canSpawn

        public boolean canSpawn​(WorldAccess world,
                                SpawnReason spawnReason)
        覆盖:
        canSpawn 在类中 MobEntity
        Mappings:
        Namespace Name Mixin selector
        official a Lasz;a(Lbvs;Latb;)Z
        intermediary method_5979 Lnet/minecraft/class_1308;method_5979(Lnet/minecraft/class_1936;Lnet/minecraft/class_3730;)Z
        named canSpawn Lnet/minecraft/entity/mob/MobEntity;canSpawn(Lnet/minecraft/world/WorldAccess;Lnet/minecraft/entity/SpawnReason;)Z
      • isNavigating

        public boolean isNavigating()
        Mappings:
        Namespace Name Mixin selector
        official fm Latg;fm()Z
        intermediary method_6150 Lnet/minecraft/class_1314;method_6150()Z
        named isNavigating Lnet/minecraft/entity/mob/PathAwareEntity;isNavigating()Z
      • updateLeash

        protected void updateLeash()
        覆盖:
        updateLeash 在类中 MobEntity
        Mappings:
        Namespace Name Mixin selector
        official fe Lasz;fe()V
        intermediary method_5995 Lnet/minecraft/class_1308;method_5995()V
        named updateLeash Lnet/minecraft/entity/mob/MobEntity;updateLeash()V
      • getRunFromLeashSpeed

        protected double getRunFromLeashSpeed()
        Mappings:
        Namespace Name Mixin selector
        official fn Latg;fn()D
        intermediary method_6148 Lnet/minecraft/class_1314;method_6148()D
        named getRunFromLeashSpeed Lnet/minecraft/entity/mob/PathAwareEntity;getRunFromLeashSpeed()D
      • updateForLeashLength

        protected void updateForLeashLength​(float leashLength)
        Mappings:
        Namespace Name Mixin selector
        official w Latg;w(F)V
        intermediary method_6142 Lnet/minecraft/class_1314;method_6142(F)V
        named updateForLeashLength Lnet/minecraft/entity/mob/PathAwareEntity;updateForLeashLength(F)V