Class RabbitEntity

All Implemented Interfaces:
CommandSource, EntityCategoryProvider

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

    • field_11977

      private class_2626 field_11977
      Mappings:
      Namespace Name Mixin selector
      official bk Lacb;bk:Lacf;
      intermediary field_11977 Lnet/minecraft/class_2623;field_11977:Lnet/minecraft/class_2626;
      named field_11977 Lnet/minecraft/entity/passive/RabbitEntity;field_11977:Lnet/minecraft/class_2626;
    • jumpTicks

      private int jumpTicks
      Mappings:
      Namespace Name Mixin selector
      official bm Lacb;bm:I
      intermediary field_11978 Lnet/minecraft/class_2623;field_11978:I
      named jumpTicks Lnet/minecraft/entity/passive/RabbitEntity;jumpTicks:I
    • jumpDuration

      private int jumpDuration
      Mappings:
      Namespace Name Mixin selector
      official bn Lacb;bn:I
      intermediary field_11979 Lnet/minecraft/class_2623;field_11979:I
      named jumpDuration Lnet/minecraft/entity/passive/RabbitEntity;jumpDuration:I
    • field_11980

      private boolean field_11980
      Mappings:
      Namespace Name Mixin selector
      official bo Lacb;bo:Z
      intermediary field_11980 Lnet/minecraft/class_2623;field_11980:Z
      named field_11980 Lnet/minecraft/entity/passive/RabbitEntity;field_11980:Z
    • lastOnGround

      private boolean lastOnGround
      Mappings:
      Namespace Name Mixin selector
      official bp Lacb;bp:Z
      intermediary field_11981 Lnet/minecraft/class_2623;field_11981:Z
      named lastOnGround Lnet/minecraft/entity/passive/RabbitEntity;lastOnGround:Z
    • ticksUntilJump

      private int ticksUntilJump
      Mappings:
      Namespace Name Mixin selector
      official bq Lacb;bq:I
      intermediary field_11982 Lnet/minecraft/class_2623;field_11982:I
      named ticksUntilJump Lnet/minecraft/entity/passive/RabbitEntity;ticksUntilJump:I
    • field_11983

      private class_2625 field_11983
      Mappings:
      Namespace Name Mixin selector
      official br Lacb;br:Lace;
      intermediary field_11983 Lnet/minecraft/class_2623;field_11983:Lnet/minecraft/class_2625;
      named field_11983 Lnet/minecraft/entity/passive/RabbitEntity;field_11983:Lnet/minecraft/class_2625;
    • moreCarrotTicks

      private int moreCarrotTicks
      Mappings:
      Namespace Name Mixin selector
      official bs Lacb;bs:I
      intermediary field_11984 Lnet/minecraft/class_2623;field_11984:I
      named moreCarrotTicks Lnet/minecraft/entity/passive/RabbitEntity;moreCarrotTicks:I
    • field_11985

      private PlayerEntity field_11985
      Mappings:
      Namespace Name Mixin selector
      official bt Lacb;bt:Lahd;
      intermediary field_11985 Lnet/minecraft/class_2623;field_11985:Lnet/minecraft/class_988;
      named field_11985 Lnet/minecraft/entity/passive/RabbitEntity;field_11985:Lnet/minecraft/entity/player/PlayerEntity;
  • Constructor Details

    • RabbitEntity

      public RabbitEntity(World world)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lwv;<init>(Laqu;)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

    • getJumpVelocity

      protected float getJumpVelocity()
      Overrides:
      getJumpVelocity in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official bD Lxm;bD()F
      intermediary method_10978 Lnet/minecraft/class_1699;method_10978()F
      named getJumpVelocity Lnet/minecraft/entity/LivingEntity;getJumpVelocity()F
    • method_11074

      public void method_11074(class_2625 class_2625)
      Mappings:
      Namespace Name Mixin selector
      official a Lacb;a(Lace;)V
      intermediary method_11074 Lnet/minecraft/class_2623;method_11074(Lnet/minecraft/class_2625;)V
      named method_11074 Lnet/minecraft/entity/passive/RabbitEntity;method_11074(Lnet/minecraft/class_2625;)V
    • getJumpProgress

      @Environment(CLIENT) public float getJumpProgress(float delta)
      Mappings:
      Namespace Name Mixin selector
      official o Lacb;o(F)F
      intermediary method_11091 Lnet/minecraft/class_2623;method_11091(F)F
      named getJumpProgress Lnet/minecraft/entity/passive/RabbitEntity;getJumpProgress(F)F
    • setSpeed

      public void setSpeed(double speed)
      Mappings:
      Namespace Name Mixin selector
      official b Lacb;b(D)V
      intermediary method_11078 Lnet/minecraft/class_2623;method_11078(D)V
      named setSpeed Lnet/minecraft/entity/passive/RabbitEntity;setSpeed(D)V
    • method_11077

      public void method_11077(boolean bool, class_2625 class_2625)
      Mappings:
      Namespace Name Mixin selector
      official a Lacb;a(ZLace;)V
      intermediary method_11077 Lnet/minecraft/class_2623;method_11077(ZLnet/minecraft/class_2625;)V
      named method_11077 Lnet/minecraft/entity/passive/RabbitEntity;method_11077(ZLnet/minecraft/class_2625;)V
    • method_11080

      public void method_11080(class_2625 class_2625)
      Mappings:
      Namespace Name Mixin selector
      official b Lacb;b(Lace;)V
      intermediary method_11080 Lnet/minecraft/class_2623;method_11080(Lnet/minecraft/class_2625;)V
      named method_11080 Lnet/minecraft/entity/passive/RabbitEntity;method_11080(Lnet/minecraft/class_2625;)V
    • method_11081

      public boolean method_11081()
      Mappings:
      Namespace Name Mixin selector
      official cj Lacb;cj()Z
      intermediary method_11081 Lnet/minecraft/class_2623;method_11081()Z
      named method_11081 Lnet/minecraft/entity/passive/RabbitEntity;method_11081()Z
    • initDataTracker

      protected void initDataTracker()
      Overrides:
      initDataTracker in class PassiveEntity
      Mappings:
      Namespace Name Mixin selector
      official h Lwv;h()V
      intermediary method_2484 Lnet/minecraft/class_864;method_2484()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 Lxn;E()V
      intermediary method_2633 Lnet/minecraft/class_871;method_2633()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 Lwv;Y()V
      intermediary method_10929 Lnet/minecraft/class_864;method_10929()V
      named attemptSprintingParticles Lnet/minecraft/entity/Entity;attemptSprintingParticles()V
    • lookTowards

      private void lookTowards(double x, double z)
      Mappings:
      Namespace Name Mixin selector
      official a Lacb;a(DD)V
      intermediary method_11073 Lnet/minecraft/class_2623;method_11073(DD)V
      named lookTowards Lnet/minecraft/entity/passive/RabbitEntity;lookTowards(DD)V
    • method_11086

      private void method_11086()
      Mappings:
      Namespace Name Mixin selector
      official cr Lacb;cr()V
      intermediary method_11086 Lnet/minecraft/class_2623;method_11086()V
      named method_11086 Lnet/minecraft/entity/passive/RabbitEntity;method_11086()V
    • method_11087

      private void method_11087()
      Mappings:
      Namespace Name Mixin selector
      official cs Lacb;cs()V
      intermediary method_11087 Lnet/minecraft/class_2623;method_11087()V
      named method_11087 Lnet/minecraft/entity/passive/RabbitEntity;method_11087()V
    • method_11088

      private void method_11088()
      Mappings:
      Namespace Name Mixin selector
      official ct Lacb;ct()V
      intermediary method_11088 Lnet/minecraft/class_2623;method_11088()V
      named method_11088 Lnet/minecraft/entity/passive/RabbitEntity;method_11088()V
    • method_11089

      private void method_11089()
      Mappings:
      Namespace Name Mixin selector
      official cu Lacb;cu()V
      intermediary method_11089 Lnet/minecraft/class_2623;method_11089()V
      named method_11089 Lnet/minecraft/entity/passive/RabbitEntity;method_11089()V
    • tickMovement

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

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

      public void writeCustomDataToNbt(NbtCompound nbt)
      Overrides:
      writeCustomDataToNbt in class AnimalEntity
      Mappings:
      Namespace Name Mixin selector
      official b Lwv;b(Lfn;)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 AnimalEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lwv;a(Lfn;)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
    • getHopSound

      protected String getHopSound()
      Mappings:
      Namespace Name Mixin selector
      official ck Lacb;ck()Ljava/lang/String;
      intermediary method_11082 Lnet/minecraft/class_2623;method_11082()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 Lxn;z()Ljava/lang/String;
      intermediary method_2603 Lnet/minecraft/class_871;method_2603()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 bn Lxm;bn()Ljava/lang/String;
      intermediary method_2604 Lnet/minecraft/class_1699;method_2604()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 bo Lxm;bo()Ljava/lang/String;
      intermediary method_2605 Lnet/minecraft/class_1699;method_2605()Ljava/lang/String;
      named getDeathSound Lnet/minecraft/entity/LivingEntity;getDeathSound()Ljava/lang/String;
    • tryAttack

      public boolean tryAttack(Entity target)
      Overrides:
      tryAttack in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official r Lxm;r(Lwv;)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
    • getArmorProtectionValue

      public int getArmorProtectionValue()
      Overrides:
      getArmorProtectionValue in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official bq Lxm;bq()I
      intermediary method_2601 Lnet/minecraft/class_1699;method_2601()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 Lwv;a(Lwh;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_4473

      protected void method_4473()
      Overrides:
      method_4473 in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official bp Lxm;bp()V
      intermediary method_4473 Lnet/minecraft/class_1699;method_4473()V
      named method_4473 Lnet/minecraft/entity/LivingEntity;method_4473()V
    • dropLoot

      protected void dropLoot(boolean allowDrops, int lootingMultiplier)
      Overrides:
      dropLoot in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official b Lxm;b(ZI)V
      intermediary method_2587 Lnet/minecraft/class_1699;method_2587(ZI)V
      named dropLoot Lnet/minecraft/entity/LivingEntity;dropLoot(ZI)V
    • method_11076

      private boolean method_11076(Item item)
      Mappings:
      Namespace Name Mixin selector
      official a Lacb;a(Lalq;)Z
      intermediary method_11076 Lnet/minecraft/class_2623;method_11076(Lnet/minecraft/class_1069;)Z
      named method_11076 Lnet/minecraft/entity/passive/RabbitEntity;method_11076(Lnet/minecraft/item/Item;)Z
    • breed

      public RabbitEntity breed(PassiveEntity passiveEntity)
      Specified by:
      breed in class PassiveEntity
      Mappings:
      Namespace Name Mixin selector
      official b Lacb;b(Lws;)Lacb;
      intermediary method_11079 Lnet/minecraft/class_2623;method_11079(Lnet/minecraft/class_862;)Lnet/minecraft/class_2623;
      named breed Lnet/minecraft/entity/passive/RabbitEntity;breed(Lnet/minecraft/entity/passive/PassiveEntity;)Lnet/minecraft/entity/passive/RabbitEntity;
    • isBreedingItem

      public boolean isBreedingItem(ItemStack stack)
      Overrides:
      isBreedingItem in class AnimalEntity
      Mappings:
      Namespace Name Mixin selector
      official d Labq;d(Lamj;)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
    • getRabbitType

      public int getRabbitType()
      Mappings:
      Namespace Name Mixin selector
      official cl Lacb;cl()I
      intermediary method_11083 Lnet/minecraft/class_2623;method_11083()I
      named getRabbitType Lnet/minecraft/entity/passive/RabbitEntity;getRabbitType()I
    • setRabbitType

      public void setRabbitType(int type)
      Mappings:
      Namespace Name Mixin selector
      official r Lacb;r(I)V
      intermediary method_11092 Lnet/minecraft/class_2623;method_11092(I)V
      named setRabbitType Lnet/minecraft/entity/passive/RabbitEntity;setRabbitType(I)V
    • initialize

      public EntityData initialize(LocalDifficulty difficulty, EntityData data)
      Overrides:
      initialize in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lxn;a(Lvu;Lxq;)Lxq;
      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;
    • wantsCarrots

      private boolean wantsCarrots()
      Mappings:
      Namespace Name Mixin selector
      official cv Lacb;cv()Z
      intermediary method_11090 Lnet/minecraft/class_2623;method_11090()Z
      named wantsCarrots Lnet/minecraft/entity/passive/RabbitEntity;wantsCarrots()Z
    • method_11084

      protected int method_11084()
      Mappings:
      Namespace Name Mixin selector
      official cm Lacb;cm()I
      intermediary method_11084 Lnet/minecraft/class_2623;method_11084()I
      named method_11084 Lnet/minecraft/entity/passive/RabbitEntity;method_11084()I
    • method_11085

      protected void method_11085()
      Mappings:
      Namespace Name Mixin selector
      official cn Lacb;cn()V
      intermediary method_11085 Lnet/minecraft/class_2623;method_11085()V
      named method_11085 Lnet/minecraft/entity/passive/RabbitEntity;method_11085()V
    • handleStatus

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