Class PassiveEntity

All Implemented Interfaces:
EntityLike, CommandOutput, Nameable
Direct Known Subclasses:
AnimalEntity, MerchantEntity

public abstract class PassiveEntity
extends PathAwareEntity
Mappings:
Namespace Name
official aqt
intermediary net/minecraft/class_1296
named net/minecraft/entity/passive/PassiveEntity
  • Field Details

    • CHILD

      private static final TrackedData<Boolean> CHILD
      Mappings:
      Namespace Name Mixin selector
      official bm Laqt;bm:Lvk;
      intermediary field_5949 Lnet/minecraft/class_1296;field_5949:Lnet/minecraft/class_2940;
      named CHILD Lnet/minecraft/entity/passive/PassiveEntity;CHILD:Lnet/minecraft/entity/data/TrackedData;
    • breedingAge

      protected int breedingAge
      Mappings:
      Namespace Name Mixin selector
      official b Laqt;b:I
      intermediary field_5950 Lnet/minecraft/class_1296;field_5950:I
      named breedingAge Lnet/minecraft/entity/passive/PassiveEntity;breedingAge:I
    • forcedAge

      protected int forcedAge
      Mappings:
      Namespace Name Mixin selector
      official c Laqt;c:I
      intermediary field_5948 Lnet/minecraft/class_1296;field_5948:I
      named forcedAge Lnet/minecraft/entity/passive/PassiveEntity;forcedAge:I
    • happyTicksRemaining

      protected int happyTicksRemaining
      Mappings:
      Namespace Name Mixin selector
      official d Laqt;d:I
      intermediary field_5947 Lnet/minecraft/class_1296;field_5947:I
      named happyTicksRemaining Lnet/minecraft/entity/passive/PassiveEntity;happyTicksRemaining:I
  • Constructor Details

    • PassiveEntity

      protected PassiveEntity​(EntityType<? extends PassiveEntity> type, World world)
      Mappings:
      Namespace Name Mixin selector
      official <init> Laqv;<init>(Laqz;Lbtv;)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

    • initialize

      public EntityData initialize​(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData, @Nullable CompoundTag entityTag)
      Overrides:
      initialize in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official a Larj;a(Lbuj;Lapo;Larl;Larz;Lmq;)Larz;
      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;
    • createChild

      @Nullable public abstract PassiveEntity createChild​(ServerWorld world, PassiveEntity entity)
      Mappings:
      Namespace Name Mixin selector
      official a Laqt;a(Laav;Laqt;)Laqt;
      intermediary method_5613 Lnet/minecraft/class_1296;method_5613(Lnet/minecraft/class_3218;Lnet/minecraft/class_1296;)Lnet/minecraft/class_1296;
      named createChild Lnet/minecraft/entity/passive/PassiveEntity;createChild(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/PassiveEntity;)Lnet/minecraft/entity/passive/PassiveEntity;
    • initDataTracker

      protected void initDataTracker()
      Overrides:
      initDataTracker in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official e Laqv;e()V
      intermediary method_5693 Lnet/minecraft/class_1297;method_5693()V
      named initDataTracker Lnet/minecraft/entity/Entity;initDataTracker()V
    • isReadyToBreed

      public boolean isReadyToBreed()
      Mappings:
      Namespace Name Mixin selector
      official f Laqt;f()Z
      intermediary method_19184 Lnet/minecraft/class_1296;method_19184()Z
      named isReadyToBreed Lnet/minecraft/entity/passive/PassiveEntity;isReadyToBreed()Z
    • getBreedingAge

      public int getBreedingAge()
      Mappings:
      Namespace Name Mixin selector
      official i Laqt;i()I
      intermediary method_5618 Lnet/minecraft/class_1296;method_5618()I
      named getBreedingAge Lnet/minecraft/entity/passive/PassiveEntity;getBreedingAge()I
    • growUp

      public void growUp​(int age, boolean overGrow)
      Mappings:
      Namespace Name Mixin selector
      official a Laqt;a(IZ)V
      intermediary method_5620 Lnet/minecraft/class_1296;method_5620(IZ)V
      named growUp Lnet/minecraft/entity/passive/PassiveEntity;growUp(IZ)V
    • growUp

      public void growUp​(int age)
      Mappings:
      Namespace Name Mixin selector
      official a Laqt;a(I)V
      intermediary method_5615 Lnet/minecraft/class_1296;method_5615(I)V
      named growUp Lnet/minecraft/entity/passive/PassiveEntity;growUp(I)V
    • setBreedingAge

      public void setBreedingAge​(int age)
      Mappings:
      Namespace Name Mixin selector
      official c_ Laqt;c_(I)V
      intermediary method_5614 Lnet/minecraft/class_1296;method_5614(I)V
      named setBreedingAge Lnet/minecraft/entity/passive/PassiveEntity;setBreedingAge(I)V
    • writeCustomDataToTag

      public void writeCustomDataToTag​(CompoundTag tag)
      Overrides:
      writeCustomDataToTag in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official b Laqv;b(Lmq;)V
      intermediary method_5652 Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_2487;)V
      named writeCustomDataToTag Lnet/minecraft/entity/Entity;writeCustomDataToTag(Lnet/minecraft/nbt/CompoundTag;)V
    • readCustomDataFromTag

      public void readCustomDataFromTag​(CompoundTag tag)
      Overrides:
      readCustomDataFromTag in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official a Laqv;a(Lmq;)V
      intermediary method_5749 Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_2487;)V
      named readCustomDataFromTag Lnet/minecraft/entity/Entity;readCustomDataFromTag(Lnet/minecraft/nbt/CompoundTag;)V
    • onTrackedDataSet

      public void onTrackedDataSet​(TrackedData<?> data)
      Overrides:
      onTrackedDataSet in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official a Laqv;a(Lvk;)V
      intermediary method_5674 Lnet/minecraft/class_1297;method_5674(Lnet/minecraft/class_2940;)V
      named onTrackedDataSet Lnet/minecraft/entity/Entity;onTrackedDataSet(Lnet/minecraft/entity/data/TrackedData;)V
    • tickMovement

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

      protected void onGrowUp()
      Mappings:
      Namespace Name Mixin selector
      official m Laqt;m()V
      intermediary method_5619 Lnet/minecraft/class_1296;method_5619()V
      named onGrowUp Lnet/minecraft/entity/passive/PassiveEntity;onGrowUp()V
    • isBaby

      public boolean isBaby()
      Overrides:
      isBaby in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official z_ Lari;z_()Z
      intermediary method_6109 Lnet/minecraft/class_1309;method_6109()Z
      named isBaby Lnet/minecraft/entity/LivingEntity;isBaby()Z
    • setBaby

      public void setBaby​(boolean baby)
      Overrides:
      setBaby in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official a Larj;a(Z)V
      intermediary method_7217 Lnet/minecraft/class_1308;method_7217(Z)V
      named setBaby Lnet/minecraft/entity/mob/MobEntity;setBaby(Z)V