Class RabbitEntity

All Implemented Interfaces:
CommandSource, EntityCategoryProvider

public class RabbitEntity
extends AnimalEntity
Mappings:
Namespace Name
official tu
intermediary net/minecraft/class_1856
named net/minecraft/entity/passive/RabbitEntity
  • Field Details

    • field_7928

      private RabbitEntity.class_1859<WolfEntity> field_7928
      Mappings:
      Namespace Name Mixin selector
      official bm Ltu;bm:Ltu$c;
      intermediary field_7928 Lnet/minecraft/class_1856;field_7928:Lnet/minecraft/class_1856$class_1859;
      named field_7928 Lnet/minecraft/entity/passive/RabbitEntity;field_7928:Lnet/minecraft/entity/passive/RabbitEntity$class_1859;
    • jumpTicks

      private int jumpTicks
      Mappings:
      Namespace Name Mixin selector
      official bo Ltu;bo:I
      intermediary field_7929 Lnet/minecraft/class_1856;field_7929:I
      named jumpTicks Lnet/minecraft/entity/passive/RabbitEntity;jumpTicks:I
    • jumpDuration

      private int jumpDuration
      Mappings:
      Namespace Name Mixin selector
      official bp Ltu;bp:I
      intermediary field_7930 Lnet/minecraft/class_1856;field_7930:I
      named jumpDuration Lnet/minecraft/entity/passive/RabbitEntity;jumpDuration:I
    • field_7931

      private boolean field_7931
      Mappings:
      Namespace Name Mixin selector
      official bq Ltu;bq:Z
      intermediary field_7931 Lnet/minecraft/class_1856;field_7931:Z
      named field_7931 Lnet/minecraft/entity/passive/RabbitEntity;field_7931:Z
    • lastOnGround

      private boolean lastOnGround
      Mappings:
      Namespace Name Mixin selector
      official br Ltu;br:Z
      intermediary field_7932 Lnet/minecraft/class_1856;field_7932:Z
      named lastOnGround Lnet/minecraft/entity/passive/RabbitEntity;lastOnGround:Z
    • ticksUntilJump

      private int ticksUntilJump
      Mappings:
      Namespace Name Mixin selector
      official bs Ltu;bs:I
      intermediary field_7933 Lnet/minecraft/class_1856;field_7933:I
      named ticksUntilJump Lnet/minecraft/entity/passive/RabbitEntity;ticksUntilJump:I
    • field_7934

      private RabbitEntity.Action field_7934
      Mappings:
      Namespace Name Mixin selector
      official bt Ltu;bt:Ltu$b;
      intermediary field_7934 Lnet/minecraft/class_1856;field_7934:Lnet/minecraft/class_1856$class_1858;
      named field_7934 Lnet/minecraft/entity/passive/RabbitEntity;field_7934:Lnet/minecraft/entity/passive/RabbitEntity$Action;
    • moreCarrotTicks

      private int moreCarrotTicks
      Mappings:
      Namespace Name Mixin selector
      official bu Ltu;bu:I
      intermediary field_7935 Lnet/minecraft/class_1856;field_7935:I
      named moreCarrotTicks Lnet/minecraft/entity/passive/RabbitEntity;moreCarrotTicks:I
    • field_7936

      private PlayerEntity field_7936
      Mappings:
      Namespace Name Mixin selector
      official bv Ltu;bv:Lwn;
      intermediary field_7936 Lnet/minecraft/class_1856;field_7936:Lnet/minecraft/class_1963;
      named field_7936 Lnet/minecraft/entity/passive/RabbitEntity;field_7936:Lnet/minecraft/entity/player/PlayerEntity;
  • Constructor Details

    • RabbitEntity

      public RabbitEntity​(World world)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lpk;<init>(Ladm;)V
      intermediary <init> Lnet/minecraft/class_1745;<init>(Lnet/minecraft/class_99;)V
      named <init> Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/world/World;)V
  • Method Details

    • method_7111

      protected float method_7111()
      Overrides:
      method_7111 in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official bE Lpr;bE()F
      intermediary method_7111 Lnet/minecraft/class_1752;method_7111()F
      named method_7111 Lnet/minecraft/entity/LivingEntity;method_7111()F
    • method_7605

      public void method_7605​(RabbitEntity.Action action)
      Mappings:
      Namespace Name Mixin selector
      official a Ltu;a(Ltu$b;)V
      intermediary method_7605 Lnet/minecraft/class_1856;method_7605(Lnet/minecraft/class_1856$class_1858;)V
      named method_7605 Lnet/minecraft/entity/passive/RabbitEntity;method_7605(Lnet/minecraft/entity/passive/RabbitEntity$Action;)V
    • method_7622

      @Environment(CLIENT) public float method_7622​(float float2)
      Mappings:
      Namespace Name Mixin selector
      official p Ltu;p(F)F
      intermediary method_7622 Lnet/minecraft/class_1856;method_7622(F)F
      named method_7622 Lnet/minecraft/entity/passive/RabbitEntity;method_7622(F)F
    • setSpeed

      public void setSpeed​(double speed)
      Mappings:
      Namespace Name Mixin selector
      official b Ltu;b(D)V
      intermediary method_7609 Lnet/minecraft/class_1856;method_7609(D)V
      named setSpeed Lnet/minecraft/entity/passive/RabbitEntity;setSpeed(D)V
    • method_7608

      public void method_7608​(boolean bool, RabbitEntity.Action action)
      Mappings:
      Namespace Name Mixin selector
      official a Ltu;a(ZLtu$b;)V
      intermediary method_7608 Lnet/minecraft/class_1856;method_7608(ZLnet/minecraft/class_1856$class_1858;)V
      named method_7608 Lnet/minecraft/entity/passive/RabbitEntity;method_7608(ZLnet/minecraft/entity/passive/RabbitEntity$Action;)V
    • method_7611

      public void method_7611​(RabbitEntity.Action action)
      Mappings:
      Namespace Name Mixin selector
      official b Ltu;b(Ltu$b;)V
      intermediary method_7611 Lnet/minecraft/class_1856;method_7611(Lnet/minecraft/class_1856$class_1858;)V
      named method_7611 Lnet/minecraft/entity/passive/RabbitEntity;method_7611(Lnet/minecraft/entity/passive/RabbitEntity$Action;)V
    • method_7612

      public boolean method_7612()
      Mappings:
      Namespace Name Mixin selector
      official cl Ltu;cl()Z
      intermediary method_7612 Lnet/minecraft/class_1856;method_7612()Z
      named method_7612 Lnet/minecraft/entity/passive/RabbitEntity;method_7612()Z
    • initDataTracker

      protected void initDataTracker()
      Overrides:
      initDataTracker in class AgeableEntity
      Mappings:
      Namespace Name Mixin selector
      official h Lpk;h()V
      intermediary method_7043 Lnet/minecraft/class_1745;method_7043()V
      named initDataTracker Lnet/minecraft/entity/Entity;initDataTracker()V
    • mobTick

      public void mobTick()
      Overrides:
      mobTick in class AnimalEntity
      Mappings:
      Namespace Name Mixin selector
      official E Lps;E()V
      intermediary method_7186 Lnet/minecraft/class_1753;method_7186()V
      named mobTick Lnet/minecraft/entity/mob/MobEntity;mobTick()V
    • attemptSprintingParticles

      public void attemptSprintingParticles()
      Overrides:
      attemptSprintingParticles in class Entity
      Mappings:
      Namespace Name Mixin selector
      official Y Lpk;Y()V
      intermediary method_6914 Lnet/minecraft/class_1745;method_6914()V
      named attemptSprintingParticles Lnet/minecraft/entity/Entity;attemptSprintingParticles()V
    • method_7604

      private void method_7604​(double double2, double double3)
      Mappings:
      Namespace Name Mixin selector
      official a Ltu;a(DD)V
      intermediary method_7604 Lnet/minecraft/class_1856;method_7604(DD)V
      named method_7604 Lnet/minecraft/entity/passive/RabbitEntity;method_7604(DD)V
    • method_7617

      private void method_7617()
      Mappings:
      Namespace Name Mixin selector
      official ct Ltu;ct()V
      intermediary method_7617 Lnet/minecraft/class_1856;method_7617()V
      named method_7617 Lnet/minecraft/entity/passive/RabbitEntity;method_7617()V
    • method_7618

      private void method_7618()
      Mappings:
      Namespace Name Mixin selector
      official cu Ltu;cu()V
      intermediary method_7618 Lnet/minecraft/class_1856;method_7618()V
      named method_7618 Lnet/minecraft/entity/passive/RabbitEntity;method_7618()V
    • method_7619

      private void method_7619()
      Mappings:
      Namespace Name Mixin selector
      official cv Ltu;cv()V
      intermediary method_7619 Lnet/minecraft/class_1856;method_7619()V
      named method_7619 Lnet/minecraft/entity/passive/RabbitEntity;method_7619()V
    • method_7620

      private void method_7620()
      Mappings:
      Namespace Name Mixin selector
      official cw Ltu;cw()V
      intermediary method_7620 Lnet/minecraft/class_1856;method_7620()V
      named method_7620 Lnet/minecraft/entity/passive/RabbitEntity;method_7620()V
    • tickMovement

      public void tickMovement()
      Overrides:
      tickMovement in class AnimalEntity
      Mappings:
      Namespace Name Mixin selector
      official m Lpr;m()V
      intermediary method_7169 Lnet/minecraft/class_1752;method_7169()V
      named tickMovement Lnet/minecraft/entity/LivingEntity;tickMovement()V
    • initializeAttributes

      protected void initializeAttributes()
      Overrides:
      initializeAttributes in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official aX Lpr;aX()V
      intermediary method_7097 Lnet/minecraft/class_1752;method_7097()V
      named initializeAttributes Lnet/minecraft/entity/LivingEntity;initializeAttributes()V
    • serialize

      public void serialize​(CompoundTag tag)
      Overrides:
      serialize in class AnimalEntity
      Mappings:
      Namespace Name Mixin selector
      official b Lpk;b(Ldn;)V
      intermediary method_7003 Lnet/minecraft/class_1745;method_7003(Lnet/minecraft/class_1405;)V
      named serialize Lnet/minecraft/entity/Entity;serialize(Lnet/minecraft/nbt/CompoundTag;)V
    • deserialize

      public void deserialize​(CompoundTag tag)
      Overrides:
      deserialize in class AnimalEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lpk;a(Ldn;)V
      intermediary method_6933 Lnet/minecraft/class_1745;method_6933(Lnet/minecraft/class_1405;)V
      named deserialize Lnet/minecraft/entity/Entity;deserialize(Lnet/minecraft/nbt/CompoundTag;)V
    • getHopSound

      protected String getHopSound()
      Mappings:
      Namespace Name Mixin selector
      official cm Ltu;cm()Ljava/lang/String;
      intermediary method_7613 Lnet/minecraft/class_1856;method_7613()Ljava/lang/String;
      named getHopSound Lnet/minecraft/entity/passive/RabbitEntity;getHopSound()Ljava/lang/String;
    • getAmbientSound

      protected String getAmbientSound()
      Overrides:
      getAmbientSound in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official z Lps;z()Ljava/lang/String;
      intermediary method_7231 Lnet/minecraft/class_1753;method_7231()Ljava/lang/String;
      named getAmbientSound Lnet/minecraft/entity/mob/MobEntity;getAmbientSound()Ljava/lang/String;
    • getHurtSound

      protected String getHurtSound()
      Overrides:
      getHurtSound in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official bo Lpr;bo()Ljava/lang/String;
      intermediary method_7137 Lnet/minecraft/class_1752;method_7137()Ljava/lang/String;
      named getHurtSound Lnet/minecraft/entity/LivingEntity;getHurtSound()Ljava/lang/String;
    • getDeathSound

      protected String getDeathSound()
      Overrides:
      getDeathSound in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official bp Lpr;bp()Ljava/lang/String;
      intermediary method_7138 Lnet/minecraft/class_1752;method_7138()Ljava/lang/String;
      named getDeathSound Lnet/minecraft/entity/LivingEntity;getDeathSound()Ljava/lang/String;
    • method_7179

      public boolean method_7179​(Entity entity)
      Overrides:
      method_7179 in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official r Lpr;r(Lpk;)Z
      intermediary method_7179 Lnet/minecraft/class_1752;method_7179(Lnet/minecraft/class_1745;)Z
      named method_7179 Lnet/minecraft/entity/LivingEntity;method_7179(Lnet/minecraft/entity/Entity;)Z
    • getArmorProtectionValue

      public int getArmorProtectionValue()
      Overrides:
      getArmorProtectionValue in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official br Lpr;br()I
      intermediary method_7140 Lnet/minecraft/class_1752;method_7140()I
      named getArmorProtectionValue Lnet/minecraft/entity/LivingEntity;getArmorProtectionValue()I
    • damage

      public boolean damage​(DamageSource source, float amount)
      Overrides:
      damage in class AnimalEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lpk;a(Low;F)Z
      intermediary method_6937 Lnet/minecraft/class_1745;method_6937(Lnet/minecraft/class_1733;F)Z
      named damage Lnet/minecraft/entity/Entity;damage(Lnet/minecraft/entity/damage/DamageSource;F)Z
    • method_7139

      protected void method_7139()
      Overrides:
      method_7139 in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official bq Lpr;bq()V
      intermediary method_7139 Lnet/minecraft/class_1752;method_7139()V
      named method_7139 Lnet/minecraft/entity/LivingEntity;method_7139()V
    • method_7106

      protected void method_7106​(boolean bool, int int2)
      Overrides:
      method_7106 in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official b Lpr;b(ZI)V
      intermediary method_7106 Lnet/minecraft/class_1752;method_7106(ZI)V
      named method_7106 Lnet/minecraft/entity/LivingEntity;method_7106(ZI)V
    • method_7607

      private boolean method_7607​(Item item)
      Mappings:
      Namespace Name Mixin selector
      official a Ltu;a(Lzw;)Z
      intermediary method_7607 Lnet/minecraft/class_1856;method_7607(Lnet/minecraft/class_2054;)Z
      named method_7607 Lnet/minecraft/entity/passive/RabbitEntity;method_7607(Lnet/minecraft/item/Item;)Z
    • method_6890

      public RabbitEntity method_6890​(AgeableEntity ageableEntity)
      Specified by:
      method_6890 in class AgeableEntity
      Mappings:
      Namespace Name Mixin selector
      official b Ltu;b(Lph;)Ltu;
      intermediary method_7610 Lnet/minecraft/class_1856;method_7610(Lnet/minecraft/class_1743;)Lnet/minecraft/class_1856;
      named method_6890 Lnet/minecraft/entity/passive/RabbitEntity;method_6890(Lnet/minecraft/entity/passive/AgeableEntity;)Lnet/minecraft/entity/passive/RabbitEntity;
    • isBreedingItem

      public boolean isBreedingItem​(ItemStack stack)
      Overrides:
      isBreedingItem in class AnimalEntity
      Mappings:
      Namespace Name Mixin selector
      official d Ltm;d(Lzx;)Z
      intermediary method_7518 Lnet/minecraft/class_1847;method_7518(Lnet/minecraft/class_2056;)Z
      named isBreedingItem Lnet/minecraft/entity/passive/AnimalEntity;isBreedingItem(Lnet/minecraft/item/ItemStack;)Z
    • getRabbitType

      public int getRabbitType()
      Mappings:
      Namespace Name Mixin selector
      official cn Ltu;cn()I
      intermediary method_7614 Lnet/minecraft/class_1856;method_7614()I
      named getRabbitType Lnet/minecraft/entity/passive/RabbitEntity;getRabbitType()I
    • setRabbitType

      public void setRabbitType​(int type)
      Mappings:
      Namespace Name Mixin selector
      official r Ltu;r(I)V
      intermediary method_7623 Lnet/minecraft/class_1856;method_7623(I)V
      named setRabbitType Lnet/minecraft/entity/passive/RabbitEntity;setRabbitType(I)V
    • method_7191

      public EntityData method_7191​(LocalDifficulty difficulty, EntityData data)
      Overrides:
      method_7191 in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lps;a(Lok;Lpu;)Lpu;
      intermediary method_7191 Lnet/minecraft/class_1753;method_7191(Lnet/minecraft/class_1722;Lnet/minecraft/class_1756;)Lnet/minecraft/class_1756;
      named method_7191 Lnet/minecraft/entity/mob/MobEntity;method_7191(Lnet/minecraft/world/LocalDifficulty;Lnet/minecraft/entity/EntityData;)Lnet/minecraft/entity/EntityData;
    • wantsCarrots

      private boolean wantsCarrots()
      Mappings:
      Namespace Name Mixin selector
      official cx Ltu;cx()Z
      intermediary method_7621 Lnet/minecraft/class_1856;method_7621()Z
      named wantsCarrots Lnet/minecraft/entity/passive/RabbitEntity;wantsCarrots()Z
    • method_7615

      protected int method_7615()
      Mappings:
      Namespace Name Mixin selector
      official co Ltu;co()I
      intermediary method_7615 Lnet/minecraft/class_1856;method_7615()I
      named method_7615 Lnet/minecraft/entity/passive/RabbitEntity;method_7615()I
    • method_7616

      protected void method_7616()
      Mappings:
      Namespace Name Mixin selector
      official cp Ltu;cp()V
      intermediary method_7616 Lnet/minecraft/class_1856;method_7616()V
      named method_7616 Lnet/minecraft/entity/passive/RabbitEntity;method_7616()V
    • handleStatus

      @Environment(CLIENT) public void handleStatus​(byte status)
      Overrides:
      handleStatus in class AnimalEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lpk;a(B)V
      intermediary method_6916 Lnet/minecraft/class_1745;method_6916(B)V
      named handleStatus Lnet/minecraft/entity/Entity;handleStatus(B)V