类 CowEntity

    • 构造器详细资料

      • CowEntity

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

      • 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
      • createCowAttributes

        public static DefaultAttributeContainer.Builder createCowAttributes()
        Mappings:
        Namespace Name Mixin selector
        official o Lbdf;o()Latx$a;
        intermediary method_26883 Lnet/minecraft/class_1430;method_26883()Lnet/minecraft/class_5132$class_5133;
        named createCowAttributes Lnet/minecraft/entity/passive/CowEntity;createCowAttributes()Lnet/minecraft/entity/attribute/DefaultAttributeContainer$Builder;
      • 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
      • getSoundVolume

        protected float getSoundVolume()
        覆盖:
        getSoundVolume 在类中 LivingEntity
        Mappings:
        Namespace Name Mixin selector
        official eh Lasy;eh()F
        intermediary method_6107 Lnet/minecraft/class_1309;method_6107()F
        named getSoundVolume Lnet/minecraft/entity/LivingEntity;getSoundVolume()F
      • 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;
      • createChild

        public CowEntity createChild​(ServerWorld serverWorld,
                                     PassiveEntity passiveEntity)
        指定者:
        createChild 在类中 PassiveEntity
        Mappings:
        Namespace Name Mixin selector
        official b Lbdf;b(Labj;Lasj;)Lbdf;
        intermediary method_6483 Lnet/minecraft/class_1430;method_6483(Lnet/minecraft/class_3218;Lnet/minecraft/class_1296;)Lnet/minecraft/class_1430;
        named createChild Lnet/minecraft/entity/passive/CowEntity;createChild(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/PassiveEntity;)Lnet/minecraft/entity/passive/CowEntity;
      • getActiveEyeHeight

        protected float getActiveEyeHeight​(EntityPose pose,
                                           EntityDimensions dimensions)
        覆盖:
        getActiveEyeHeight 在类中 LivingEntity
        Mappings:
        Namespace Name Mixin selector
        official b Lasy;b(Latj;Lasm;)F
        intermediary method_18394 Lnet/minecraft/class_1309;method_18394(Lnet/minecraft/class_4050;Lnet/minecraft/class_4048;)F
        named getActiveEyeHeight Lnet/minecraft/entity/LivingEntity;getActiveEyeHeight(Lnet/minecraft/entity/EntityPose;Lnet/minecraft/entity/EntityDimensions;)F