类 RabbitEntity.EatCarrotCropGoal

  • 封闭类:
    RabbitEntity

    static class RabbitEntity.EatCarrotCropGoal
    extends MoveToTargetPosGoal
    Mappings:
    Namespace Name
    official bdr$g
    intermediary net/minecraft/class_1463$class_1470
    named net/minecraft/entity/passive/RabbitEntity$EatCarrotCropGoal
    • 字段详细资料

      • rabbit

        private final RabbitEntity rabbit
        Mappings:
        Namespace Name Mixin selector
        official g Lbdr$g;g:Lbdr;
        intermediary field_6863 Lnet/minecraft/class_1463$class_1470;field_6863:Lnet/minecraft/class_1463;
        named rabbit Lnet/minecraft/entity/passive/RabbitEntity$EatCarrotCropGoal;rabbit:Lnet/minecraft/entity/passive/RabbitEntity;
      • wantsCarrots

        private boolean wantsCarrots
        Mappings:
        Namespace Name Mixin selector
        official h Lbdr$g;h:Z
        intermediary field_6862 Lnet/minecraft/class_1463$class_1470;field_6862:Z
        named wantsCarrots Lnet/minecraft/entity/passive/RabbitEntity$EatCarrotCropGoal;wantsCarrots:Z
      • hasTarget

        private boolean hasTarget
        Mappings:
        Namespace Name Mixin selector
        official i Lbdr$g;i:Z
        intermediary field_6861 Lnet/minecraft/class_1463$class_1470;field_6861:Z
        named hasTarget Lnet/minecraft/entity/passive/RabbitEntity$EatCarrotCropGoal;hasTarget:Z
    • 构造器详细资料

      • EatCarrotCropGoal

        public EatCarrotCropGoal​(RabbitEntity rabbit)
        Mappings:
        Namespace Name Mixin selector
        official <init> Lbdr$g;<init>(Lbdr;)V
        intermediary <init> Lnet/minecraft/class_1463$class_1470;<init>(Lnet/minecraft/class_1463;)V
        named <init> Lnet/minecraft/entity/passive/RabbitEntity$EatCarrotCropGoal;<init>(Lnet/minecraft/entity/passive/RabbitEntity;)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
      • shouldContinue

        public boolean shouldContinue()
        覆盖:
        shouldContinue 在类中 MoveToTargetPosGoal
        Mappings:
        Namespace Name Mixin selector
        official b Layq;b()Z
        intermediary method_6266 Lnet/minecraft/class_1352;method_6266()Z
        named shouldContinue Lnet/minecraft/entity/ai/goal/Goal;shouldContinue()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
      • 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