Package net.minecraft

Class class_9069

All Implemented Interfaces:
Attackable, Targeter, ScoreHolder, CommandOutput, Nameable, EntityLike

public class class_9069 extends AnimalEntity
Mappings:
Namespace Name
official bzj
intermediary net/minecraft/class_9069
named net/minecraft/class_9069
  • Field Details

    • field_47778

      public static final float field_47778
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official bU Lbzj;bU:F
      intermediary field_47778 Lnet/minecraft/class_9069;field_47778:F
      named field_47778 Lnet/minecraft/class_9069;field_47778:F
    • field_47782

      private static final int field_47782
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official bZ Lbzj;bZ:I
      intermediary field_47782 Lnet/minecraft/class_9069;field_47782:I
      named field_47782 Lnet/minecraft/class_9069;field_47782:I
    • field_47783

      private static final int field_47783
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official ca Lbzj;ca:I
      intermediary field_47783 Lnet/minecraft/class_9069;field_47783:I
      named field_47783 Lnet/minecraft/class_9069;field_47783:I
    • field_47779

      public static final int field_47779
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official bV Lbzj;bV:I
      intermediary field_47779 Lnet/minecraft/class_9069;field_47779:I
      named field_47779 Lnet/minecraft/class_9069;field_47779:I
    • field_47784

      private static final double field_47784
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official cb Lbzj;cb:D
      intermediary field_47784 Lnet/minecraft/class_9069;field_47784:D
      named field_47784 Lnet/minecraft/class_9069;field_47784:D
    • field_47785

      private static final TrackedData<class_9069.class_9070> field_47785
      Mappings:
      Namespace Name Mixin selector
      official cc Lbzj;cc:Lagn;
      intermediary field_47785 Lnet/minecraft/class_9069;field_47785:Lnet/minecraft/class_2940;
      named field_47785 Lnet/minecraft/class_9069;field_47785:Lnet/minecraft/entity/data/TrackedData;
    • field_47786

      private long field_47786
      Mappings:
      Namespace Name Mixin selector
      official cd Lbzj;cd:J
      intermediary field_47786 Lnet/minecraft/class_9069;field_47786:J
      named field_47786 Lnet/minecraft/class_9069;field_47786:J
    • field_47780

      public final AnimationState field_47780
      Mappings:
      Namespace Name Mixin selector
      official bX Lbzj;bX:Lbls;
      intermediary field_47780 Lnet/minecraft/class_9069;field_47780:Lnet/minecraft/class_7094;
      named field_47780 Lnet/minecraft/class_9069;field_47780:Lnet/minecraft/entity/AnimationState;
    • field_47781

      public final AnimationState field_47781
      Mappings:
      Namespace Name Mixin selector
      official bY Lbzj;bY:Lbls;
      intermediary field_47781 Lnet/minecraft/class_9069;field_47781:Lnet/minecraft/class_7094;
      named field_47781 Lnet/minecraft/class_9069;field_47781:Lnet/minecraft/entity/AnimationState;
    • field_47787

      private int field_47787
      Mappings:
      Namespace Name Mixin selector
      official ce Lbzj;ce:I
      intermediary field_47787 Lnet/minecraft/class_9069;field_47787:I
      named field_47787 Lnet/minecraft/class_9069;field_47787:I
  • Constructor Details

    • class_9069

      public class_9069(EntityType<? extends AnimalEntity> type, World world)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lblw;<init>(Lbmc;Lctx;)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

    • createChild

      @Nullable public @Nullable PassiveEntity createChild(ServerWorld world, PassiveEntity entity)
      Specified by:
      createChild in class PassiveEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lblr;a(Lane;Lblr;)Lblr;
      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;
    • method_55722

      public static DefaultAttributeContainer.Builder method_55722()
      Mappings:
      Namespace Name Mixin selector
      official u Lbzj;u()Lbnt$a;
      intermediary method_55722 Lnet/minecraft/class_9069;method_55722()Lnet/minecraft/class_5132$class_5133;
      named method_55722 Lnet/minecraft/class_9069;method_55722()Lnet/minecraft/entity/attribute/DefaultAttributeContainer$Builder;
    • initDataTracker

      protected void initDataTracker()
      Initializes data tracker.
      Overrides:
      initDataTracker in class PassiveEntity
      Mappings:
      Namespace Name Mixin selector
      official c_ Lblw;c_()V
      intermediary method_5693 Lnet/minecraft/class_1297;method_5693()V
      named initDataTracker Lnet/minecraft/entity/Entity;initDataTracker()V
    • method_55723

      public boolean method_55723()
      Mappings:
      Namespace Name Mixin selector
      official w Lbzj;w()Z
      intermediary method_55723 Lnet/minecraft/class_9069;method_55723()Z
      named method_55723 Lnet/minecraft/class_9069;method_55723()Z
    • method_55711

      public boolean method_55711()
      Mappings:
      Namespace Name Mixin selector
      official A Lbzj;A()Z
      intermediary method_55711 Lnet/minecraft/class_9069;method_55711()Z
      named method_55711 Lnet/minecraft/class_9069;method_55711()Z
    • method_55714

      public boolean method_55714()
      Mappings:
      Namespace Name Mixin selector
      official gf Lbzj;gf()Z
      intermediary method_55714 Lnet/minecraft/class_9069;method_55714()Z
      named method_55714 Lnet/minecraft/class_9069;method_55714()Z
    • method_55718

      private class_9069.class_9070 method_55718()
      Mappings:
      Namespace Name Mixin selector
      official go Lbzj;go()Lbzj$a;
      intermediary method_55718 Lnet/minecraft/class_9069;method_55718()Lnet/minecraft/class_9069$class_9070;
      named method_55718 Lnet/minecraft/class_9069;method_55718()Lnet/minecraft/class_9069$class_9070;
    • sendAiDebugData

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

      public void method_55713(class_9069.class_9070 class_9070)
      Mappings:
      Namespace Name Mixin selector
      official a Lbzj;a(Lbzj$a;)V
      intermediary method_55713 Lnet/minecraft/class_9069;method_55713(Lnet/minecraft/class_9069$class_9070;)V
      named method_55713 Lnet/minecraft/class_9069;method_55713(Lnet/minecraft/class_9069$class_9070;)V
    • method_55725

      private void method_55725(boolean bool)
      Mappings:
      Namespace Name Mixin selector
      official x Lbzj;x(Z)V
      intermediary method_55725 Lnet/minecraft/class_9069;method_55725(Z)V
      named method_55725 Lnet/minecraft/class_9069;method_55725(Z)V
    • onTrackedDataSet

      public void onTrackedDataSet(TrackedData<?> data)
      Called on the client when the tracked data is set.

      This can be overridden to refresh other fields when the tracked data is set or changed.

      Overrides:
      onTrackedDataSet in class PassiveEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lblw;a(Lagn;)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
    • createBrainProfile

      protected Brain.Profile<class_9069> createBrainProfile()
      Overrides:
      createBrainProfile in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official dO Lbmo;dO()Lbno$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 Lbmo;a(Lcom/mojang/serialization/Dynamic;)Lbno;
      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;
    • mobTick

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

      private int method_55719()
      Mappings:
      Namespace Name Mixin selector
      official gp Lbzj;gp()I
      intermediary method_55719 Lnet/minecraft/class_9069;method_55719()I
      named method_55719 Lnet/minecraft/class_9069;method_55719()I
    • tick

      public void tick()
      Ticks this entity.
      Overrides:
      tick in class MobEntity
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official l Lblw;l()V
      intermediary method_5773 Lnet/minecraft/class_1297;method_5773()V
      named tick Lnet/minecraft/entity/Entity;tick()V
    • getScaleFactor

      public float getScaleFactor()
      Overrides:
      getScaleFactor in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official dY Lbmo;dY()F
      intermediary method_17825 Lnet/minecraft/class_1309;method_17825()F
      named getScaleFactor Lnet/minecraft/entity/LivingEntity;getScaleFactor()F
    • method_55720

      private void method_55720()
      Mappings:
      Namespace Name Mixin selector
      official gq Lbzj;gq()V
      intermediary method_55720 Lnet/minecraft/class_9069;method_55720()V
      named method_55720 Lnet/minecraft/class_9069;method_55720()V
    • isBreedingItem

      public boolean isBreedingItem(ItemStack stack)
      Overrides:
      isBreedingItem in class AnimalEntity
      Mappings:
      Namespace Name Mixin selector
      official m Lbyc;m(Lcng;)Z
      intermediary method_6481 Lnet/minecraft/class_1429;method_6481(Lnet/minecraft/class_1799;)Z
      named isBreedingItem Lnet/minecraft/entity/passive/AnimalEntity;isBreedingItem(Lnet/minecraft/item/ItemStack;)Z
    • method_55721

      public boolean method_55721(LivingEntity livingEntity)
      Mappings:
      Namespace Name Mixin selector
      official j Lbzj;j(Lbmo;)Z
      intermediary method_55721 Lnet/minecraft/class_9069;method_55721(Lnet/minecraft/class_1309;)Z
      named method_55721 Lnet/minecraft/class_9069;method_55721(Lnet/minecraft/entity/LivingEntity;)Z
    • writeCustomDataToNbt

      public void writeCustomDataToNbt(NbtCompound nbt)
      Writes custom data to nbt. Subclasses have to implement this.

      NBT is a storage format; therefore, a data from NBT is loaded to an entity instance's fields, which are used for other operations instead of the NBT. The data is written back to NBT when saving the entity.

      Overrides:
      writeCustomDataToNbt in class AnimalEntity
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official b Lblw;b(Lso;)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)
      Reads custom data from nbt. Subclasses have to implement this.

      NBT is a storage format; therefore, a data from NBT is loaded to an entity instance's fields, which are used for other operations instead of the NBT. The data is written back to NBT when saving the entity.

      nbt might not have all expected keys, or might have a key whose value does not meet the requirement (such as the type or the range). This method should fall back to a reasonable default value instead of throwing an exception.

      Overrides:
      readCustomDataFromNbt in class AnimalEntity
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lblw;a(Lso;)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
    • method_55715

      public void method_55715()
      Mappings:
      Namespace Name Mixin selector
      official gl Lbzj;gl()V
      intermediary method_55715 Lnet/minecraft/class_9069;method_55715()V
      named method_55715 Lnet/minecraft/class_9069;method_55715()V
    • method_55724

      public void method_55724(boolean bool)
      Mappings:
      Namespace Name Mixin selector
      official w Lbzj;w(Z)V
      intermediary method_55724 Lnet/minecraft/class_9069;method_55724(Z)V
      named method_55724 Lnet/minecraft/class_9069;method_55724(Z)V
    • applyDamage

      protected void applyDamage(DamageSource source, float amount)
      Overrides:
      applyDamage in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official f Lbmo;f(Lbkv;F)V
      intermediary method_6074 Lnet/minecraft/class_1309;method_6074(Lnet/minecraft/class_1282;F)V
      named applyDamage Lnet/minecraft/entity/LivingEntity;applyDamage(Lnet/minecraft/entity/damage/DamageSource;F)V
    • interactMob

      public ActionResult interactMob(PlayerEntity player, Hand hand)
      Overrides:
      interactMob in class AnimalEntity
      Mappings:
      Namespace Name Mixin selector
      official b Lbmq;b(Lcfq;Lbkb;)Lbkc;
      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;
    • method_55716

      public void method_55716()
      Mappings:
      Namespace Name Mixin selector
      official gm Lbzj;gm()V
      intermediary method_55716 Lnet/minecraft/class_9069;method_55716()V
      named method_55716 Lnet/minecraft/class_9069;method_55716()V
    • method_55717

      public boolean method_55717()
      Mappings:
      Namespace Name Mixin selector
      official gn Lbzj;gn()Z
      intermediary method_55717 Lnet/minecraft/class_9069;method_55717()Z
      named method_55717 Lnet/minecraft/class_9069;method_55717()Z
    • lovePlayer

      public void lovePlayer(@Nullable @Nullable PlayerEntity player)
      Overrides:
      lovePlayer in class AnimalEntity
      Mappings:
      Namespace Name Mixin selector
      official g Lbyc;g(Lcfq;)V
      intermediary method_6480 Lnet/minecraft/class_1429;method_6480(Lnet/minecraft/class_1657;)V
      named lovePlayer Lnet/minecraft/entity/passive/AnimalEntity;lovePlayer(Lnet/minecraft/entity/player/PlayerEntity;)V
    • canEat

      public boolean canEat()
      Overrides:
      canEat in class AnimalEntity
      Mappings:
      Namespace Name Mixin selector
      official gg Lbyc;gg()Z
      intermediary method_6482 Lnet/minecraft/class_1429;method_6482()Z
      named canEat Lnet/minecraft/entity/passive/AnimalEntity;canEat()Z
    • getEatSound

      public SoundEvent getEatSound(ItemStack stack)
      Overrides:
      getEatSound in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official d Lbmo;d(Lcng;)Lars;
      intermediary method_18869 Lnet/minecraft/class_1309;method_18869(Lnet/minecraft/class_1799;)Lnet/minecraft/class_3414;
      named getEatSound Lnet/minecraft/entity/LivingEntity;getEatSound(Lnet/minecraft/item/ItemStack;)Lnet/minecraft/sound/SoundEvent;
    • getAmbientSound

      protected SoundEvent getAmbientSound()
      Overrides:
      getAmbientSound in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official y Lbmq;y()Lars;
      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;
    • getDeathSound

      protected SoundEvent getDeathSound()
      Overrides:
      getDeathSound in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official n_ Lbmo;n_()Lars;
      intermediary method_6002 Lnet/minecraft/class_1309;method_6002()Lnet/minecraft/class_3414;
      named getDeathSound Lnet/minecraft/entity/LivingEntity;getDeathSound()Lnet/minecraft/sound/SoundEvent;
    • getHurtSound

      protected SoundEvent getHurtSound(DamageSource source)
      Overrides:
      getHurtSound in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official d Lbmo;d(Lbkv;)Lars;
      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;
    • playStepSound

      protected void playStepSound(BlockPos pos, BlockState state)
      Overrides:
      playStepSound in class Entity
      Mappings:
      Namespace Name Mixin selector
      official b Lblw;b(Lhx;Ldjp;)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
    • createBodyControl

      protected BodyControl createBodyControl()
      Overrides:
      createBodyControl in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official H Lbmq;H()Lbsi;
      intermediary method_5963 Lnet/minecraft/class_1308;method_5963()Lnet/minecraft/class_1330;
      named createBodyControl Lnet/minecraft/entity/mob/MobEntity;createBodyControl()Lnet/minecraft/entity/ai/control/BodyControl;