类 WanderingTraderEntity.WanderToTargetGoal

  • 封闭类:
    WanderingTraderEntity

    class WanderingTraderEntity.WanderToTargetGoal
    extends Goal
    Mappings:
    Namespace Name
    official biy$a
    intermediary net/minecraft/class_3989$class_3994
    named net/minecraft/entity/passive/WanderingTraderEntity$WanderToTargetGoal
    • 字段详细资料

      • trader

        final WanderingTraderEntity trader
        Mappings:
        Namespace Name Mixin selector
        official a Lbiy$a;a:Lbiy;
        intermediary field_17759 Lnet/minecraft/class_3989$class_3994;field_17759:Lnet/minecraft/class_3989;
        named trader Lnet/minecraft/entity/passive/WanderingTraderEntity$WanderToTargetGoal;trader:Lnet/minecraft/entity/passive/WanderingTraderEntity;
      • proximityDistance

        final double proximityDistance
        Mappings:
        Namespace Name Mixin selector
        official b Lbiy$a;b:D
        intermediary field_17760 Lnet/minecraft/class_3989$class_3994;field_17760:D
        named proximityDistance Lnet/minecraft/entity/passive/WanderingTraderEntity$WanderToTargetGoal;proximityDistance:D
      • speed

        final double speed
        Mappings:
        Namespace Name Mixin selector
        official c Lbiy$a;c:D
        intermediary field_17761 Lnet/minecraft/class_3989$class_3994;field_17761:D
        named speed Lnet/minecraft/entity/passive/WanderingTraderEntity$WanderToTargetGoal;speed:D
    • 构造器详细资料

      • WanderToTargetGoal

        WanderToTargetGoal​(WanderingTraderEntity trader,
                           double proximityDistance,
                           double speed)
        Mappings:
        Namespace Name Mixin selector
        official <init> Lbiy$a;<init>(Lbiy;Lbiy;DD)V
        intermediary <init> Lnet/minecraft/class_3989$class_3994;<init>(Lnet/minecraft/class_3989;Lnet/minecraft/class_3989;DD)V
        named <init> Lnet/minecraft/entity/passive/WanderingTraderEntity$WanderToTargetGoal;<init>(Lnet/minecraft/entity/passive/WanderingTraderEntity;Lnet/minecraft/entity/passive/WanderingTraderEntity;DD)V
    • 方法详细资料

      • stop

        public void stop()
        覆盖:
        stop 在类中 Goal
        Mappings:
        Namespace Name Mixin selector
        official d Layq;d()V
        intermediary method_6270 Lnet/minecraft/class_1352;method_6270()V
        named stop Lnet/minecraft/entity/ai/goal/Goal;stop()V
      • canStart

        public boolean canStart()
        指定者:
        canStart 在类中 Goal
        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
      • tick

        public void tick()
        覆盖:
        tick 在类中 Goal
        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
      • isTooFarFrom

        private boolean isTooFarFrom​(BlockPos pos,
                                     double proximityDistance)
        Mappings:
        Namespace Name Mixin selector
        official a Lbiy$a;a(Lgb;D)Z
        intermediary method_18070 Lnet/minecraft/class_3989$class_3994;method_18070(Lnet/minecraft/class_2338;D)Z
        named isTooFarFrom Lnet/minecraft/entity/passive/WanderingTraderEntity$WanderToTargetGoal;isTooFarFrom(Lnet/minecraft/util/math/BlockPos;D)Z