类 PolarBearEntity

    • 字段详细资料

      • WARNING

        private static final TrackedData<Boolean> WARNING
        Mappings:
        Namespace Name Mixin selector
        official bV Lbdp;bV:Lvy;
        intermediary field_6840 Lnet/minecraft/class_1456;field_6840:Lnet/minecraft/class_2940;
        named WARNING Lnet/minecraft/entity/passive/PolarBearEntity;WARNING:Lnet/minecraft/entity/data/TrackedData;
      • field_30352

        private static final float field_30352
        另请参阅:
        常量字段值
        Mappings:
        Namespace Name Mixin selector
        official bW Lbdp;bW:F
        intermediary field_30352 Lnet/minecraft/class_1456;field_30352:F
        named field_30352 Lnet/minecraft/entity/passive/PolarBearEntity;field_30352:F
      • ANGER_TIME_RANGE

        private static final UniformIntProvider ANGER_TIME_RANGE
        Mappings:
        Namespace Name Mixin selector
        official cb Lbdp;cb:Laqs;
        intermediary field_25369 Lnet/minecraft/class_1456;field_25369:Lnet/minecraft/class_6019;
        named ANGER_TIME_RANGE Lnet/minecraft/entity/passive/PolarBearEntity;ANGER_TIME_RANGE:Lnet/minecraft/util/math/intprovider/UniformIntProvider;
      • lastWarningAnimationProgress

        private float lastWarningAnimationProgress
        Mappings:
        Namespace Name Mixin selector
        official bY Lbdp;bY:F
        intermediary field_6838 Lnet/minecraft/class_1456;field_6838:F
        named lastWarningAnimationProgress Lnet/minecraft/entity/passive/PolarBearEntity;lastWarningAnimationProgress:F
      • warningAnimationProgress

        private float warningAnimationProgress
        Mappings:
        Namespace Name Mixin selector
        official bZ Lbdp;bZ:F
        intermediary field_6837 Lnet/minecraft/class_1456;field_6837:F
        named warningAnimationProgress Lnet/minecraft/entity/passive/PolarBearEntity;warningAnimationProgress:F
      • warningSoundCooldown

        private int warningSoundCooldown
        Mappings:
        Namespace Name Mixin selector
        official ca Lbdp;ca:I
        intermediary field_6839 Lnet/minecraft/class_1456;field_6839:I
        named warningSoundCooldown Lnet/minecraft/entity/passive/PolarBearEntity;warningSoundCooldown:I
      • angerTime

        private int angerTime
        Mappings:
        Namespace Name Mixin selector
        official cc Lbdp;cc:I
        intermediary field_25370 Lnet/minecraft/class_1456;field_25370:I
        named angerTime Lnet/minecraft/entity/passive/PolarBearEntity;angerTime:I
      • targetUuid

        private UUID targetUuid
        Mappings:
        Namespace Name Mixin selector
        official cd Lbdp;cd:Ljava/util/UUID;
        intermediary field_25368 Lnet/minecraft/class_1456;field_25368:Ljava/util/UUID;
        named targetUuid Lnet/minecraft/entity/passive/PolarBearEntity;targetUuid:Ljava/util/UUID;
    • 构造器详细资料

      • PolarBearEntity

        public PolarBearEntity​(EntityType<? extends PolarBearEntity> 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
    • 方法详细资料

      • createChild

        public PassiveEntity createChild​(ServerWorld world,
                                         PassiveEntity entity)
        指定者:
        createChild 在类中 PassiveEntity
        Mappings:
        Namespace Name Mixin selector
        official a Lasj;a(Labj;Lasj;)Lasj;
        intermediary method_5613 Lnet/minecraft/class_1296;method_5613(Lnet/minecraft/class_3218;Lnet/minecraft/class_1296;)Lnet/minecraft/class_1296;
        named createChild Lnet/minecraft/entity/passive/PassiveEntity;createChild(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/PassiveEntity;)Lnet/minecraft/entity/passive/PassiveEntity;
      • 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
      • 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
      • createPolarBearAttributes

        public static DefaultAttributeContainer.Builder createPolarBearAttributes()
        Mappings:
        Namespace Name Mixin selector
        official o Lbdp;o()Latx$a;
        intermediary method_26891 Lnet/minecraft/class_1456;method_26891()Lnet/minecraft/class_5132$class_5133;
        named createPolarBearAttributes Lnet/minecraft/entity/passive/PolarBearEntity;createPolarBearAttributes()Lnet/minecraft/entity/attribute/DefaultAttributeContainer$Builder;
      • canSpawn

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

        public void chooseRandomAngerTime()
        指定者:
        chooseRandomAngerTime 在接口中 Angerable
        Mappings:
        Namespace Name Mixin selector
        official J_ Late;J_()V
        intermediary method_29509 Lnet/minecraft/class_5354;method_29509()V
        named chooseRandomAngerTime Lnet/minecraft/entity/mob/Angerable;chooseRandomAngerTime()V
      • setAngerTime

        public void setAngerTime​(int ticks)
        指定者:
        setAngerTime 在接口中 Angerable
        Mappings:
        Namespace Name Mixin selector
        official a_ Late;a_(I)V
        intermediary method_29514 Lnet/minecraft/class_5354;method_29514(I)V
        named setAngerTime Lnet/minecraft/entity/mob/Angerable;setAngerTime(I)V
      • getAngerTime

        public int getAngerTime()
        指定者:
        getAngerTime 在接口中 Angerable
        Mappings:
        Namespace Name Mixin selector
        official H_ Late;H_()I
        intermediary method_29507 Lnet/minecraft/class_5354;method_29507()I
        named getAngerTime Lnet/minecraft/entity/mob/Angerable;getAngerTime()I
      • setAngryAt

        public void setAngryAt​(@Nullable
                               @Nullable UUID uuid)
        指定者:
        setAngryAt 在接口中 Angerable
        Mappings:
        Namespace Name Mixin selector
        official a Late;a(Ljava/util/UUID;)V
        intermediary method_29513 Lnet/minecraft/class_5354;method_29513(Ljava/util/UUID;)V
        named setAngryAt Lnet/minecraft/entity/mob/Angerable;setAngryAt(Ljava/util/UUID;)V
      • getAngryAt

        public UUID getAngryAt()
        指定者:
        getAngryAt 在接口中 Angerable
        Mappings:
        Namespace Name Mixin selector
        official I_ Late;I_()Ljava/util/UUID;
        intermediary method_29508 Lnet/minecraft/class_5354;method_29508()Ljava/util/UUID;
        named getAngryAt Lnet/minecraft/entity/mob/Angerable;getAngryAt()Ljava/util/UUID;
      • getAmbientSound

        protected 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;
      • 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;
      • playStepSound

        protected void playStepSound​(BlockPos pos,
                                     BlockState state)
        覆盖:
        playStepSound 在类中 Entity
        Mappings:
        Namespace Name Mixin selector
        official b Lasl;b(Lgb;Lcjr;)V
        intermediary method_5712 Lnet/minecraft/class_1297;method_5712(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)V
        named playStepSound Lnet/minecraft/entity/Entity;playStepSound(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
      • playWarningSound

        protected void playWarningSound()
        Mappings:
        Namespace Name Mixin selector
        official s Lbdp;s()V
        intermediary method_6602 Lnet/minecraft/class_1456;method_6602()V
        named playWarningSound Lnet/minecraft/entity/passive/PolarBearEntity;playWarningSound()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
      • tick

        public void tick()
        覆盖:
        tick 在类中 MobEntity
        Mappings:
        Namespace Name Mixin selector
        official j Lasl;j()V
        intermediary method_5773 Lnet/minecraft/class_1297;method_5773()V
        named tick Lnet/minecraft/entity/Entity;tick()V
      • getDimensions

        public EntityDimensions getDimensions​(EntityPose pose)
        覆盖:
        getDimensions 在类中 LivingEntity
        Mappings:
        Namespace Name Mixin selector
        official a Lasl;a(Latj;)Lasm;
        intermediary method_18377 Lnet/minecraft/class_1297;method_18377(Lnet/minecraft/class_4050;)Lnet/minecraft/class_4048;
        named getDimensions Lnet/minecraft/entity/Entity;getDimensions(Lnet/minecraft/entity/EntityPose;)Lnet/minecraft/entity/EntityDimensions;
      • 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
      • isWarning

        public boolean isWarning()
        Mappings:
        Namespace Name Mixin selector
        official fo Lbdp;fo()Z
        intermediary method_6600 Lnet/minecraft/class_1456;method_6600()Z
        named isWarning Lnet/minecraft/entity/passive/PolarBearEntity;isWarning()Z
      • setWarning

        public void setWarning​(boolean warning)
        Mappings:
        Namespace Name Mixin selector
        official v Lbdp;v(Z)V
        intermediary method_6603 Lnet/minecraft/class_1456;method_6603(Z)V
        named setWarning Lnet/minecraft/entity/passive/PolarBearEntity;setWarning(Z)V
      • getWarningAnimationProgress

        public float getWarningAnimationProgress​(float tickDelta)
        Mappings:
        Namespace Name Mixin selector
        official x Lbdp;x(F)F
        intermediary method_6601 Lnet/minecraft/class_1456;method_6601(F)F
        named getWarningAnimationProgress Lnet/minecraft/entity/passive/PolarBearEntity;getWarningAnimationProgress(F)F
      • getBaseMovementSpeedMultiplier

        protected float getBaseMovementSpeedMultiplier()
        覆盖:
        getBaseMovementSpeedMultiplier 在类中 LivingEntity
        Mappings:
        Namespace Name Mixin selector
        official en Lasy;en()F
        intermediary method_6120 Lnet/minecraft/class_1309;method_6120()F
        named getBaseMovementSpeedMultiplier Lnet/minecraft/entity/LivingEntity;getBaseMovementSpeedMultiplier()F
      • initialize

        public 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;