类 WanderAroundGoal

    • 字段详细资料

      • field_30226

        public static final int field_30226
        另请参阅:
        常量字段值
        Mappings:
        Namespace Name Mixin selector
        official a Lazm;a:I
        intermediary field_30226 Lnet/minecraft/class_1379;field_30226:I
        named field_30226 Lnet/minecraft/entity/ai/goal/WanderAroundGoal;field_30226:I
      • mob

        protected final PathAwareEntity mob
        Mappings:
        Namespace Name Mixin selector
        official b Lazm;b:Latg;
        intermediary field_6566 Lnet/minecraft/class_1379;field_6566:Lnet/minecraft/class_1314;
        named mob Lnet/minecraft/entity/ai/goal/WanderAroundGoal;mob:Lnet/minecraft/entity/mob/PathAwareEntity;
      • targetX

        protected double targetX
        Mappings:
        Namespace Name Mixin selector
        official c Lazm;c:D
        intermediary field_6563 Lnet/minecraft/class_1379;field_6563:D
        named targetX Lnet/minecraft/entity/ai/goal/WanderAroundGoal;targetX:D
      • targetY

        protected double targetY
        Mappings:
        Namespace Name Mixin selector
        official d Lazm;d:D
        intermediary field_6562 Lnet/minecraft/class_1379;field_6562:D
        named targetY Lnet/minecraft/entity/ai/goal/WanderAroundGoal;targetY:D
      • targetZ

        protected double targetZ
        Mappings:
        Namespace Name Mixin selector
        official e Lazm;e:D
        intermediary field_6561 Lnet/minecraft/class_1379;field_6561:D
        named targetZ Lnet/minecraft/entity/ai/goal/WanderAroundGoal;targetZ:D
      • speed

        protected final double speed
        Mappings:
        Namespace Name Mixin selector
        official f Lazm;f:D
        intermediary field_6567 Lnet/minecraft/class_1379;field_6567:D
        named speed Lnet/minecraft/entity/ai/goal/WanderAroundGoal;speed:D
      • chance

        protected int chance
        Mappings:
        Namespace Name Mixin selector
        official g Lazm;g:I
        intermediary field_6564 Lnet/minecraft/class_1379;field_6564:I
        named chance Lnet/minecraft/entity/ai/goal/WanderAroundGoal;chance:I
      • ignoringChance

        protected boolean ignoringChance
        Mappings:
        Namespace Name Mixin selector
        official h Lazm;h:Z
        intermediary field_6565 Lnet/minecraft/class_1379;field_6565:Z
        named ignoringChance Lnet/minecraft/entity/ai/goal/WanderAroundGoal;ignoringChance:Z
      • field_24463

        private final boolean field_24463
        Mappings:
        Namespace Name Mixin selector
        official i Lazm;i:Z
        intermediary field_24463 Lnet/minecraft/class_1379;field_24463:Z
        named field_24463 Lnet/minecraft/entity/ai/goal/WanderAroundGoal;field_24463:Z
    • 构造器详细资料

      • WanderAroundGoal

        public WanderAroundGoal​(PathAwareEntity mob,
                                double speed)
        Mappings:
        Namespace Name Mixin selector
        official <init> Lazm;<init>(Latg;D)V
        intermediary <init> Lnet/minecraft/class_1379;<init>(Lnet/minecraft/class_1314;D)V
        named <init> Lnet/minecraft/entity/ai/goal/WanderAroundGoal;<init>(Lnet/minecraft/entity/mob/PathAwareEntity;D)V
      • WanderAroundGoal

        public WanderAroundGoal​(PathAwareEntity mob,
                                double speed,
                                int chance)
        Mappings:
        Namespace Name Mixin selector
        official <init> Lazm;<init>(Latg;DI)V
        intermediary <init> Lnet/minecraft/class_1379;<init>(Lnet/minecraft/class_1314;DI)V
        named <init> Lnet/minecraft/entity/ai/goal/WanderAroundGoal;<init>(Lnet/minecraft/entity/mob/PathAwareEntity;DI)V
      • WanderAroundGoal

        public WanderAroundGoal​(PathAwareEntity entity,
                                double speed,
                                int chance,
                                boolean bool)
        Mappings:
        Namespace Name Mixin selector
        official <init> Lazm;<init>(Latg;DIZ)V
        intermediary <init> Lnet/minecraft/class_1379;<init>(Lnet/minecraft/class_1314;DIZ)V
        named <init> Lnet/minecraft/entity/ai/goal/WanderAroundGoal;<init>(Lnet/minecraft/entity/mob/PathAwareEntity;DIZ)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
      • getWanderTarget

        @Nullable
        protected @Nullable Vec3d getWanderTarget()
        Mappings:
        Namespace Name Mixin selector
        official g Lazm;g()Ldma;
        intermediary method_6302 Lnet/minecraft/class_1379;method_6302()Lnet/minecraft/class_243;
        named getWanderTarget Lnet/minecraft/entity/ai/goal/WanderAroundGoal;getWanderTarget()Lnet/minecraft/util/math/Vec3d;
      • shouldContinue

        public boolean shouldContinue()
        覆盖:
        shouldContinue 在类中 Goal
        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
      • start

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

        public void ignoreChanceOnce()
        Mappings:
        Namespace Name Mixin selector
        official h Lazm;h()V
        intermediary method_6304 Lnet/minecraft/class_1379;method_6304()V
        named ignoreChanceOnce Lnet/minecraft/entity/ai/goal/WanderAroundGoal;ignoreChanceOnce()V
      • setChance

        public void setChance​(int chance)
        Mappings:
        Namespace Name Mixin selector
        official a Lazm;a(I)V
        intermediary method_6303 Lnet/minecraft/class_1379;method_6303(I)V
        named setChance Lnet/minecraft/entity/ai/goal/WanderAroundGoal;setChance(I)V