Class WanderingTraderEntity.WanderToTargetGoal

java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.passive.WanderingTraderEntity.WanderToTargetGoal
Enclosing class:
WanderingTraderEntity

private class WanderingTraderEntity.WanderToTargetGoal extends Goal
Mappings:
Namespace Name
named net/minecraft/entity/passive/WanderingTraderEntity$WanderToTargetGoal
intermediary net/minecraft/class_3989$class_3994
official cmo$a
  • Field Details

    • trader

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

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

      final double speed
      Mappings:
      Namespace Name Mixin selector
      named speed Lnet/minecraft/entity/passive/WanderingTraderEntity$WanderToTargetGoal;speed:D
      intermediary field_17761 Lnet/minecraft/class_3989$class_3994;field_17761:D
      official c Lcmo$a;c:D
  • Constructor Details

    • WanderToTargetGoal

      WanderToTargetGoal(WanderingTraderEntity trader, double proximityDistance, double speed)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/entity/passive/WanderingTraderEntity$WanderToTargetGoal;<init>(Lnet/minecraft/entity/passive/WanderingTraderEntity;Lnet/minecraft/entity/passive/WanderingTraderEntity;DD)V
      intermediary <init> Lnet/minecraft/class_3989$class_3994;<init>(Lnet/minecraft/class_3989;Lnet/minecraft/class_3989;DD)V
      official <init> Lcmo$a;<init>(Lcmo;Lcmo;DD)V
  • Method Details

    • stop

      public void stop()
      Overrides:
      stop in class Goal
      Mappings:
      Namespace Name Mixin selector
      named stop Lnet/minecraft/entity/ai/goal/Goal;stop()V
      intermediary method_6270 Lnet/minecraft/class_1352;method_6270()V
      official e Lcak;e()V
    • canStart

      public boolean canStart()
      Specified by:
      canStart in class Goal
      Mappings:
      Namespace Name Mixin selector
      named canStart Lnet/minecraft/entity/ai/goal/Goal;canStart()Z
      intermediary method_6264 Lnet/minecraft/class_1352;method_6264()Z
      official b Lcak;b()Z
    • tick

      public void tick()
      Overrides:
      tick in class Goal
      Mappings:
      Namespace Name Mixin selector
      named tick Lnet/minecraft/entity/ai/goal/Goal;tick()V
      intermediary method_6268 Lnet/minecraft/class_1352;method_6268()V
      official a Lcak;a()V
    • isTooFarFrom

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