Class OcelotEntity

All Implemented Interfaces:
CommandSource, EntityCategoryProvider, Tameable

public class OcelotEntity extends TameableEntity
Mappings:
Namespace Name
official xb
intermediary net/minecraft/class_947
named net/minecraft/entity/passive/OcelotEntity
  • Field Details

    • field_14612

      private static final TrackedData<Integer> field_14612
      Mappings:
      Namespace Name Mixin selector
      official bA Lxb;bA:Lkk;
      intermediary field_14612 Lnet/minecraft/class_947;field_14612:Lnet/minecraft/class_2921;
      named field_14612 Lnet/minecraft/entity/passive/OcelotEntity;field_14612:Lnet/minecraft/entity/data/TrackedData;
    • field_11976

      private FleeEntityGoal<PlayerEntity> field_11976
      Mappings:
      Namespace Name Mixin selector
      official bB Lxb;bB:Lty;
      intermediary field_11976 Lnet/minecraft/class_947;field_11976:Lnet/minecraft/class_886;
      named field_11976 Lnet/minecraft/entity/passive/OcelotEntity;field_11976:Lnet/minecraft/entity/ai/goal/FleeEntityGoal;
    • field_3705

      private TemptGoal field_3705
      Mappings:
      Namespace Name Mixin selector
      official bC Lxb;bC:Lvo;
      intermediary field_3705 Lnet/minecraft/class_947;field_3705:Lnet/minecraft/class_923;
      named field_3705 Lnet/minecraft/entity/passive/OcelotEntity;field_3705:Lnet/minecraft/entity/ai/goal/TemptGoal;
  • Constructor Details

    • OcelotEntity

      public OcelotEntity(World world)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lsn;<init>(Lajs;)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

    • initGoals

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

      protected void initDataTracker()
      Overrides:
      initDataTracker in class TameableEntity
      Mappings:
      Namespace Name Mixin selector
      official i Lsn;i()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 M Lsx;M()V
      intermediary method_2633 Lnet/minecraft/class_871;method_2633()V
      named mobTick Lnet/minecraft/entity/mob/MobEntity;mobTick()V
    • canImmediatelyDespawn

      protected boolean canImmediatelyDespawn()
      Overrides:
      canImmediatelyDespawn in class AnimalEntity
      Mappings:
      Namespace Name Mixin selector
      official K Lsx;K()Z
      intermediary method_2631 Lnet/minecraft/class_871;method_2631()Z
      named canImmediatelyDespawn Lnet/minecraft/entity/mob/MobEntity;canImmediatelyDespawn()Z
    • initializeAttributes

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

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

      public static void method_13503(class_2934 class_2934)
      Mappings:
      Namespace Name Mixin selector
      official a Lxb;a(Lph;)V
      intermediary method_13503 Lnet/minecraft/class_947;method_13503(Lnet/minecraft/class_2934;)V
      named method_13503 Lnet/minecraft/entity/passive/OcelotEntity;method_13503(Lnet/minecraft/class_2934;)V
    • writeCustomDataToNbt

      public void writeCustomDataToNbt(NbtCompound nbt)
      Overrides:
      writeCustomDataToNbt in class TameableEntity
      Mappings:
      Namespace Name Mixin selector
      official b Lsn;b(Ldu;)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 Lsn;a(Ldu;)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
    • ambientSound

      @Nullable protected SoundEvent ambientSound()
      Overrides:
      ambientSound in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official G Lsx;G()Lnm;
      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_13048

      protected SoundEvent method_13048()
      Overrides:
      method_13048 in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official bW Lsw;bW()Lnm;
      intermediary method_13048 Lnet/minecraft/class_1699;method_13048()Lnet/minecraft/class_2926;
      named method_13048 Lnet/minecraft/entity/LivingEntity;method_13048()Lnet/minecraft/client/sound/SoundEvent;
    • deathSound

      protected SoundEvent deathSound()
      Overrides:
      deathSound in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official bX Lsw;bX()Lnm;
      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;
    • getSoundVolume

      protected float getSoundVolume()
      Overrides:
      getSoundVolume in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official ci Lsw;ci()F
      intermediary method_2602 Lnet/minecraft/class_1699;method_2602()F
      named getSoundVolume Lnet/minecraft/entity/LivingEntity;getSoundVolume()F
    • tryAttack

      public boolean tryAttack(Entity target)
      Overrides:
      tryAttack in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official B Lsw;B(Lsn;)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
    • damage

      public boolean damage(DamageSource source, float amount)
      Overrides:
      damage in class AnimalEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lsn;a(Lry;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
    • getLootTableId

      @Nullable protected Identifier getLootTableId()
      Overrides:
      getLootTableId in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official J Lsx;J()Lkq;
      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;
    • interactMob

      public boolean interactMob(PlayerEntity playerEntity, Hand hand)
      Overrides:
      interactMob in class AnimalEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lsx;a(Laay;Lri;)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
    • breed

      public OcelotEntity breed(PassiveEntity passiveEntity)
      Specified by:
      breed in class PassiveEntity
      Mappings:
      Namespace Name Mixin selector
      official b Lxb;b(Lsk;)Lxb;
      intermediary method_4521 Lnet/minecraft/class_947;method_4521(Lnet/minecraft/class_862;)Lnet/minecraft/class_947;
      named breed Lnet/minecraft/entity/passive/OcelotEntity;breed(Lnet/minecraft/entity/passive/PassiveEntity;)Lnet/minecraft/entity/passive/OcelotEntity;
    • isBreedingItem

      public boolean isBreedingItem(ItemStack stack)
      Overrides:
      isBreedingItem in class AnimalEntity
      Mappings:
      Namespace Name Mixin selector
      official e Lww;e(Lafj;)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
    • canBreedWith

      public boolean canBreedWith(AnimalEntity other)
      Overrides:
      canBreedWith in class AnimalEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lww;a(Lww;)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
    • getCatVariant

      public int getCatVariant()
      Mappings:
      Namespace Name Mixin selector
      official dp Lxb;dp()I
      intermediary method_2858 Lnet/minecraft/class_947;method_2858()I
      named getCatVariant Lnet/minecraft/entity/passive/OcelotEntity;getCatVariant()I
    • setCatVariant

      public void setCatVariant(int variant)
      Mappings:
      Namespace Name Mixin selector
      official g Lxb;g(I)V
      intermediary method_2857 Lnet/minecraft/class_947;method_2857(I)V
      named setCatVariant Lnet/minecraft/entity/passive/OcelotEntity;setCatVariant(I)V
    • canSpawn

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

      public boolean method_2469()
      Overrides:
      method_2469 in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official cN Lsx;cN()Z
      intermediary method_2469 Lnet/minecraft/class_871;method_2469()Z
      named method_2469 Lnet/minecraft/entity/mob/MobEntity;method_2469()Z
    • getTranslatedName

      public String getTranslatedName()
      Specified by:
      getTranslatedName in interface CommandSource
      Overrides:
      getTranslatedName in class Entity
      Mappings:
      Namespace Name Mixin selector
      official method_2518 Lsn;method_2518()Ljava/lang/String;
      intermediary method_2518 Lnet/minecraft/class_864;method_2518()Ljava/lang/String;
      named getTranslatedName Lnet/minecraft/entity/Entity;getTranslatedName()Ljava/lang/String;
    • onTamedChanged

      protected void onTamedChanged()
      Overrides:
      onTamedChanged in class TameableEntity
      Mappings:
      Namespace Name Mixin selector
      official di Lti;di()V
      intermediary method_10993 Lnet/minecraft/class_880;method_10993()V
      named onTamedChanged Lnet/minecraft/entity/passive/TameableEntity;onTamedChanged()V
    • initialize

      @Nullable public EntityData initialize(LocalDifficulty difficulty, @Nullable EntityData data)
      Overrides:
      initialize in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lsx;a(Lrh;Lsz;)Lsz;
      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;