类 StepAndDestroyBlockGoal

  • 直接已知子类:
    ZombieEntity.DestroyEggGoal

    public class StepAndDestroyBlockGoal
    extends MoveToTargetPosGoal
    Mappings:
    Namespace Name
    official azr
    intermediary net/minecraft/class_1382
    named net/minecraft/entity/ai/goal/StepAndDestroyBlockGoal
    • 字段详细资料

      • field_30227

        private static final int field_30227
        另请参阅:
        常量字段值
        Mappings:
        Namespace Name Mixin selector
        official j Lazr;j:I
        intermediary field_30227 Lnet/minecraft/class_1382;field_30227:I
        named field_30227 Lnet/minecraft/entity/ai/goal/StepAndDestroyBlockGoal;field_30227:I
      • targetBlock

        private final Block targetBlock
        Mappings:
        Namespace Name Mixin selector
        official g Lazr;g:Lbyq;
        intermediary field_6587 Lnet/minecraft/class_1382;field_6587:Lnet/minecraft/class_2248;
        named targetBlock Lnet/minecraft/entity/ai/goal/StepAndDestroyBlockGoal;targetBlock:Lnet/minecraft/block/Block;
      • stepAndDestroyMob

        private final MobEntity stepAndDestroyMob
        Mappings:
        Namespace Name Mixin selector
        official h Lazr;h:Lasz;
        intermediary field_6589 Lnet/minecraft/class_1382;field_6589:Lnet/minecraft/class_1308;
        named stepAndDestroyMob Lnet/minecraft/entity/ai/goal/StepAndDestroyBlockGoal;stepAndDestroyMob:Lnet/minecraft/entity/mob/MobEntity;
      • counter

        private int counter
        Mappings:
        Namespace Name Mixin selector
        official i Lazr;i:I
        intermediary field_6588 Lnet/minecraft/class_1382;field_6588:I
        named counter Lnet/minecraft/entity/ai/goal/StepAndDestroyBlockGoal;counter:I
    • 构造器详细资料

      • StepAndDestroyBlockGoal

        public StepAndDestroyBlockGoal​(Block targetBlock,
                                       PathAwareEntity mob,
                                       double speed,
                                       int maxYDifference)
        Mappings:
        Namespace Name Mixin selector
        official <init> Lazr;<init>(Lbyq;Latg;DI)V
        intermediary <init> Lnet/minecraft/class_1382;<init>(Lnet/minecraft/class_2248;Lnet/minecraft/class_1314;DI)V
        named <init> Lnet/minecraft/entity/ai/goal/StepAndDestroyBlockGoal;<init>(Lnet/minecraft/block/Block;Lnet/minecraft/entity/mob/PathAwareEntity;DI)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
      • hasAvailableTarget

        private boolean hasAvailableTarget()
        Mappings:
        Namespace Name Mixin selector
        official n Lazr;n()Z
        intermediary method_20307 Lnet/minecraft/class_1382;method_20307()Z
        named hasAvailableTarget Lnet/minecraft/entity/ai/goal/StepAndDestroyBlockGoal;hasAvailableTarget()Z
      • 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
      • 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
      • tickStepping

        public void tickStepping​(WorldAccess world,
                                 BlockPos pos)
        Mappings:
        Namespace Name Mixin selector
        official a Lazr;a(Lbvs;Lgb;)V
        intermediary method_6307 Lnet/minecraft/class_1382;method_6307(Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;)V
        named tickStepping Lnet/minecraft/entity/ai/goal/StepAndDestroyBlockGoal;tickStepping(Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;)V
      • onDestroyBlock

        public void onDestroyBlock​(World world,
                                   BlockPos pos)
        Mappings:
        Namespace Name Mixin selector
        official a Lazr;a(Lbvr;Lgb;)V
        intermediary method_6309 Lnet/minecraft/class_1382;method_6309(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;)V
        named onDestroyBlock Lnet/minecraft/entity/ai/goal/StepAndDestroyBlockGoal;onDestroyBlock(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)V
      • 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
      • tweakToProperPos

        @Nullable
        private @Nullable BlockPos tweakToProperPos​(BlockPos pos,
                                                    BlockView world)
        Mappings:
        Namespace Name Mixin selector
        official a Lazr;a(Lgb;Lbuv;)Lgb;
        intermediary method_6308 Lnet/minecraft/class_1382;method_6308(Lnet/minecraft/class_2338;Lnet/minecraft/class_1922;)Lnet/minecraft/class_2338;
        named tweakToProperPos Lnet/minecraft/entity/ai/goal/StepAndDestroyBlockGoal;tweakToProperPos(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/BlockView;)Lnet/minecraft/util/math/BlockPos;
      • 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