Class OcelotEntity

All Implemented Interfaces:
CommandSource, EntityCategoryProvider, Tameable

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

    • field_11976

      private FleeEntityGoal<PlayerEntity> field_11976
      Mappings:
      Namespace Name Mixin selector
      official bo Lts;bo:Lqs;
      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 bp Lts;bp:Lsh;
      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> Lpk;<init>(Ladm;)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

    • initDataTracker

      protected void initDataTracker()
      Overrides:
      initDataTracker in class TameableEntity
      Mappings:
      Namespace Name Mixin selector
      official h Lpk;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 Lps;E()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 C Lps;C()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 aX Lpr;aX()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 Lpk;e(FF)V
      intermediary method_2490 Lnet/minecraft/class_864;method_2490(FF)V
      named handleFallDamage Lnet/minecraft/entity/Entity;handleFallDamage(FF)V
    • writeCustomDataToNbt

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

      protected String getAmbientSound()
      Overrides:
      getAmbientSound in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official z Lps;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 bo Lpr;bo()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 bp Lpr;bp()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;
    • getSoundVolume

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

      protected Item getDefaultDrop()
      Overrides:
      getDefaultDrop in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official A Lps;A()Lzw;
      intermediary method_8375 Lnet/minecraft/class_871;method_8375()Lnet/minecraft/class_1069;
      named getDefaultDrop Lnet/minecraft/entity/mob/MobEntity;getDefaultDrop()Lnet/minecraft/item/Item;
    • tryAttack

      public boolean tryAttack(Entity target)
      Overrides:
      tryAttack in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official r Lpr;r(Lpk;)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 Lpk;a(Low;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
    • dropLoot

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

      public boolean canBeLeashedBy(PlayerEntity player)
      Overrides:
      canBeLeashedBy in class AnimalEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lps;a(Lwn;)Z
      intermediary method_2537 Lnet/minecraft/class_871;method_2537(Lnet/minecraft/class_988;)Z
      named canBeLeashedBy Lnet/minecraft/entity/mob/MobEntity;canBeLeashedBy(Lnet/minecraft/entity/player/PlayerEntity;)Z
    • breed

      public OcelotEntity breed(PassiveEntity passiveEntity)
      Specified by:
      breed in class PassiveEntity
      Mappings:
      Namespace Name Mixin selector
      official b Lts;b(Lph;)Lts;
      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 d Ltm;d(Lzx;)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 Ltm;a(Ltm;)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 ct Lts;ct()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 r Lts;r(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 bR Lps;bR()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 bS Lps;bS()Z
      intermediary method_2469 Lnet/minecraft/class_871;method_2469()Z
      named method_2469 Lnet/minecraft/entity/mob/MobEntity;method_2469()Z
    • getTranslationKey

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

      public void setTamed(boolean tamed)
      Overrides:
      setTamed in class TameableEntity
      Mappings:
      Namespace Name Mixin selector
      official m Lqa;m(Z)V
      intermediary method_2715 Lnet/minecraft/class_880;method_2715(Z)V
      named setTamed Lnet/minecraft/entity/passive/TameableEntity;setTamed(Z)V
    • onTamedChanged

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

      public EntityData initialize(LocalDifficulty difficulty, EntityData data)
      Overrides:
      initialize in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lps;a(Lok;Lpu;)Lpu;
      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;