Class RabbitEntity

All Implemented Interfaces:
CommandOutput, Nameable, EntityLike

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

    • field_30356

      public static final double field_30356
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official bW Lbid;bW:D
      intermediary field_30356 Lnet/minecraft/class_1463;field_30356:D
      named field_30356 Lnet/minecraft/entity/passive/RabbitEntity;field_30356:D
    • field_30357

      public static final double field_30357
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official bX Lbid;bX:D
      intermediary field_30357 Lnet/minecraft/class_1463;field_30357:D
      named field_30357 Lnet/minecraft/entity/passive/RabbitEntity;field_30357:D
    • field_30358

      public static final double field_30358
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official bZ Lbid;bZ:D
      intermediary field_30358 Lnet/minecraft/class_1463;field_30358:D
      named field_30358 Lnet/minecraft/entity/passive/RabbitEntity;field_30358:D
    • ESCAPE_SPEED

      public static final double ESCAPE_SPEED
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official ca Lbid;ca:D
      intermediary field_30359 Lnet/minecraft/class_1463;field_30359:D
      named ESCAPE_SPEED Lnet/minecraft/entity/passive/RabbitEntity;ESCAPE_SPEED:D
    • field_30360

      public static final double field_30360
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official cb Lbid;cb:D
      intermediary field_30360 Lnet/minecraft/class_1463;field_30360:D
      named field_30360 Lnet/minecraft/entity/passive/RabbitEntity;field_30360:D
    • RABBIT_TYPE

      private static final TrackedData<Integer> RABBIT_TYPE
      Mappings:
      Namespace Name Mixin selector
      official cl Lbid;cl:Lxp;
      intermediary field_6852 Lnet/minecraft/class_1463;field_6852:Lnet/minecraft/class_2940;
      named RABBIT_TYPE Lnet/minecraft/entity/passive/RabbitEntity;RABBIT_TYPE:Lnet/minecraft/entity/data/TrackedData;
    • BROWN_TYPE

      public static final int BROWN_TYPE
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official cc Lbid;cc:I
      intermediary field_30361 Lnet/minecraft/class_1463;field_30361:I
      named BROWN_TYPE Lnet/minecraft/entity/passive/RabbitEntity;BROWN_TYPE:I
    • WHITE_TYPE

      public static final int WHITE_TYPE
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official cd Lbid;cd:I
      intermediary field_30362 Lnet/minecraft/class_1463;field_30362:I
      named WHITE_TYPE Lnet/minecraft/entity/passive/RabbitEntity;WHITE_TYPE:I
    • BLACK_TYPE

      public static final int BLACK_TYPE
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official ce Lbid;ce:I
      intermediary field_30363 Lnet/minecraft/class_1463;field_30363:I
      named BLACK_TYPE Lnet/minecraft/entity/passive/RabbitEntity;BLACK_TYPE:I
    • WHITE_SPOTTED_TYPE

      public static final int WHITE_SPOTTED_TYPE
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official cf Lbid;cf:I
      intermediary field_30364 Lnet/minecraft/class_1463;field_30364:I
      named WHITE_SPOTTED_TYPE Lnet/minecraft/entity/passive/RabbitEntity;WHITE_SPOTTED_TYPE:I
    • GOLD_TYPE

      public static final int GOLD_TYPE
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official cg Lbid;cg:I
      intermediary field_30365 Lnet/minecraft/class_1463;field_30365:I
      named GOLD_TYPE Lnet/minecraft/entity/passive/RabbitEntity;GOLD_TYPE:I
    • SALT_TYPE

      public static final int SALT_TYPE
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official ch Lbid;ch:I
      intermediary field_30366 Lnet/minecraft/class_1463;field_30366:I
      named SALT_TYPE Lnet/minecraft/entity/passive/RabbitEntity;SALT_TYPE:I
    • KILLER_BUNNY_TYPE

      public static final int KILLER_BUNNY_TYPE
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official ci Lbid;ci:I
      intermediary field_30367 Lnet/minecraft/class_1463;field_30367:I
      named KILLER_BUNNY_TYPE Lnet/minecraft/entity/passive/RabbitEntity;KILLER_BUNNY_TYPE:I
    • KILLER_BUNNY

      private static final Identifier KILLER_BUNNY
      Mappings:
      Namespace Name Mixin selector
      official cm Lbid;cm:Lyh;
      intermediary field_6846 Lnet/minecraft/class_1463;field_6846:Lnet/minecraft/class_2960;
      named KILLER_BUNNY Lnet/minecraft/entity/passive/RabbitEntity;KILLER_BUNNY:Lnet/minecraft/util/Identifier;
    • field_30368

      public static final int field_30368
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official cj Lbid;cj:I
      intermediary field_30368 Lnet/minecraft/class_1463;field_30368:I
      named field_30368 Lnet/minecraft/entity/passive/RabbitEntity;field_30368:I
    • field_30369

      public static final int field_30369
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official ck Lbid;ck:I
      intermediary field_30369 Lnet/minecraft/class_1463;field_30369:I
      named field_30369 Lnet/minecraft/entity/passive/RabbitEntity;field_30369:I
    • field_30370

      private static final int field_30370
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official cn Lbid;cn:I
      intermediary field_30370 Lnet/minecraft/class_1463;field_30370:I
      named field_30370 Lnet/minecraft/entity/passive/RabbitEntity;field_30370:I
    • jumpTicks

      private int jumpTicks
      Mappings:
      Namespace Name Mixin selector
      official co Lbid;co:I
      intermediary field_6851 Lnet/minecraft/class_1463;field_6851:I
      named jumpTicks Lnet/minecraft/entity/passive/RabbitEntity;jumpTicks:I
    • jumpDuration

      private int jumpDuration
      Mappings:
      Namespace Name Mixin selector
      official cp Lbid;cp:I
      intermediary field_6849 Lnet/minecraft/class_1463;field_6849:I
      named jumpDuration Lnet/minecraft/entity/passive/RabbitEntity;jumpDuration:I
    • lastOnGround

      private boolean lastOnGround
      Mappings:
      Namespace Name Mixin selector
      official cq Lbid;cq:Z
      intermediary field_6850 Lnet/minecraft/class_1463;field_6850:Z
      named lastOnGround Lnet/minecraft/entity/passive/RabbitEntity;lastOnGround:Z
    • ticksUntilJump

      private int ticksUntilJump
      Mappings:
      Namespace Name Mixin selector
      official cr Lbid;cr:I
      intermediary field_6848 Lnet/minecraft/class_1463;field_6848:I
      named ticksUntilJump Lnet/minecraft/entity/passive/RabbitEntity;ticksUntilJump:I
    • moreCarrotTicks

      int moreCarrotTicks
      Mappings:
      Namespace Name Mixin selector
      official cs Lbid;cs:I
      intermediary field_6847 Lnet/minecraft/class_1463;field_6847:I
      named moreCarrotTicks Lnet/minecraft/entity/passive/RabbitEntity;moreCarrotTicks:I
  • Constructor Details

    • RabbitEntity

      public RabbitEntity(EntityType<? extends RabbitEntity> type, World world)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lawt;<init>(Lawx;Lcad;)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

    • initGoals

      protected void initGoals()
      Overrides:
      initGoals in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official u Laxj;u()V
      intermediary method_5959 Lnet/minecraft/class_1308;method_5959()V
      named initGoals Lnet/minecraft/entity/mob/MobEntity;initGoals()V
    • getJumpVelocity

      protected float getJumpVelocity()
      Overrides:
      getJumpVelocity in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official ex Laxh;ex()F
      intermediary method_6106 Lnet/minecraft/class_1309;method_6106()F
      named getJumpVelocity Lnet/minecraft/entity/LivingEntity;getJumpVelocity()F
    • jump

      protected void jump()
      Overrides:
      jump in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official ez Laxh;ez()V
      intermediary method_6043 Lnet/minecraft/class_1309;method_6043()V
      named jump Lnet/minecraft/entity/LivingEntity;jump()V
    • getJumpProgress

      public float getJumpProgress(float delta)
      Mappings:
      Namespace Name Mixin selector
      official z Lbid;z(F)F
      intermediary method_6605 Lnet/minecraft/class_1463;method_6605(F)F
      named getJumpProgress Lnet/minecraft/entity/passive/RabbitEntity;getJumpProgress(F)F
    • setSpeed

      public void setSpeed(double speed)
      Mappings:
      Namespace Name Mixin selector
      official i Lbid;i(D)V
      intermediary method_6606 Lnet/minecraft/class_1463;method_6606(D)V
      named setSpeed Lnet/minecraft/entity/passive/RabbitEntity;setSpeed(D)V
    • setJumping

      public void setJumping(boolean jumping)
      Overrides:
      setJumping in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official q Laxh;q(Z)V
      intermediary method_6100 Lnet/minecraft/class_1309;method_6100(Z)V
      named setJumping Lnet/minecraft/entity/LivingEntity;setJumping(Z)V
    • startJump

      public void startJump()
      Mappings:
      Namespace Name Mixin selector
      official q Lbid;q()V
      intermediary method_6618 Lnet/minecraft/class_1463;method_6618()V
      named startJump Lnet/minecraft/entity/passive/RabbitEntity;startJump()V
    • initDataTracker

      protected void initDataTracker()
      Overrides:
      initDataTracker in class PassiveEntity
      Mappings:
      Namespace Name Mixin selector
      official a_ Lawt;a_()V
      intermediary method_5693 Lnet/minecraft/class_1297;method_5693()V
      named initDataTracker Lnet/minecraft/entity/Entity;initDataTracker()V
    • mobTick

      public void mobTick()
      Overrides:
      mobTick in class AnimalEntity
      Mappings:
      Namespace Name Mixin selector
      official R Laxj;R()V
      intermediary method_5958 Lnet/minecraft/class_1308;method_5958()V
      named mobTick Lnet/minecraft/entity/mob/MobEntity;mobTick()V
    • shouldSpawnSprintingParticles

      public boolean shouldSpawnSprintingParticles()
      Overrides:
      shouldSpawnSprintingParticles in class Entity
      Mappings:
      Namespace Name Mixin selector
      official ba Lawt;ba()Z
      intermediary method_27298 Lnet/minecraft/class_1297;method_27298()Z
      named shouldSpawnSprintingParticles Lnet/minecraft/entity/Entity;shouldSpawnSprintingParticles()Z
    • lookTowards

      private void lookTowards(double x, double z)
      Mappings:
      Namespace Name Mixin selector
      official b Lbid;b(DD)V
      intermediary method_6616 Lnet/minecraft/class_1463;method_6616(DD)V
      named lookTowards Lnet/minecraft/entity/passive/RabbitEntity;lookTowards(DD)V
    • enableJump

      private void enableJump()
      Mappings:
      Namespace Name Mixin selector
      official fA Lbid;fA()V
      intermediary method_6611 Lnet/minecraft/class_1463;method_6611()V
      named enableJump Lnet/minecraft/entity/passive/RabbitEntity;enableJump()V
    • disableJump

      private void disableJump()
      Mappings:
      Namespace Name Mixin selector
      official fG Lbid;fG()V
      intermediary method_6621 Lnet/minecraft/class_1463;method_6621()V
      named disableJump Lnet/minecraft/entity/passive/RabbitEntity;disableJump()V
    • doScheduleJump

      private void doScheduleJump()
      Mappings:
      Namespace Name Mixin selector
      official fH Lbid;fH()V
      intermediary method_6608 Lnet/minecraft/class_1463;method_6608()V
      named doScheduleJump Lnet/minecraft/entity/passive/RabbitEntity;doScheduleJump()V
    • scheduleJump

      private void scheduleJump()
      Mappings:
      Namespace Name Mixin selector
      official fI Lbid;fI()V
      intermediary method_6619 Lnet/minecraft/class_1463;method_6619()V
      named scheduleJump Lnet/minecraft/entity/passive/RabbitEntity;scheduleJump()V
    • tickMovement

      public void tickMovement()
      Overrides:
      tickMovement in class AnimalEntity
      Mappings:
      Namespace Name Mixin selector
      official w_ Laxh;w_()V
      intermediary method_6007 Lnet/minecraft/class_1309;method_6007()V
      named tickMovement Lnet/minecraft/entity/LivingEntity;tickMovement()V
    • createRabbitAttributes

      public static DefaultAttributeContainer.Builder createRabbitAttributes()
      Mappings:
      Namespace Name Mixin selector
      official t Lbid;t()Layh$a;
      intermediary method_26892 Lnet/minecraft/class_1463;method_26892()Lnet/minecraft/class_5132$class_5133;
      named createRabbitAttributes Lnet/minecraft/entity/passive/RabbitEntity;createRabbitAttributes()Lnet/minecraft/entity/attribute/DefaultAttributeContainer$Builder;
    • writeCustomDataToNbt

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

      protected SoundEvent getJumpSound()
      Mappings:
      Namespace Name Mixin selector
      official fy Lbid;fy()Lagu;
      intermediary method_6615 Lnet/minecraft/class_1463;method_6615()Lnet/minecraft/class_3414;
      named getJumpSound Lnet/minecraft/entity/passive/RabbitEntity;getJumpSound()Lnet/minecraft/sound/SoundEvent;
    • getAmbientSound

      protected SoundEvent getAmbientSound()
      Overrides:
      getAmbientSound in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official r Laxj;r()Lagu;
      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;
    • getHurtSound

      protected SoundEvent getHurtSound(DamageSource source)
      Overrides:
      getHurtSound in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official c Laxh;c(Lawd;)Lagu;
      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;
    • getDeathSound

      protected SoundEvent getDeathSound()
      Overrides:
      getDeathSound in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official x_ Laxh;x_()Lagu;
      intermediary method_6002 Lnet/minecraft/class_1309;method_6002()Lnet/minecraft/class_3414;
      named getDeathSound Lnet/minecraft/entity/LivingEntity;getDeathSound()Lnet/minecraft/sound/SoundEvent;
    • tryAttack

      public boolean tryAttack(Entity target)
      Overrides:
      tryAttack in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official z Laxh;z(Lawt;)Z
      intermediary method_6121 Lnet/minecraft/class_1309;method_6121(Lnet/minecraft/class_1297;)Z
      named tryAttack Lnet/minecraft/entity/LivingEntity;tryAttack(Lnet/minecraft/entity/Entity;)Z
    • getSoundCategory

      public SoundCategory getSoundCategory()
      Overrides:
      getSoundCategory in class Entity
      Mappings:
      Namespace Name Mixin selector
      official cO Lawt;cO()Lagw;
      intermediary method_5634 Lnet/minecraft/class_1297;method_5634()Lnet/minecraft/class_3419;
      named getSoundCategory Lnet/minecraft/entity/Entity;getSoundCategory()Lnet/minecraft/sound/SoundCategory;
    • isTempting

      private static boolean isTempting(ItemStack stack)
      Mappings:
      Namespace Name Mixin selector
      official m Lbid;m(Lbue;)Z
      intermediary method_6614 Lnet/minecraft/class_1463;method_6614(Lnet/minecraft/class_1799;)Z
      named isTempting Lnet/minecraft/entity/passive/RabbitEntity;isTempting(Lnet/minecraft/item/ItemStack;)Z
    • createChild

      public RabbitEntity createChild(ServerWorld serverWorld, PassiveEntity passiveEntity)
      Specified by:
      createChild in class PassiveEntity
      Mappings:
      Namespace Name Mixin selector
      official b Lbid;b(Ladi;Lawr;)Lbid;
      intermediary method_6620 Lnet/minecraft/class_1463;method_6620(Lnet/minecraft/class_3218;Lnet/minecraft/class_1296;)Lnet/minecraft/class_1463;
      named createChild Lnet/minecraft/entity/passive/RabbitEntity;createChild(Lnet/minecraft/server/world/ServerWorld;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 n Lbhl;n(Lbue;)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
    • getRabbitType

      public int getRabbitType()
      Mappings:
      Namespace Name Mixin selector
      official fz Lbid;fz()I
      intermediary method_6610 Lnet/minecraft/class_1463;method_6610()I
      named getRabbitType Lnet/minecraft/entity/passive/RabbitEntity;getRabbitType()I
    • setRabbitType

      public void setRabbitType(int rabbitType)
      Mappings:
      Namespace Name Mixin selector
      official t Lbid;t(I)V
      intermediary method_6617 Lnet/minecraft/class_1463;method_6617(I)V
      named setRabbitType Lnet/minecraft/entity/passive/RabbitEntity;setRabbitType(I)V
    • initialize

      @Nullable public @Nullable EntityData initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable @Nullable EntityData entityData, @Nullable @Nullable NbtCompound entityNbt)
      Overrides:
      initialize in class PassiveEntity
      Mappings:
      Namespace Name Mixin selector
      official a Laxj;a(Lcas;Lavo;Laxl;Laxz;Loc;)Laxz;
      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/NbtCompound;)Lnet/minecraft/entity/EntityData;
    • chooseType

      private int chooseType(WorldAccess world)
      Mappings:
      Namespace Name Mixin selector
      official a Lbid;a(Lcae;)I
      intermediary method_6622 Lnet/minecraft/class_1463;method_6622(Lnet/minecraft/class_1936;)I
      named chooseType Lnet/minecraft/entity/passive/RabbitEntity;chooseType(Lnet/minecraft/world/WorldAccess;)I
    • canSpawn

      public static boolean canSpawn(EntityType<RabbitEntity> entity, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random)
      Mappings:
      Namespace Name Mixin selector
      official c Lbid;c(Lawx;Lcae;Laxl;Lgh;Ljava/util/Random;)Z
      intermediary method_20669 Lnet/minecraft/class_1463;method_20669(Lnet/minecraft/class_1299;Lnet/minecraft/class_1936;Lnet/minecraft/class_3730;Lnet/minecraft/class_2338;Ljava/util/Random;)Z
      named canSpawn Lnet/minecraft/entity/passive/RabbitEntity;canSpawn(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/WorldAccess;Lnet/minecraft/entity/SpawnReason;Lnet/minecraft/util/math/BlockPos;Ljava/util/Random;)Z
    • wantsCarrots

      boolean wantsCarrots()
      Mappings:
      Namespace Name Mixin selector
      official fJ Lbid;fJ()Z
      intermediary method_6607 Lnet/minecraft/class_1463;method_6607()Z
      named wantsCarrots Lnet/minecraft/entity/passive/RabbitEntity;wantsCarrots()Z
    • handleStatus

      public void handleStatus(byte status)
      Overrides:
      handleStatus in class AnimalEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lawt;a(B)V
      intermediary method_5711 Lnet/minecraft/class_1297;method_5711(B)V
      named handleStatus Lnet/minecraft/entity/Entity;handleStatus(B)V
    • getLeashOffset

      public Vec3d getLeashOffset()
      Overrides:
      getLeashOffset in class Entity
      Mappings:
      Namespace Name Mixin selector
      official cz Lawt;cz()Ldom;
      intermediary method_29919 Lnet/minecraft/class_1297;method_29919()Lnet/minecraft/class_243;
      named getLeashOffset Lnet/minecraft/entity/Entity;getLeashOffset()Lnet/minecraft/util/math/Vec3d;