Class AllayEntity

All Implemented Interfaces:
InventoryOwner, CommandOutput, Nameable, EntityLike, VibrationListener.Callback

public class AllayEntity extends PathAwareEntity implements InventoryOwner, VibrationListener.Callback
Mappings:
Namespace Name
official bnl
intermediary net/minecraft/class_7298
named net/minecraft/entity/passive/AllayEntity
  • Field Details

    • field_39045

      private static final org.slf4j.Logger field_39045
      Mappings:
      Namespace Name Mixin selector
      official e Lbnl;e:Lorg/slf4j/Logger;
      intermediary field_39045 Lnet/minecraft/class_7298;field_39045:Lorg/slf4j/Logger;
      named field_39045 Lnet/minecraft/entity/passive/AllayEntity;field_39045:Lorg/slf4j/Logger;
    • field_38405

      private static final int field_38405
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official bX Lbnl;bX:I
      intermediary field_38405 Lnet/minecraft/class_7298;field_38405:I
      named field_38405 Lnet/minecraft/entity/passive/AllayEntity;field_38405:I
    • ITEM_PICKUP_RANGE_EXPANDER

      private static final Vec3i ITEM_PICKUP_RANGE_EXPANDER
      Mappings:
      Namespace Name Mixin selector
      official bY Lbnl;bY:Lhs;
      intermediary field_38399 Lnet/minecraft/class_7298;field_38399:Lnet/minecraft/class_2382;
      named ITEM_PICKUP_RANGE_EXPANDER Lnet/minecraft/entity/passive/AllayEntity;ITEM_PICKUP_RANGE_EXPANDER:Lnet/minecraft/util/math/Vec3i;
    • field_38934

      private static final int field_38934
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official bZ Lbnl;bZ:I
      intermediary field_38934 Lnet/minecraft/class_7298;field_38934:I
      named field_38934 Lnet/minecraft/entity/passive/AllayEntity;field_38934:I
    • field_39451

      private static final float field_39451
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official ca Lbnl;ca:F
      intermediary field_39451 Lnet/minecraft/class_7298;field_39451:F
      named field_39451 Lnet/minecraft/entity/passive/AllayEntity;field_39451:F
    • SENSORS

      protected static final ImmutableList<SensorType<? extends Sensor<? super AllayEntity>>> SENSORS
      Mappings:
      Namespace Name Mixin selector
      official b Lbnl;b:Lcom/google/common/collect/ImmutableList;
      intermediary field_38398 Lnet/minecraft/class_7298;field_38398:Lcom/google/common/collect/ImmutableList;
      named SENSORS Lnet/minecraft/entity/passive/AllayEntity;SENSORS:Lcom/google/common/collect/ImmutableList;
    • MEMORY_MODULES

      protected static final ImmutableList<MemoryModuleType<?>> MEMORY_MODULES
      Mappings:
      Namespace Name Mixin selector
      official c Lbnl;c:Lcom/google/common/collect/ImmutableList;
      intermediary field_38403 Lnet/minecraft/class_7298;field_38403:Lcom/google/common/collect/ImmutableList;
      named MEMORY_MODULES Lnet/minecraft/entity/passive/AllayEntity;MEMORY_MODULES:Lcom/google/common/collect/ImmutableList;
    • THROW_SOUND_PITCHES

      public static final ImmutableList<Float> THROW_SOUND_PITCHES
      Mappings:
      Namespace Name Mixin selector
      official d Lbnl;d:Lcom/google/common/collect/ImmutableList;
      intermediary field_38937 Lnet/minecraft/class_7298;field_38937:Lcom/google/common/collect/ImmutableList;
      named THROW_SOUND_PITCHES Lnet/minecraft/entity/passive/AllayEntity;THROW_SOUND_PITCHES:Lcom/google/common/collect/ImmutableList;
    • gameEventHandler

      private final EntityGameEventHandler<VibrationListener> gameEventHandler
      Mappings:
      Namespace Name Mixin selector
      official cb Lbnl;cb:Lcyv;
      intermediary field_38401 Lnet/minecraft/class_7298;field_38401:Lnet/minecraft/class_5715;
      named gameEventHandler Lnet/minecraft/entity/passive/AllayEntity;gameEventHandler:Lnet/minecraft/world/event/listener/EntityGameEventHandler;
    • inventory

      private final SimpleInventory inventory
      Mappings:
      Namespace Name Mixin selector
      official cc Lbnl;cc:Lazr;
      intermediary field_38402 Lnet/minecraft/class_7298;field_38402:Lnet/minecraft/class_1277;
      named inventory Lnet/minecraft/entity/passive/AllayEntity;inventory:Lnet/minecraft/inventory/SimpleInventory;
    • field_38935

      private float field_38935
      Mappings:
      Namespace Name Mixin selector
      official cd Lbnl;cd:F
      intermediary field_38935 Lnet/minecraft/class_7298;field_38935:F
      named field_38935 Lnet/minecraft/entity/passive/AllayEntity;field_38935:F
    • field_38936

      private float field_38936
      Mappings:
      Namespace Name Mixin selector
      official ce Lbnl;ce:F
      intermediary field_38936 Lnet/minecraft/class_7298;field_38936:F
      named field_38936 Lnet/minecraft/entity/passive/AllayEntity;field_38936:F
  • Constructor Details

    • AllayEntity

      public AllayEntity(EntityType<? extends AllayEntity> type, World world)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbaq;<init>(Lbau;Lcga;)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

    • createBrainProfile

      protected Brain.Profile<AllayEntity> createBrainProfile()
      Overrides:
      createBrainProfile in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official dA Lbbf;dA()Lbca$b;
      intermediary method_28306 Lnet/minecraft/class_1309;method_28306()Lnet/minecraft/class_4095$class_5303;
      named createBrainProfile Lnet/minecraft/entity/LivingEntity;createBrainProfile()Lnet/minecraft/entity/ai/brain/Brain$Profile;
    • deserializeBrain

      protected Brain<?> deserializeBrain(com.mojang.serialization.Dynamic<?> dynamic)
      Overrides:
      deserializeBrain in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lbbf;a(Lcom/mojang/serialization/Dynamic;)Lbca;
      intermediary method_18867 Lnet/minecraft/class_1309;method_18867(Lcom/mojang/serialization/Dynamic;)Lnet/minecraft/class_4095;
      named deserializeBrain Lnet/minecraft/entity/LivingEntity;deserializeBrain(Lcom/mojang/serialization/Dynamic;)Lnet/minecraft/entity/ai/brain/Brain;
    • getBrain

      public Brain<AllayEntity> getBrain()
      Overrides:
      getBrain in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official dz Lbbf;dz()Lbca;
      intermediary method_18868 Lnet/minecraft/class_1309;method_18868()Lnet/minecraft/class_4095;
      named getBrain Lnet/minecraft/entity/LivingEntity;getBrain()Lnet/minecraft/entity/ai/brain/Brain;
    • createAllayAttributes

      public static DefaultAttributeContainer.Builder createAllayAttributes()
      Mappings:
      Namespace Name Mixin selector
      official n Lbnl;n()Lbcf$a;
      intermediary method_42655 Lnet/minecraft/class_7298;method_42655()Lnet/minecraft/class_5132$class_5133;
      named createAllayAttributes Lnet/minecraft/entity/passive/AllayEntity;createAllayAttributes()Lnet/minecraft/entity/attribute/DefaultAttributeContainer$Builder;
    • createNavigation

      protected EntityNavigation createNavigation(World world)
      Overrides:
      createNavigation in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lbbh;a(Lcga;)Lbkf;
      intermediary method_5965 Lnet/minecraft/class_1308;method_5965(Lnet/minecraft/class_1937;)Lnet/minecraft/class_1408;
      named createNavigation Lnet/minecraft/entity/mob/MobEntity;createNavigation(Lnet/minecraft/world/World;)Lnet/minecraft/entity/ai/pathing/EntityNavigation;
    • travel

      public void travel(Vec3d movementInput)
      Allows you to do certain speed and velocity calculations. This is useful for custom vehicle behavior, or custom entity movement. This is not to be confused with AI.

      See vanilla examples of custom horse vehicle and flying entities.

      Overrides:
      travel in class LivingEntity
      Parameters:
      movementInput - represents the sidewaysSpeed, upwardSpeed, and forwardSpeed of the entity in that order
      Mappings:
      Namespace Name Mixin selector
      official g Lbbf;g(Ldvt;)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
    • getActiveEyeHeight

      protected float getActiveEyeHeight(EntityPose pose, EntityDimensions dimensions)
      Overrides:
      getActiveEyeHeight in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official b Lbbf;b(Lbbr;Lbar;)F
      intermediary method_18394 Lnet/minecraft/class_1309;method_18394(Lnet/minecraft/class_4050;Lnet/minecraft/class_4048;)F
      named getActiveEyeHeight Lnet/minecraft/entity/LivingEntity;getActiveEyeHeight(Lnet/minecraft/entity/EntityPose;Lnet/minecraft/entity/EntityDimensions;)F
    • handleFallDamage

      public boolean handleFallDamage(float fallDistance, float damageMultiplier, DamageSource damageSource)
      Overrides:
      handleFallDamage in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lbaq;a(FFLazz;)Z
      intermediary method_5747 Lnet/minecraft/class_1297;method_5747(FFLnet/minecraft/class_1282;)Z
      named handleFallDamage Lnet/minecraft/entity/Entity;handleFallDamage(FFLnet/minecraft/entity/damage/DamageSource;)Z
    • damage

      public boolean damage(DamageSource source, float amount)
      Overrides:
      damage in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lbaq;a(Lazz;F)Z
      intermediary method_5643 Lnet/minecraft/class_1297;method_5643(Lnet/minecraft/class_1282;F)Z
      named damage Lnet/minecraft/entity/Entity;damage(Lnet/minecraft/entity/damage/DamageSource;F)Z
    • playStepSound

      protected void playStepSound(BlockPos pos, BlockState state)
      Overrides:
      playStepSound in class Entity
      Mappings:
      Namespace Name Mixin selector
      official b Lbaq;b(Lgt;Lcur;)V
      intermediary method_5712 Lnet/minecraft/class_1297;method_5712(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)V
      named playStepSound Lnet/minecraft/entity/Entity;playStepSound(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
    • fall

      protected void fall(double heightDifference, boolean onGround, BlockState state, BlockPos landedPosition)
      Overrides:
      fall in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lbaq;a(DZLcur;Lgt;)V
      intermediary method_5623 Lnet/minecraft/class_1297;method_5623(DZLnet/minecraft/class_2680;Lnet/minecraft/class_2338;)V
      named fall Lnet/minecraft/entity/Entity;fall(DZLnet/minecraft/block/BlockState;Lnet/minecraft/util/math/BlockPos;)V
    • getAmbientSound

      protected SoundEvent getAmbientSound()
      Overrides:
      getAmbientSound in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official r Lbbh;r()Lajd;
      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)
      Overrides:
      getHurtSound in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official c Lbbf;c(Lazz;)Lajd;
      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()
      Overrides:
      getDeathSound in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official x_ Lbbf;x_()Lajd;
      intermediary method_6002 Lnet/minecraft/class_1309;method_6002()Lnet/minecraft/class_3414;
      named getDeathSound Lnet/minecraft/entity/LivingEntity;getDeathSound()Lnet/minecraft/sound/SoundEvent;
    • getSoundVolume

      protected float getSoundVolume()
      Overrides:
      getSoundVolume in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official eD Lbbf;eD()F
      intermediary method_6107 Lnet/minecraft/class_1309;method_6107()F
      named getSoundVolume Lnet/minecraft/entity/LivingEntity;getSoundVolume()F
    • mobTick

      protected void mobTick()
      Overrides:
      mobTick in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official T Lbbh;T()V
      intermediary method_5958 Lnet/minecraft/class_1308;method_5958()V
      named mobTick Lnet/minecraft/entity/mob/MobEntity;mobTick()V
    • tickMovement

      public void tickMovement()
      Overrides:
      tickMovement in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official w_ Lbbf;w_()V
      intermediary method_6007 Lnet/minecraft/class_1309;method_6007()V
      named tickMovement Lnet/minecraft/entity/LivingEntity;tickMovement()V
    • tick

      public void tick()
      Overrides:
      tick in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official k Lbaq;k()V
      intermediary method_5773 Lnet/minecraft/class_1297;method_5773()V
      named tick Lnet/minecraft/entity/Entity;tick()V
    • canPickUpLoot

      public boolean canPickUpLoot()
      Overrides:
      canPickUpLoot in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official fr Lbbh;fr()Z
      intermediary method_5936 Lnet/minecraft/class_1308;method_5936()Z
      named canPickUpLoot Lnet/minecraft/entity/mob/MobEntity;canPickUpLoot()Z
    • isHoldingItem

      public boolean isHoldingItem()
      Mappings:
      Namespace Name Mixin selector
      official q Lbnl;q()Z
      intermediary method_43396 Lnet/minecraft/class_7298;method_43396()Z
      named isHoldingItem Lnet/minecraft/entity/passive/AllayEntity;isHoldingItem()Z
    • canEquip

      public boolean canEquip(ItemStack stack)
      Overrides:
      canEquip in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official g Lbbf;g(Lcaa;)Z
      intermediary method_18397 Lnet/minecraft/class_1309;method_18397(Lnet/minecraft/class_1799;)Z
      named canEquip Lnet/minecraft/entity/LivingEntity;canEquip(Lnet/minecraft/item/ItemStack;)Z
    • isItemPickupCoolingDown

      private boolean isItemPickupCoolingDown()
      Mappings:
      Namespace Name Mixin selector
      official fM Lbnl;fM()Z
      intermediary method_42654 Lnet/minecraft/class_7298;method_42654()Z
      named isItemPickupCoolingDown Lnet/minecraft/entity/passive/AllayEntity;isItemPickupCoolingDown()Z
    • interactMob

      protected ActionResult interactMob(PlayerEntity player, Hand hand)
      Overrides:
      interactMob in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official b Lbbh;b(Lbtf;Lazl;)Lazm;
      intermediary method_5992 Lnet/minecraft/class_1308;method_5992(Lnet/minecraft/class_1657;Lnet/minecraft/class_1268;)Lnet/minecraft/class_1269;
      named interactMob Lnet/minecraft/entity/mob/MobEntity;interactMob(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/Hand;)Lnet/minecraft/util/ActionResult;
    • getInventory

      public SimpleInventory getInventory()
      Specified by:
      getInventory in interface InventoryOwner
      Mappings:
      Namespace Name Mixin selector
      official t Lbsq;t()Lazr;
      intermediary method_35199 Lnet/minecraft/class_6067;method_35199()Lnet/minecraft/class_1277;
      named getInventory Lnet/minecraft/entity/InventoryOwner;getInventory()Lnet/minecraft/inventory/SimpleInventory;
    • getItemPickUpRangeExpander

      protected Vec3i getItemPickUpRangeExpander()
      Overrides:
      getItemPickUpRangeExpander in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official O Lbbh;O()Lhs;
      intermediary method_42646 Lnet/minecraft/class_1308;method_42646()Lnet/minecraft/class_2382;
      named getItemPickUpRangeExpander Lnet/minecraft/entity/mob/MobEntity;getItemPickUpRangeExpander()Lnet/minecraft/util/math/Vec3i;
    • canGather

      public boolean canGather(ItemStack stack)
      Overrides:
      canGather in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official l Lbbh;l(Lcaa;)Z
      intermediary method_20820 Lnet/minecraft/class_1308;method_20820(Lnet/minecraft/class_1799;)Z
      named canGather Lnet/minecraft/entity/mob/MobEntity;canGather(Lnet/minecraft/item/ItemStack;)Z
    • loot

      protected void loot(ItemEntity item)
      Overrides:
      loot in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official b Lbbh;b(Lbpy;)V
      intermediary method_5949 Lnet/minecraft/class_1308;method_5949(Lnet/minecraft/class_1542;)V
      named loot Lnet/minecraft/entity/mob/MobEntity;loot(Lnet/minecraft/entity/ItemEntity;)V
    • sendAiDebugData

      protected void sendAiDebugData()
      Overrides:
      sendAiDebugData in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official R Lbbh;R()V
      intermediary method_18409 Lnet/minecraft/class_1308;method_18409()V
      named sendAiDebugData Lnet/minecraft/entity/mob/MobEntity;sendAiDebugData()V
    • hasWings

      public boolean hasWings()
      Overrides:
      hasWings in class Entity
      Mappings:
      Namespace Name Mixin selector
      official aL Lbaq;aL()Z
      intermediary method_5776 Lnet/minecraft/class_1297;method_5776()Z
      named hasWings Lnet/minecraft/entity/Entity;hasWings()Z
    • updateEventHandler

      public void updateEventHandler(BiConsumer<EntityGameEventHandler<?>,ServerWorld> callback)
      Overrides:
      updateEventHandler in class Entity
      Mappings:
      Namespace Name Mixin selector
      official a Lbaq;a(Ljava/util/function/BiConsumer;)V
      intermediary method_42147 Lnet/minecraft/class_1297;method_42147(Ljava/util/function/BiConsumer;)V
      named updateEventHandler Lnet/minecraft/entity/Entity;updateEventHandler(Ljava/util/function/BiConsumer;)V
    • method_43395

      public boolean method_43395()
      Mappings:
      Namespace Name Mixin selector
      official fK Lbnl;fK()Z
      intermediary method_43395 Lnet/minecraft/class_7298;method_43395()Z
      named method_43395 Lnet/minecraft/entity/passive/AllayEntity;method_43395()Z
    • method_43397

      public float method_43397(float float2)
      Mappings:
      Namespace Name Mixin selector
      official y Lbnl;y(F)F
      intermediary method_43397 Lnet/minecraft/class_7298;method_43397(F)F
      named method_43397 Lnet/minecraft/entity/passive/AllayEntity;method_43397(F)F
    • dropInventory

      protected void dropInventory()
      Overrides:
      dropInventory in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official ej Lbbf;ej()V
      intermediary method_16078 Lnet/minecraft/class_1309;method_16078()V
      named dropInventory Lnet/minecraft/entity/LivingEntity;dropInventory()V
    • canImmediatelyDespawn

      public boolean canImmediatelyDespawn(double distanceSquared)
      Overrides:
      canImmediatelyDespawn in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official h Lbbh;h(D)Z
      intermediary method_5974 Lnet/minecraft/class_1308;method_5974(D)Z
      named canImmediatelyDespawn Lnet/minecraft/entity/mob/MobEntity;canImmediatelyDespawn(D)Z
    • accepts

      public boolean accepts(ServerWorld world, GameEventListener listener, BlockPos pos, GameEvent event, GameEvent.Emitter emitter)
      Returns whether the callback wants to accept this event.
      Specified by:
      accepts in interface VibrationListener.Callback
      Mappings:
      Namespace Name Mixin selector
      official a Lcze$b;a(Lafo;Lcza;Lgt;Lcyy;Lcyy$a;)Z
      intermediary method_32970 Lnet/minecraft/class_5718$class_5719;method_32970(Lnet/minecraft/class_3218;Lnet/minecraft/class_5714;Lnet/minecraft/class_2338;Lnet/minecraft/class_5712;Lnet/minecraft/class_5712$class_7397;)Z
      named accepts Lnet/minecraft/world/event/listener/VibrationListener$Callback;accepts(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/world/event/listener/GameEventListener;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/event/GameEvent;Lnet/minecraft/world/event/GameEvent$Emitter;)Z
    • accept

      public void accept(ServerWorld world, GameEventListener listener, BlockPos pos, GameEvent event, Entity entity, Entity sourceEntity, float distance)
      Accepts a game event after delay.
      Specified by:
      accept in interface VibrationListener.Callback
      Mappings:
      Namespace Name Mixin selector
      official a Lcze$b;a(Lafo;Lcza;Lgt;Lcyy;Lbaq;Lbaq;F)V
      intermediary method_32969 Lnet/minecraft/class_5718$class_5719;method_32969(Lnet/minecraft/class_3218;Lnet/minecraft/class_5714;Lnet/minecraft/class_2338;Lnet/minecraft/class_5712;Lnet/minecraft/class_1297;Lnet/minecraft/class_1297;F)V
      named accept Lnet/minecraft/world/event/listener/VibrationListener$Callback;accept(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/world/event/listener/GameEventListener;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/event/GameEvent;Lnet/minecraft/entity/Entity;Lnet/minecraft/entity/Entity;F)V
    • getTag

      public TagKey<GameEvent> getTag()
      Specified by:
      getTag in interface VibrationListener.Callback
      Mappings:
      Namespace Name Mixin selector
      official fL Lcze$b;fL()Lakh;
      intermediary method_42210 Lnet/minecraft/class_5718$class_5719;method_42210()Lnet/minecraft/class_6862;
      named getTag Lnet/minecraft/world/event/listener/VibrationListener$Callback;getTag()Lnet/minecraft/tag/TagKey;
    • writeCustomDataToNbt

      public void writeCustomDataToNbt(NbtCompound nbt)
      Overrides:
      writeCustomDataToNbt in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official b Lbaq;b(Lpj;)V
      intermediary method_5652 Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_2487;)V
      named writeCustomDataToNbt Lnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/NbtCompound;)V
    • readCustomDataFromNbt

      public void readCustomDataFromNbt(NbtCompound nbt)
      Overrides:
      readCustomDataFromNbt in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lbaq;a(Lpj;)V
      intermediary method_5749 Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_2487;)V
      named readCustomDataFromNbt Lnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)V
    • shouldFollowLeash

      protected boolean shouldFollowLeash()
      Overrides:
      shouldFollowLeash in class PathAwareEntity
      Mappings:
      Namespace Name Mixin selector
      official fI Lbbo;fI()Z
      intermediary method_43689 Lnet/minecraft/class_1314;method_43689()Z
      named shouldFollowLeash Lnet/minecraft/entity/mob/PathAwareEntity;shouldFollowLeash()Z
    • getPotentialEscapePositions

      public Iterable<BlockPos> getPotentialEscapePositions()
      Returns the list of positions that the entity should try to pathfind to when escaping.
      Overrides:
      getPotentialEscapePositions in class MobEntity
      Returns:
      the list of positions that the entity should try to pathfind to when escaping
      Mappings:
      Namespace Name Mixin selector
      official fG Lbbh;fG()Ljava/lang/Iterable;
      intermediary method_44330 Lnet/minecraft/class_1308;method_44330()Ljava/lang/Iterable;
      named getPotentialEscapePositions Lnet/minecraft/entity/mob/MobEntity;getPotentialEscapePositions()Ljava/lang/Iterable;
    • getLeashOffset

      public Vec3d getLeashOffset()
      Overrides:
      getLeashOffset in class Entity
      Mappings:
      Namespace Name Mixin selector
      official cC Lbaq;cC()Ldvt;
      intermediary method_29919 Lnet/minecraft/class_1297;method_29919()Lnet/minecraft/class_243;
      named getLeashOffset Lnet/minecraft/entity/Entity;getLeashOffset()Lnet/minecraft/util/math/Vec3d;