Class StrafePlayerPhase

java.lang.Object
net.minecraft.entity.boss.dragon.phase.AbstractPhase
net.minecraft.entity.boss.dragon.phase.StrafePlayerPhase
All Implemented Interfaces:
Phase

public class StrafePlayerPhase extends AbstractPhase
Mappings:
Namespace Name
official bxv
intermediary net/minecraft/class_1525
named net/minecraft/entity/boss/dragon/phase/StrafePlayerPhase
  • Field Details

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official b Lbxv;b:Lorg/slf4j/Logger;
      intermediary field_7061 Lnet/minecraft/class_1525;field_7061:Lorg/slf4j/Logger;
      named LOGGER Lnet/minecraft/entity/boss/dragon/phase/StrafePlayerPhase;LOGGER:Lorg/slf4j/Logger;
    • MINIMUM_TARGET_SPOT_AMOUNT

      private static final int MINIMUM_TARGET_SPOT_AMOUNT
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official c Lbxv;c:I
      intermediary field_30440 Lnet/minecraft/class_1525;field_30440:I
      named MINIMUM_TARGET_SPOT_AMOUNT Lnet/minecraft/entity/boss/dragon/phase/StrafePlayerPhase;MINIMUM_TARGET_SPOT_AMOUNT:I
    • seenTargetTimes

      private int seenTargetTimes
      Mappings:
      Namespace Name Mixin selector
      official d Lbxv;d:I
      intermediary field_7060 Lnet/minecraft/class_1525;field_7060:I
      named seenTargetTimes Lnet/minecraft/entity/boss/dragon/phase/StrafePlayerPhase;seenTargetTimes:I
    • path

      @Nullable private @Nullable Path path
      Mappings:
      Namespace Name Mixin selector
      official e Lbxv;e:Lebb;
      intermediary field_7059 Lnet/minecraft/class_1525;field_7059:Lnet/minecraft/class_11;
      named path Lnet/minecraft/entity/boss/dragon/phase/StrafePlayerPhase;path:Lnet/minecraft/entity/ai/pathing/Path;
    • pathTarget

      @Nullable private @Nullable Vec3d pathTarget
      Mappings:
      Namespace Name Mixin selector
      official f Lbxv;f:Lehn;
      intermediary field_7057 Lnet/minecraft/class_1525;field_7057:Lnet/minecraft/class_243;
      named pathTarget Lnet/minecraft/entity/boss/dragon/phase/StrafePlayerPhase;pathTarget:Lnet/minecraft/util/math/Vec3d;
    • target

      @Nullable private @Nullable LivingEntity target
      Mappings:
      Namespace Name Mixin selector
      official g Lbxv;g:Lbjg;
      intermediary field_7062 Lnet/minecraft/class_1525;field_7062:Lnet/minecraft/class_1309;
      named target Lnet/minecraft/entity/boss/dragon/phase/StrafePlayerPhase;target:Lnet/minecraft/entity/LivingEntity;
    • shouldFindNewPath

      private boolean shouldFindNewPath
      Mappings:
      Namespace Name Mixin selector
      official h Lbxv;h:Z
      intermediary field_7058 Lnet/minecraft/class_1525;field_7058:Z
      named shouldFindNewPath Lnet/minecraft/entity/boss/dragon/phase/StrafePlayerPhase;shouldFindNewPath:Z
  • Constructor Details

    • StrafePlayerPhase

      public StrafePlayerPhase(EnderDragonEntity dragon)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbxj;<init>(Lbxh;)V
      intermediary <init> Lnet/minecraft/class_1512;<init>(Lnet/minecraft/class_1510;)V
      named <init> Lnet/minecraft/entity/boss/dragon/phase/AbstractPhase;<init>(Lnet/minecraft/entity/boss/dragon/EnderDragonEntity;)V
  • Method Details

    • serverTick

      public void serverTick()
      Specified by:
      serverTick in interface Phase
      Overrides:
      serverTick in class AbstractPhase
      Mappings:
      Namespace Name Mixin selector
      official c Lbxr;c()V
      intermediary method_6855 Lnet/minecraft/class_1521;method_6855()V
      named serverTick Lnet/minecraft/entity/boss/dragon/phase/Phase;serverTick()V
    • updatePath

      private void updatePath()
      Mappings:
      Namespace Name Mixin selector
      official j Lbxv;j()V
      intermediary method_6860 Lnet/minecraft/class_1525;method_6860()V
      named updatePath Lnet/minecraft/entity/boss/dragon/phase/StrafePlayerPhase;updatePath()V
    • followPath

      private void followPath()
      Mappings:
      Namespace Name Mixin selector
      official k Lbxv;k()V
      intermediary method_6861 Lnet/minecraft/class_1525;method_6861()V
      named followPath Lnet/minecraft/entity/boss/dragon/phase/StrafePlayerPhase;followPath()V
    • beginPhase

      public void beginPhase()
      Specified by:
      beginPhase in interface Phase
      Overrides:
      beginPhase in class AbstractPhase
      Mappings:
      Namespace Name Mixin selector
      official d Lbxr;d()V
      intermediary method_6856 Lnet/minecraft/class_1521;method_6856()V
      named beginPhase Lnet/minecraft/entity/boss/dragon/phase/Phase;beginPhase()V
    • setTargetEntity

      public void setTargetEntity(LivingEntity targetEntity)
      Mappings:
      Namespace Name Mixin selector
      official a Lbxv;a(Lbjg;)V
      intermediary method_6862 Lnet/minecraft/class_1525;method_6862(Lnet/minecraft/class_1309;)V
      named setTargetEntity Lnet/minecraft/entity/boss/dragon/phase/StrafePlayerPhase;setTargetEntity(Lnet/minecraft/entity/LivingEntity;)V
    • getPathTarget

      @Nullable public @Nullable Vec3d getPathTarget()
      Specified by:
      getPathTarget in interface Phase
      Overrides:
      getPathTarget in class AbstractPhase
      Mappings:
      Namespace Name Mixin selector
      official g Lbxr;g()Lehn;
      intermediary method_6851 Lnet/minecraft/class_1521;method_6851()Lnet/minecraft/class_243;
      named getPathTarget Lnet/minecraft/entity/boss/dragon/phase/Phase;getPathTarget()Lnet/minecraft/util/math/Vec3d;
    • getType

      public PhaseType<StrafePlayerPhase> getType()
      Mappings:
      Namespace Name Mixin selector
      official i Lbxr;i()Lbxx;
      intermediary method_6849 Lnet/minecraft/class_1521;method_6849()Lnet/minecraft/class_1527;
      named getType Lnet/minecraft/entity/boss/dragon/phase/Phase;getType()Lnet/minecraft/entity/boss/dragon/phase/PhaseType;