类 FoxEntity.EatSweetBerriesGoal

  • 封闭类:
    FoxEntity

    public class FoxEntity.EatSweetBerriesGoal
    extends MoveToTargetPosGoal
    Mappings:
    Namespace Name
    official bdi$f
    intermediary net/minecraft/class_4019$class_4025
    named net/minecraft/entity/passive/FoxEntity$EatSweetBerriesGoal
    • 字段详细资料

      • EATING_TIME

        private static final int EATING_TIME
        另请参阅:
        常量字段值
        Mappings:
        Namespace Name Mixin selector
        official i Lbdi$f;i:I
        intermediary field_30336 Lnet/minecraft/class_4019$class_4025;field_30336:I
        named EATING_TIME Lnet/minecraft/entity/passive/FoxEntity$EatSweetBerriesGoal;EATING_TIME:I
      • timer

        protected int timer
        Mappings:
        Namespace Name Mixin selector
        official g Lbdi$f;g:I
        intermediary field_17974 Lnet/minecraft/class_4019$class_4025;field_17974:I
        named timer Lnet/minecraft/entity/passive/FoxEntity$EatSweetBerriesGoal;timer:I
    • 构造器详细资料

      • EatSweetBerriesGoal

        public EatSweetBerriesGoal​(double speed,
                                   int range,
                                   int maxYDifference)
        Mappings:
        Namespace Name Mixin selector
        official <init> Lbdi$f;<init>(Lbdi;DII)V
        intermediary <init> Lnet/minecraft/class_4019$class_4025;<init>(Lnet/minecraft/class_4019;DII)V
        named <init> Lnet/minecraft/entity/passive/FoxEntity$EatSweetBerriesGoal;<init>(Lnet/minecraft/entity/passive/FoxEntity;DII)V
    • 方法详细资料

      • getDesiredSquaredDistanceToTarget

        public double getDesiredSquaredDistanceToTarget()
        覆盖:
        getDesiredSquaredDistanceToTarget 在类中 MoveToTargetPosGoal
        Mappings:
        Namespace Name Mixin selector
        official h Lazd;h()D
        intermediary method_6291 Lnet/minecraft/class_1367;method_6291()D
        named getDesiredSquaredDistanceToTarget Lnet/minecraft/entity/ai/goal/MoveToTargetPosGoal;getDesiredSquaredDistanceToTarget()D
      • shouldResetPath

        public boolean shouldResetPath()
        覆盖:
        shouldResetPath 在类中 MoveToTargetPosGoal
        Mappings:
        Namespace Name Mixin selector
        official k Lazd;k()Z
        intermediary method_6294 Lnet/minecraft/class_1367;method_6294()Z
        named shouldResetPath Lnet/minecraft/entity/ai/goal/MoveToTargetPosGoal;shouldResetPath()Z
      • isTargetPos

        protected boolean isTargetPos​(WorldView world,
                                      BlockPos pos)
        指定者:
        isTargetPos 在类中 MoveToTargetPosGoal
        Mappings:
        Namespace Name Mixin selector
        official a Lazd;a(Lbvu;Lgb;)Z
        intermediary method_6296 Lnet/minecraft/class_1367;method_6296(Lnet/minecraft/class_4538;Lnet/minecraft/class_2338;)Z
        named isTargetPos Lnet/minecraft/entity/ai/goal/MoveToTargetPosGoal;isTargetPos(Lnet/minecraft/world/WorldView;Lnet/minecraft/util/math/BlockPos;)Z
      • tick

        public void tick()
        覆盖:
        tick 在类中 MoveToTargetPosGoal
        Mappings:
        Namespace Name Mixin selector
        official e Layq;e()V
        intermediary method_6268 Lnet/minecraft/class_1352;method_6268()V
        named tick Lnet/minecraft/entity/ai/goal/Goal;tick()V
      • eatSweetBerry

        protected void eatSweetBerry()
        Mappings:
        Namespace Name Mixin selector
        official n Lbdi$f;n()V
        intermediary method_18307 Lnet/minecraft/class_4019$class_4025;method_18307()V
        named eatSweetBerry Lnet/minecraft/entity/passive/FoxEntity$EatSweetBerriesGoal;eatSweetBerry()V
      • pickGlowBerries

        private void pickGlowBerries​(BlockState state)
        Mappings:
        Namespace Name Mixin selector
        official a Lbdi$f;a(Lcjr;)V
        intermediary method_33586 Lnet/minecraft/class_4019$class_4025;method_33586(Lnet/minecraft/class_2680;)V
        named pickGlowBerries Lnet/minecraft/entity/passive/FoxEntity$EatSweetBerriesGoal;pickGlowBerries(Lnet/minecraft/block/BlockState;)V
      • pickSweetBerries

        private void pickSweetBerries​(BlockState state)
        Mappings:
        Namespace Name Mixin selector
        official b Lbdi$f;b(Lcjr;)V
        intermediary method_33587 Lnet/minecraft/class_4019$class_4025;method_33587(Lnet/minecraft/class_2680;)V
        named pickSweetBerries Lnet/minecraft/entity/passive/FoxEntity$EatSweetBerriesGoal;pickSweetBerries(Lnet/minecraft/block/BlockState;)V
      • canStart

        public boolean canStart()
        覆盖:
        canStart 在类中 MoveToTargetPosGoal
        Mappings:
        Namespace Name Mixin selector
        official a Layq;a()Z
        intermediary method_6264 Lnet/minecraft/class_1352;method_6264()Z
        named canStart Lnet/minecraft/entity/ai/goal/Goal;canStart()Z
      • start

        public void start()
        覆盖:
        start 在类中 MoveToTargetPosGoal
        Mappings:
        Namespace Name Mixin selector
        official c Layq;c()V
        intermediary method_6269 Lnet/minecraft/class_1352;method_6269()V
        named start Lnet/minecraft/entity/ai/goal/Goal;start()V