Class PathAwareEntity

All Implemented Interfaces:
Attackable, Targeter, CommandOutput, Nameable, EntityLike
Direct Known Subclasses:
AllayEntity, GolemEntity, HostileEntity, PassiveEntity, WaterCreatureEntity

public abstract class PathAwareEntity extends MobEntity
Mappings:
Namespace Name
official bgc
intermediary net/minecraft/class_1314
named net/minecraft/entity/mob/PathAwareEntity
  • Field Details

    • DEFAULT_PATHFINDING_FAVOR

      protected static final float DEFAULT_PATHFINDING_FAVOR
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official bQ Lbgc;bQ:F
      intermediary field_35670 Lnet/minecraft/class_1314;field_35670:F
      named DEFAULT_PATHFINDING_FAVOR Lnet/minecraft/entity/mob/PathAwareEntity;DEFAULT_PATHFINDING_FAVOR:F
  • Constructor Details

    • PathAwareEntity

      protected PathAwareEntity(EntityType<? extends PathAwareEntity> type, World world)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbfd;<init>(Lbfh;Lcmf;)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
  • Method Details

    • getPathfindingFavor

      public float getPathfindingFavor(BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official g Lbgc;g(Lgu;)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 Lbgc;a(Lgu;Lcmi;)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)
      Overrides:
      canSpawn in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lbfv;a(Lcmg;Lbfx;)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 fS Lbgc;fS()Z
      intermediary method_6150 Lnet/minecraft/class_1314;method_6150()Z
      named isNavigating Lnet/minecraft/entity/mob/PathAwareEntity;isNavigating()Z
    • updateLeash

      protected void updateLeash()
      Overrides:
      updateLeash in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official fK Lbfv;fK()V
      intermediary method_5995 Lnet/minecraft/class_1308;method_5995()V
      named updateLeash Lnet/minecraft/entity/mob/MobEntity;updateLeash()V
    • shouldFollowLeash

      protected boolean shouldFollowLeash()
      Mappings:
      Namespace Name Mixin selector
      official fT Lbgc;fT()Z
      intermediary method_43689 Lnet/minecraft/class_1314;method_43689()Z
      named shouldFollowLeash Lnet/minecraft/entity/mob/PathAwareEntity;shouldFollowLeash()Z
    • getFollowLeashSpeed

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

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