Class ParrotEntity

All Implemented Interfaces:
class_3384, CommandSource, EntityCategoryProvider, Tameable

public class ParrotEntity extends class_3159 implements class_3384
Mappings:
Namespace Name
official aac
intermediary net/minecraft/class_3158
named net/minecraft/entity/ParrotEntity
  • Field Details

    • field_15562

      private static final TrackedData<Integer> field_15562
      Mappings:
      Namespace Name Mixin selector
      official bG Laac;bG:Lmy;
      intermediary field_15562 Lnet/minecraft/class_3158;field_15562:Lnet/minecraft/class_2921;
      named field_15562 Lnet/minecraft/entity/ParrotEntity;field_15562:Lnet/minecraft/entity/data/TrackedData;
    • field_15563

      private static final Predicate<MobEntity> field_15563
      Mappings:
      Namespace Name Mixin selector
      official bH Laac;bH:Lcom/google/common/base/Predicate;
      intermediary field_15563 Lnet/minecraft/class_3158;field_15563:Lcom/google/common/base/Predicate;
      named field_15563 Lnet/minecraft/entity/ParrotEntity;field_15563:Lcom/google/common/base/Predicate;
    • field_15564

      private static final Item field_15564
      Mappings:
      Namespace Name Mixin selector
      official bI Laac;bI:Lain;
      intermediary field_15564 Lnet/minecraft/class_3158;field_15564:Lnet/minecraft/class_1069;
      named field_15564 Lnet/minecraft/entity/ParrotEntity;field_15564:Lnet/minecraft/item/Item;
    • field_15565

      private static final Set<Item> field_15565
      Mappings:
      Namespace Name Mixin selector
      official bJ Laac;bJ:Ljava/util/Set;
      intermediary field_15565 Lnet/minecraft/class_3158;field_15565:Ljava/util/Set;
      named field_15565 Lnet/minecraft/entity/ParrotEntity;field_15565:Ljava/util/Set;
    • field_15566

      private static final Int2ObjectMap<SoundEvent> field_15566
      Mappings:
      Namespace Name Mixin selector
      official bK Laac;bK:Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;
      intermediary field_15566 Lnet/minecraft/class_3158;field_15566:Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;
      named field_15566 Lnet/minecraft/entity/ParrotEntity;field_15566:Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;
    • field_15557

      public float field_15557
      Mappings:
      Namespace Name Mixin selector
      official bB Laac;bB:F
      intermediary field_15557 Lnet/minecraft/class_3158;field_15557:F
      named field_15557 Lnet/minecraft/entity/ParrotEntity;field_15557:F
    • field_15558

      public float field_15558
      Mappings:
      Namespace Name Mixin selector
      official bC Laac;bC:F
      intermediary field_15558 Lnet/minecraft/class_3158;field_15558:F
      named field_15558 Lnet/minecraft/entity/ParrotEntity;field_15558:F
    • field_15559

      public float field_15559
      Mappings:
      Namespace Name Mixin selector
      official bD Laac;bD:F
      intermediary field_15559 Lnet/minecraft/class_3158;field_15559:F
      named field_15559 Lnet/minecraft/entity/ParrotEntity;field_15559:F
    • field_15560

      public float field_15560
      Mappings:
      Namespace Name Mixin selector
      official bE Laac;bE:F
      intermediary field_15560 Lnet/minecraft/class_3158;field_15560:F
      named field_15560 Lnet/minecraft/entity/ParrotEntity;field_15560:F
    • field_15561

      public float field_15561
      Mappings:
      Namespace Name Mixin selector
      official bF Laac;bF:F
      intermediary field_15561 Lnet/minecraft/class_3158;field_15561:F
      named field_15561 Lnet/minecraft/entity/ParrotEntity;field_15561:F
    • field_15567

      private boolean field_15567
      Mappings:
      Namespace Name Mixin selector
      official bL Laac;bL:Z
      intermediary field_15567 Lnet/minecraft/class_3158;field_15567:Z
      named field_15567 Lnet/minecraft/entity/ParrotEntity;field_15567:Z
    • field_15568

      private BlockPos field_15568
      Mappings:
      Namespace Name Mixin selector
      official bM Laac;bM:Let;
      intermediary field_15568 Lnet/minecraft/class_3158;field_15568:Lnet/minecraft/class_2552;
      named field_15568 Lnet/minecraft/entity/ParrotEntity;field_15568:Lnet/minecraft/util/math/BlockPos;
  • Constructor Details

    • ParrotEntity

      public ParrotEntity(World world)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lvg;<init>(Lamu;)V
      intermediary <init> Lnet/minecraft/class_864;<init>(Lnet/minecraft/class_1150;)V
      named <init> Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/world/World;)V
  • Method Details

    • initialize

      @Nullable public EntityData initialize(LocalDifficulty difficulty, @Nullable EntityData data)
      Overrides:
      initialize in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lvq;a(Lua;Lvs;)Lvs;
      intermediary method_6156 Lnet/minecraft/class_871;method_6156(Lnet/minecraft/class_2607;Lnet/minecraft/class_1700;)Lnet/minecraft/class_1700;
      named initialize Lnet/minecraft/entity/mob/MobEntity;initialize(Lnet/minecraft/world/LocalDifficulty;Lnet/minecraft/entity/EntityData;)Lnet/minecraft/entity/EntityData;
    • initGoals

      protected void initGoals()
      Overrides:
      initGoals in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official r Lvq;r()V
      intermediary method_13087 Lnet/minecraft/class_871;method_13087()V
      named initGoals Lnet/minecraft/entity/mob/MobEntity;initGoals()V
    • initializeAttributes

      protected void initializeAttributes()
      Overrides:
      initializeAttributes in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official bM Lvp;bM()V
      intermediary method_6129 Lnet/minecraft/class_1699;method_6129()V
      named initializeAttributes Lnet/minecraft/entity/LivingEntity;initializeAttributes()V
    • createNavigation

      protected EntityNavigation createNavigation(World world)
      Overrides:
      createNavigation in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official b Lvq;b(Lamu;)Lze;
      intermediary method_10986 Lnet/minecraft/class_871;method_10986(Lnet/minecraft/class_1150;)Lnet/minecraft/class_934;
      named createNavigation Lnet/minecraft/entity/mob/MobEntity;createNavigation(Lnet/minecraft/world/World;)Lnet/minecraft/entity/ai/pathing/EntityNavigation;
    • getEyeHeight

      public float getEyeHeight()
      Overrides:
      getEyeHeight in class Entity
      Mappings:
      Namespace Name Mixin selector
      official by Lvg;by()F
      intermediary method_2544 Lnet/minecraft/class_864;method_2544()F
      named getEyeHeight Lnet/minecraft/entity/Entity;getEyeHeight()F
    • tickMovement

      public void tickMovement()
      Overrides:
      tickMovement in class AnimalEntity
      Mappings:
      Namespace Name Mixin selector
      official n Lvp;n()V
      intermediary method_2651 Lnet/minecraft/class_1699;method_2651()V
      named tickMovement Lnet/minecraft/entity/LivingEntity;tickMovement()V
    • method_15058

      @Environment(CLIENT) public void method_15058(BlockPos blockPos, boolean bool)
      Overrides:
      method_15058 in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lvp;a(Let;Z)V
      intermediary method_15058 Lnet/minecraft/class_1699;method_15058(Lnet/minecraft/class_2552;Z)V
      named method_15058 Lnet/minecraft/entity/LivingEntity;method_15058(Lnet/minecraft/util/math/BlockPos;Z)V
    • method_14106

      @Environment(CLIENT) public boolean method_14106()
      Mappings:
      Namespace Name Mixin selector
      official dt Laac;dt()Z
      intermediary method_14106 Lnet/minecraft/class_3158;method_14106()Z
      named method_14106 Lnet/minecraft/entity/ParrotEntity;method_14106()Z
    • method_14109

      private void method_14109()
      Mappings:
      Namespace Name Mixin selector
      official dx Laac;dx()V
      intermediary method_14109 Lnet/minecraft/class_3158;method_14109()V
      named method_14109 Lnet/minecraft/entity/ParrotEntity;method_14109()V
    • method_14104

      private static boolean method_14104(World world, Entity entity)
      Mappings:
      Namespace Name Mixin selector
      official b Laac;b(Lamu;Lvg;)Z
      intermediary method_14104 Lnet/minecraft/class_3158;method_14104(Lnet/minecraft/class_1150;Lnet/minecraft/class_864;)Z
      named method_14104 Lnet/minecraft/entity/ParrotEntity;method_14104(Lnet/minecraft/world/World;Lnet/minecraft/entity/Entity;)Z
    • interactMob

      public boolean interactMob(PlayerEntity playerEntity, Hand hand)
      Overrides:
      interactMob in class AnimalEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lvq;a(Laed;Lub;)Z
      intermediary method_13079 Lnet/minecraft/class_871;method_13079(Lnet/minecraft/class_988;Lnet/minecraft/class_2961;)Z
      named interactMob Lnet/minecraft/entity/mob/MobEntity;interactMob(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/Hand;)Z
    • isBreedingItem

      public boolean isBreedingItem(ItemStack stack)
      Overrides:
      isBreedingItem in class AnimalEntity
      Mappings:
      Namespace Name Mixin selector
      official e Lzv;e(Laip;)Z
      intermediary method_2853 Lnet/minecraft/class_942;method_2853(Lnet/minecraft/class_1071;)Z
      named isBreedingItem Lnet/minecraft/entity/passive/AnimalEntity;isBreedingItem(Lnet/minecraft/item/ItemStack;)Z
    • canSpawn

      public boolean canSpawn()
      Overrides:
      canSpawn in class AnimalEntity
      Mappings:
      Namespace Name Mixin selector
      official P Lvq;P()Z
      intermediary method_2637 Lnet/minecraft/class_871;method_2637()Z
      named canSpawn Lnet/minecraft/entity/mob/MobEntity;canSpawn()Z
    • handleFallDamage

      public void handleFallDamage(float fallDistance, float damageMultiplier)
      Overrides:
      handleFallDamage in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official e Lvg;e(FF)V
      intermediary method_2490 Lnet/minecraft/class_864;method_2490(FF)V
      named handleFallDamage Lnet/minecraft/entity/Entity;handleFallDamage(FF)V
    • fall

      protected void fall(double heightDifference, boolean onGround, BlockState landedState, BlockPos landedPos)
      Overrides:
      fall in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lvg;a(DZLawt;Let;)V
      intermediary method_2489 Lnet/minecraft/class_864;method_2489(DZLnet/minecraft/class_2232;Lnet/minecraft/class_2552;)V
      named fall Lnet/minecraft/entity/Entity;fall(DZLnet/minecraft/block/BlockState;Lnet/minecraft/util/math/BlockPos;)V
    • canBreedWith

      public boolean canBreedWith(AnimalEntity other)
      Overrides:
      canBreedWith in class AnimalEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lzv;a(Lzv;)Z
      intermediary method_2852 Lnet/minecraft/class_942;method_2852(Lnet/minecraft/class_942;)Z
      named canBreedWith Lnet/minecraft/entity/passive/AnimalEntity;canBreedWith(Lnet/minecraft/entity/passive/AnimalEntity;)Z
    • breed

      @Nullable public PassiveEntity breed(PassiveEntity entity)
      Specified by:
      breed in class PassiveEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lvd;a(Lvd;)Lvd;
      intermediary method_4440 Lnet/minecraft/class_862;method_4440(Lnet/minecraft/class_862;)Lnet/minecraft/class_862;
      named breed Lnet/minecraft/entity/passive/PassiveEntity;breed(Lnet/minecraft/entity/passive/PassiveEntity;)Lnet/minecraft/entity/passive/PassiveEntity;
    • method_14102

      public static void method_14102(World world, Entity entity)
      Mappings:
      Namespace Name Mixin selector
      official a Laac;a(Lamu;Lvg;)V
      intermediary method_14102 Lnet/minecraft/class_3158;method_14102(Lnet/minecraft/class_1150;Lnet/minecraft/class_864;)V
      named method_14102 Lnet/minecraft/entity/ParrotEntity;method_14102(Lnet/minecraft/world/World;Lnet/minecraft/entity/Entity;)V
    • tryAttack

      public boolean tryAttack(Entity target)
      Overrides:
      tryAttack in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official B Lvp;B(Lvg;)Z
      intermediary method_2671 Lnet/minecraft/class_1699;method_2671(Lnet/minecraft/class_864;)Z
      named tryAttack Lnet/minecraft/entity/LivingEntity;tryAttack(Lnet/minecraft/entity/Entity;)Z
    • ambientSound

      @Nullable public SoundEvent ambientSound()
      Overrides:
      ambientSound in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official F Lvq;F()Lqe;
      intermediary method_2603 Lnet/minecraft/class_871;method_2603()Lnet/minecraft/class_2926;
      named ambientSound Lnet/minecraft/entity/mob/MobEntity;ambientSound()Lnet/minecraft/client/sound/SoundEvent;
    • method_14103

      private static SoundEvent method_14103(Random random)
      Mappings:
      Namespace Name Mixin selector
      official a Laac;a(Ljava/util/Random;)Lqe;
      intermediary method_14103 Lnet/minecraft/class_3158;method_14103(Ljava/util/Random;)Lnet/minecraft/class_2926;
      named method_14103 Lnet/minecraft/entity/ParrotEntity;method_14103(Ljava/util/Random;)Lnet/minecraft/client/sound/SoundEvent;
    • method_14110

      public static SoundEvent method_14110(int int2)
      Mappings:
      Namespace Name Mixin selector
      official g Laac;g(I)Lqe;
      intermediary method_14110 Lnet/minecraft/class_3158;method_14110(I)Lnet/minecraft/class_2926;
      named method_14110 Lnet/minecraft/entity/ParrotEntity;method_14110(I)Lnet/minecraft/client/sound/SoundEvent;
    • getHurtSound

      protected SoundEvent getHurtSound(DamageSource damageSource)
      Overrides:
      getHurtSound in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official d Lvp;d(Lur;)Lqe;
      intermediary method_15060 Lnet/minecraft/class_1699;method_15060(Lnet/minecraft/class_856;)Lnet/minecraft/class_2926;
      named getHurtSound Lnet/minecraft/entity/LivingEntity;getHurtSound(Lnet/minecraft/entity/damage/DamageSource;)Lnet/minecraft/client/sound/SoundEvent;
    • deathSound

      protected SoundEvent deathSound()
      Overrides:
      deathSound in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official cf Lvp;cf()Lqe;
      intermediary method_13049 Lnet/minecraft/class_1699;method_13049()Lnet/minecraft/class_2926;
      named deathSound Lnet/minecraft/entity/LivingEntity;deathSound()Lnet/minecraft/client/sound/SoundEvent;
    • playStepSound

      protected void playStepSound(BlockPos pos, Block block)
      Overrides:
      playStepSound in class Entity
      Mappings:
      Namespace Name Mixin selector
      official a Lvg;a(Let;Laow;)V
      intermediary method_10936 Lnet/minecraft/class_864;method_10936(Lnet/minecraft/class_2552;Lnet/minecraft/class_197;)V
      named playStepSound Lnet/minecraft/entity/Entity;playStepSound(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/Block;)V
    • method_15055

      protected float method_15055(float float2)
      Overrides:
      method_15055 in class Entity
      Mappings:
      Namespace Name Mixin selector
      official d Lvg;d(F)F
      intermediary method_15055 Lnet/minecraft/class_864;method_15055(F)F
      named method_15055 Lnet/minecraft/entity/Entity;method_15055(F)F
    • method_15051

      protected boolean method_15051()
      Overrides:
      method_15051 in class Entity
      Mappings:
      Namespace Name Mixin selector
      official ah Lvg;ah()Z
      intermediary method_15051 Lnet/minecraft/class_864;method_15051()Z
      named method_15051 Lnet/minecraft/entity/Entity;method_15051()Z
    • getSoundPitch

      protected float getSoundPitch()
      Overrides:
      getSoundPitch in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official cr Lvp;cr()F
      intermediary method_2665 Lnet/minecraft/class_1699;method_2665()F
      named getSoundPitch Lnet/minecraft/entity/LivingEntity;getSoundPitch()F
    • method_14105

      private static float method_14105(Random random)
      Mappings:
      Namespace Name Mixin selector
      official b Laac;b(Ljava/util/Random;)F
      intermediary method_14105 Lnet/minecraft/class_3158;method_14105(Ljava/util/Random;)F
      named method_14105 Lnet/minecraft/entity/ParrotEntity;method_14105(Ljava/util/Random;)F
    • getSoundCategory

      public SoundCategory getSoundCategory()
      Overrides:
      getSoundCategory in class Entity
      Mappings:
      Namespace Name Mixin selector
      official bK Lvg;bK()Lqg;
      intermediary method_12992 Lnet/minecraft/class_864;method_12992()Lnet/minecraft/class_2153;
      named getSoundCategory Lnet/minecraft/entity/Entity;getSoundCategory()Lnet/minecraft/client/sound/SoundCategory;
    • isPushable

      public boolean isPushable()
      Overrides:
      isPushable in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official az Lvg;az()Z
      intermediary method_2472 Lnet/minecraft/class_864;method_2472()Z
      named isPushable Lnet/minecraft/entity/Entity;isPushable()Z
    • pushAway

      protected void pushAway(Entity entity)
      Overrides:
      pushAway in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official C Lvp;C(Lvg;)V
      intermediary method_4483 Lnet/minecraft/class_1699;method_4483(Lnet/minecraft/class_864;)V
      named pushAway Lnet/minecraft/entity/LivingEntity;pushAway(Lnet/minecraft/entity/Entity;)V
    • damage

      public boolean damage(DamageSource source, float amount)
      Overrides:
      damage in class AnimalEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lvg;a(Lur;F)Z
      intermediary method_2499 Lnet/minecraft/class_864;method_2499(Lnet/minecraft/class_856;F)Z
      named damage Lnet/minecraft/entity/Entity;damage(Lnet/minecraft/entity/damage/DamageSource;F)Z
    • method_14107

      public int method_14107()
      Mappings:
      Namespace Name Mixin selector
      official du Laac;du()I
      intermediary method_14107 Lnet/minecraft/class_3158;method_14107()I
      named method_14107 Lnet/minecraft/entity/ParrotEntity;method_14107()I
    • method_14111

      public void method_14111(int int2)
      Mappings:
      Namespace Name Mixin selector
      official m Laac;m(I)V
      intermediary method_14111 Lnet/minecraft/class_3158;method_14111(I)V
      named method_14111 Lnet/minecraft/entity/ParrotEntity;method_14111(I)V
    • initDataTracker

      protected void initDataTracker()
      Overrides:
      initDataTracker in class TameableEntity
      Mappings:
      Namespace Name Mixin selector
      official i Lvg;i()V
      intermediary method_2484 Lnet/minecraft/class_864;method_2484()V
      named initDataTracker Lnet/minecraft/entity/Entity;initDataTracker()V
    • writeCustomDataToNbt

      public void writeCustomDataToNbt(NbtCompound nbt)
      Overrides:
      writeCustomDataToNbt in class TameableEntity
      Mappings:
      Namespace Name Mixin selector
      official b Lvg;b(Lfy;)V
      intermediary method_2528 Lnet/minecraft/class_864;method_2528(Lnet/minecraft/class_322;)V
      named writeCustomDataToNbt Lnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/NbtCompound;)V
    • readCustomDataFromNbt

      public void readCustomDataFromNbt(NbtCompound nbt)
      Overrides:
      readCustomDataFromNbt in class TameableEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lvg;a(Lfy;)V
      intermediary method_2498 Lnet/minecraft/class_864;method_2498(Lnet/minecraft/class_322;)V
      named readCustomDataFromNbt Lnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)V
    • getLootTableId

      @Nullable protected Identifier getLootTableId()
      Overrides:
      getLootTableId in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official J Lvq;J()Lnf;
      intermediary method_13074 Lnet/minecraft/class_871;method_13074()Lnet/minecraft/class_1653;
      named getLootTableId Lnet/minecraft/entity/mob/MobEntity;getLootTableId()Lnet/minecraft/util/Identifier;
    • method_14101

      public boolean method_14101()
      Mappings:
      Namespace Name Mixin selector
      official a Laac;a()Z
      intermediary method_14101 Lnet/minecraft/class_3158;method_14101()Z
      named method_14101 Lnet/minecraft/entity/ParrotEntity;method_14101()Z