类 OcelotEntity

  • 所有已实现的接口:
    CommandOutput, Nameable, EntityLike

    public class OcelotEntity
    extends AnimalEntity
    Mappings:
    Namespace Name
    official bdl
    intermediary net/minecraft/class_3701
    named net/minecraft/entity/passive/OcelotEntity
    • 字段详细资料

      • field_30340

        public static final double field_30340
        另请参阅:
        常量字段值
        Mappings:
        Namespace Name Mixin selector
        official bV Lbdl;bV:D
        intermediary field_30340 Lnet/minecraft/class_3701;field_30340:D
        named field_30340 Lnet/minecraft/entity/passive/OcelotEntity;field_30340:D
      • field_30341

        public static final double field_30341
        另请参阅:
        常量字段值
        Mappings:
        Namespace Name Mixin selector
        official bW Lbdl;bW:D
        intermediary field_30341 Lnet/minecraft/class_3701;field_30341:D
        named field_30341 Lnet/minecraft/entity/passive/OcelotEntity;field_30341:D
      • field_30342

        public static final double field_30342
        另请参阅:
        常量字段值
        Mappings:
        Namespace Name Mixin selector
        official bY Lbdl;bY:D
        intermediary field_30342 Lnet/minecraft/class_3701;field_30342:D
        named field_30342 Lnet/minecraft/entity/passive/OcelotEntity;field_30342:D
      • TAMING_INGREDIENT

        private static final Ingredient TAMING_INGREDIENT
        Mappings:
        Namespace Name Mixin selector
        official bZ Lbdl;bZ:Lbsg;
        intermediary field_16299 Lnet/minecraft/class_3701;field_16299:Lnet/minecraft/class_1856;
        named TAMING_INGREDIENT Lnet/minecraft/entity/passive/OcelotEntity;TAMING_INGREDIENT:Lnet/minecraft/recipe/Ingredient;
      • TRUSTING

        private static final TrackedData<Boolean> TRUSTING
        Mappings:
        Namespace Name Mixin selector
        official ca Lbdl;ca:Lvy;
        intermediary field_16301 Lnet/minecraft/class_3701;field_16301:Lnet/minecraft/class_2940;
        named TRUSTING Lnet/minecraft/entity/passive/OcelotEntity;TRUSTING:Lnet/minecraft/entity/data/TrackedData;
      • fleeGoal

        private OcelotEntity.FleeGoal<PlayerEntity> fleeGoal
        Mappings:
        Namespace Name Mixin selector
        official cb Lbdl;cb:Lbdl$a;
        intermediary field_16300 Lnet/minecraft/class_3701;field_16300:Lnet/minecraft/class_3701$class_3702;
        named fleeGoal Lnet/minecraft/entity/passive/OcelotEntity;fleeGoal:Lnet/minecraft/entity/passive/OcelotEntity$FleeGoal;
      • temptGoal

        private OcelotEntity.OcelotTemptGoal temptGoal
        Mappings:
        Namespace Name Mixin selector
        official cc Lbdl;cc:Lbdl$b;
        intermediary field_16302 Lnet/minecraft/class_3701;field_16302:Lnet/minecraft/class_3701$class_3703;
        named temptGoal Lnet/minecraft/entity/passive/OcelotEntity;temptGoal:Lnet/minecraft/entity/passive/OcelotEntity$OcelotTemptGoal;
    • 构造器详细资料

      • OcelotEntity

        public OcelotEntity​(EntityType<? extends OcelotEntity> type,
                            World world)
        Mappings:
        Namespace Name Mixin selector
        official <init> Lasl;<init>(Lasp;Lbvr;)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
    • 方法详细资料

      • isTrusting

        private boolean isTrusting()
        Mappings:
        Namespace Name Mixin selector
        official fo Lbdl;fo()Z
        intermediary method_16099 Lnet/minecraft/class_3701;method_16099()Z
        named isTrusting Lnet/minecraft/entity/passive/OcelotEntity;isTrusting()Z
      • setTrusting

        private void setTrusting​(boolean trusting)
        Mappings:
        Namespace Name Mixin selector
        official v Lbdl;v(Z)V
        intermediary method_16102 Lnet/minecraft/class_3701;method_16102(Z)V
        named setTrusting Lnet/minecraft/entity/passive/OcelotEntity;setTrusting(Z)V
      • writeCustomDataToNbt

        public void writeCustomDataToNbt​(CompoundTag nbt)
        覆盖:
        writeCustomDataToNbt 在类中 AnimalEntity
        Mappings:
        Namespace Name Mixin selector
        official b Lasl;b(Lmv;)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/CompoundTag;)V
      • readCustomDataFromNbt

        public void readCustomDataFromNbt​(CompoundTag nbt)
        覆盖:
        readCustomDataFromNbt 在类中 AnimalEntity
        Mappings:
        Namespace Name Mixin selector
        official a Lasl;a(Lmv;)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/CompoundTag;)V
      • initDataTracker

        protected void initDataTracker()
        覆盖:
        initDataTracker 在类中 PassiveEntity
        Mappings:
        Namespace Name Mixin selector
        official e Lasl;e()V
        intermediary method_5693 Lnet/minecraft/class_1297;method_5693()V
        named initDataTracker Lnet/minecraft/entity/Entity;initDataTracker()V
      • initGoals

        protected void initGoals()
        覆盖:
        initGoals 在类中 MobEntity
        Mappings:
        Namespace Name Mixin selector
        official u Lasz;u()V
        intermediary method_5959 Lnet/minecraft/class_1308;method_5959()V
        named initGoals Lnet/minecraft/entity/mob/MobEntity;initGoals()V
      • mobTick

        public void mobTick()
        覆盖:
        mobTick 在类中 AnimalEntity
        Mappings:
        Namespace Name Mixin selector
        official eQ Lasz;eQ()V
        intermediary method_5958 Lnet/minecraft/class_1308;method_5958()V
        named mobTick Lnet/minecraft/entity/mob/MobEntity;mobTick()V
      • canImmediatelyDespawn

        public boolean canImmediatelyDespawn​(double distanceSquared)
        覆盖:
        canImmediatelyDespawn 在类中 AnimalEntity
        Mappings:
        Namespace Name Mixin selector
        official h Lasz;h(D)Z
        intermediary method_5974 Lnet/minecraft/class_1308;method_5974(D)Z
        named canImmediatelyDespawn Lnet/minecraft/entity/mob/MobEntity;canImmediatelyDespawn(D)Z
      • createOcelotAttributes

        public static DefaultAttributeContainer.Builder createOcelotAttributes()
        Mappings:
        Namespace Name Mixin selector
        official o Lbdl;o()Latx$a;
        intermediary method_26887 Lnet/minecraft/class_3701;method_26887()Lnet/minecraft/class_5132$class_5133;
        named createOcelotAttributes Lnet/minecraft/entity/passive/OcelotEntity;createOcelotAttributes()Lnet/minecraft/entity/attribute/DefaultAttributeContainer$Builder;
      • handleFallDamage

        public boolean handleFallDamage​(float fallDistance,
                                        float damageMultiplier,
                                        DamageSource damageSource)
        覆盖:
        handleFallDamage 在类中 LivingEntity
        Mappings:
        Namespace Name Mixin selector
        official a Lasl;a(FFLarv;)Z
        intermediary method_5747 Lnet/minecraft/class_1297;method_5747(FFLnet/minecraft/class_1282;)Z
        named handleFallDamage Lnet/minecraft/entity/Entity;handleFallDamage(FFLnet/minecraft/entity/damage/DamageSource;)Z
      • getAmbientSound

        @Nullable
        protected @Nullable SoundEvent getAmbientSound()
        覆盖:
        getAmbientSound 在类中 MobEntity
        Mappings:
        Namespace Name Mixin selector
        official p Lasz;p()Laev;
        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;
      • getMinAmbientSoundDelay

        public int getMinAmbientSoundDelay()
        覆盖:
        getMinAmbientSoundDelay 在类中 AnimalEntity
        Mappings:
        Namespace Name Mixin selector
        official I Lasz;I()I
        intermediary method_5970 Lnet/minecraft/class_1308;method_5970()I
        named getMinAmbientSoundDelay Lnet/minecraft/entity/mob/MobEntity;getMinAmbientSoundDelay()I
      • getHurtSound

        protected SoundEvent getHurtSound​(DamageSource source)
        覆盖:
        getHurtSound 在类中 LivingEntity
        Mappings:
        Namespace Name Mixin selector
        official c Lasy;c(Larv;)Laev;
        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()
        覆盖:
        getDeathSound 在类中 LivingEntity
        Mappings:
        Namespace Name Mixin selector
        official q Lasy;q()Laev;
        intermediary method_6002 Lnet/minecraft/class_1309;method_6002()Lnet/minecraft/class_3414;
        named getDeathSound Lnet/minecraft/entity/LivingEntity;getDeathSound()Lnet/minecraft/sound/SoundEvent;
      • getAttackDamage

        private float getAttackDamage()
        Mappings:
        Namespace Name Mixin selector
        official fp Lbdl;fp()F
        intermediary method_22329 Lnet/minecraft/class_3701;method_22329()F
        named getAttackDamage Lnet/minecraft/entity/passive/OcelotEntity;getAttackDamage()F
      • tryAttack

        public boolean tryAttack​(Entity target)
        覆盖:
        tryAttack 在类中 MobEntity
        Mappings:
        Namespace Name Mixin selector
        official B Lasy;B(Lasl;)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
      • interactMob

        public ActionResult interactMob​(PlayerEntity player,
                                        Hand hand)
        覆盖:
        interactMob 在类中 AnimalEntity
        Mappings:
        Namespace Name Mixin selector
        official b Lasz;b(Lbjf;Larf;)Larg;
        intermediary method_5992 Lnet/minecraft/class_1308;method_5992(Lnet/minecraft/class_1657;Lnet/minecraft/class_1268;)Lnet/minecraft/class_1269;
        named interactMob Lnet/minecraft/entity/mob/MobEntity;interactMob(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/Hand;)Lnet/minecraft/util/ActionResult;
      • handleStatus

        public void handleStatus​(byte status)
        覆盖:
        handleStatus 在类中 AnimalEntity
        Mappings:
        Namespace Name Mixin selector
        official a Lasl;a(B)V
        intermediary method_5711 Lnet/minecraft/class_1297;method_5711(B)V
        named handleStatus Lnet/minecraft/entity/Entity;handleStatus(B)V
      • showEmoteParticle

        private void showEmoteParticle​(boolean positive)
        Mappings:
        Namespace Name Mixin selector
        official w Lbdl;w(Z)V
        intermediary method_16100 Lnet/minecraft/class_3701;method_16100(Z)V
        named showEmoteParticle Lnet/minecraft/entity/passive/OcelotEntity;showEmoteParticle(Z)V
      • updateFleeing

        protected void updateFleeing()
        Mappings:
        Namespace Name Mixin selector
        official s Lbdl;s()V
        intermediary method_16103 Lnet/minecraft/class_3701;method_16103()V
        named updateFleeing Lnet/minecraft/entity/passive/OcelotEntity;updateFleeing()V
      • createChild

        public OcelotEntity createChild​(ServerWorld serverWorld,
                                        PassiveEntity passiveEntity)
        指定者:
        createChild 在类中 PassiveEntity
        Mappings:
        Namespace Name Mixin selector
        official b Lbdl;b(Labj;Lasj;)Lbdl;
        intermediary method_16104 Lnet/minecraft/class_3701;method_16104(Lnet/minecraft/class_3218;Lnet/minecraft/class_1296;)Lnet/minecraft/class_3701;
        named createChild Lnet/minecraft/entity/passive/OcelotEntity;createChild(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/PassiveEntity;)Lnet/minecraft/entity/passive/OcelotEntity;
      • isBreedingItem

        public boolean isBreedingItem​(ItemStack stack)
        覆盖:
        isBreedingItem 在类中 AnimalEntity
        Mappings:
        Namespace Name Mixin selector
        official l Lbcz;l(Lbpr;)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
      • canSpawn

        public static boolean canSpawn​(EntityType<OcelotEntity> type,
                                       WorldAccess world,
                                       SpawnReason spawnReason,
                                       BlockPos pos,
                                       Random random)
        Mappings:
        Namespace Name Mixin selector
        official c Lbdl;c(Lasp;Lbvs;Latb;Lgb;Ljava/util/Random;)Z
        intermediary method_20666 Lnet/minecraft/class_3701;method_20666(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/OcelotEntity;canSpawn(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/WorldAccess;Lnet/minecraft/entity/SpawnReason;Lnet/minecraft/util/math/BlockPos;Ljava/util/Random;)Z
      • canSpawn

        public boolean canSpawn​(WorldView world)
        覆盖:
        canSpawn 在类中 MobEntity
        Mappings:
        Namespace Name Mixin selector
        official a Lasz;a(Lbvu;)Z
        intermediary method_5957 Lnet/minecraft/class_1308;method_5957(Lnet/minecraft/class_4538;)Z
        named canSpawn Lnet/minecraft/entity/mob/MobEntity;canSpawn(Lnet/minecraft/world/WorldView;)Z
      • initialize

        @Nullable
        public @Nullable EntityData initialize​(ServerWorldAccess world,
                                               LocalDifficulty difficulty,
                                               SpawnReason spawnReason,
                                               @Nullable
                                               @Nullable EntityData entityData,
                                               @Nullable
                                               @Nullable CompoundTag entityNbt)
        覆盖:
        initialize 在类中 PassiveEntity
        Mappings:
        Namespace Name Mixin selector
        official a Lasz;a(Lbwf;Lare;Latb;Latp;Lmv;)Latp;
        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/CompoundTag;)Lnet/minecraft/entity/EntityData;
      • getLeashOffset

        public Vec3d getLeashOffset()
        覆盖:
        getLeashOffset 在类中 Entity
        Mappings:
        Namespace Name Mixin selector
        official cq Lasl;cq()Ldma;
        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;
      • bypassesSteppingEffects

        public boolean bypassesSteppingEffects()
        覆盖:
        bypassesSteppingEffects 在类中 Entity
        Mappings:
        Namespace Name Mixin selector
        official bB Lasl;bB()Z
        intermediary method_21749 Lnet/minecraft/class_1297;method_21749()Z
        named bypassesSteppingEffects Lnet/minecraft/entity/Entity;bypassesSteppingEffects()Z