Class PhaseType<T extends Phase>

java.lang.Object
net.minecraft.entity.boss.dragon.phase.PhaseType<T>

public class PhaseType<T extends Phase> extends Object
Mappings:
Namespace Name
official cbe
intermediary net/minecraft/class_1527
named net/minecraft/entity/boss/dragon/phase/PhaseType
  • Field Details

    • types

      private static PhaseType<?>[] types
      Mappings:
      Namespace Name Mixin selector
      official l Lcbe;l:[Lcbe;
      intermediary field_7080 Lnet/minecraft/class_1527;field_7080:[Lnet/minecraft/class_1527;
      named types Lnet/minecraft/entity/boss/dragon/phase/PhaseType;types:[Lnet/minecraft/entity/boss/dragon/phase/PhaseType;
    • HOLDING_PATTERN

      public static final PhaseType<HoldingPatternPhase> HOLDING_PATTERN
      Mappings:
      Namespace Name Mixin selector
      official a Lcbe;a:Lcbe;
      intermediary field_7069 Lnet/minecraft/class_1527;field_7069:Lnet/minecraft/class_1527;
      named HOLDING_PATTERN Lnet/minecraft/entity/boss/dragon/phase/PhaseType;HOLDING_PATTERN:Lnet/minecraft/entity/boss/dragon/phase/PhaseType;
    • STRAFE_PLAYER

      public static final PhaseType<StrafePlayerPhase> STRAFE_PLAYER
      Mappings:
      Namespace Name Mixin selector
      official b Lcbe;b:Lcbe;
      intermediary field_7076 Lnet/minecraft/class_1527;field_7076:Lnet/minecraft/class_1527;
      named STRAFE_PLAYER Lnet/minecraft/entity/boss/dragon/phase/PhaseType;STRAFE_PLAYER:Lnet/minecraft/entity/boss/dragon/phase/PhaseType;
    • LANDING_APPROACH

      public static final PhaseType<LandingApproachPhase> LANDING_APPROACH
      Mappings:
      Namespace Name Mixin selector
      official c Lcbe;c:Lcbe;
      intermediary field_7071 Lnet/minecraft/class_1527;field_7071:Lnet/minecraft/class_1527;
      named LANDING_APPROACH Lnet/minecraft/entity/boss/dragon/phase/PhaseType;LANDING_APPROACH:Lnet/minecraft/entity/boss/dragon/phase/PhaseType;
    • LANDING

      public static final PhaseType<LandingPhase> LANDING
      Mappings:
      Namespace Name Mixin selector
      official d Lcbe;d:Lcbe;
      intermediary field_7067 Lnet/minecraft/class_1527;field_7067:Lnet/minecraft/class_1527;
      named LANDING Lnet/minecraft/entity/boss/dragon/phase/PhaseType;LANDING:Lnet/minecraft/entity/boss/dragon/phase/PhaseType;
    • TAKEOFF

      public static final PhaseType<TakeoffPhase> TAKEOFF
      Mappings:
      Namespace Name Mixin selector
      official e Lcbe;e:Lcbe;
      intermediary field_7077 Lnet/minecraft/class_1527;field_7077:Lnet/minecraft/class_1527;
      named TAKEOFF Lnet/minecraft/entity/boss/dragon/phase/PhaseType;TAKEOFF:Lnet/minecraft/entity/boss/dragon/phase/PhaseType;
    • SITTING_FLAMING

      public static final PhaseType<SittingFlamingPhase> SITTING_FLAMING
      Mappings:
      Namespace Name Mixin selector
      official f Lcbe;f:Lcbe;
      intermediary field_7072 Lnet/minecraft/class_1527;field_7072:Lnet/minecraft/class_1527;
      named SITTING_FLAMING Lnet/minecraft/entity/boss/dragon/phase/PhaseType;SITTING_FLAMING:Lnet/minecraft/entity/boss/dragon/phase/PhaseType;
    • SITTING_SCANNING

      public static final PhaseType<SittingScanningPhase> SITTING_SCANNING
      Mappings:
      Namespace Name Mixin selector
      official g Lcbe;g:Lcbe;
      intermediary field_7081 Lnet/minecraft/class_1527;field_7081:Lnet/minecraft/class_1527;
      named SITTING_SCANNING Lnet/minecraft/entity/boss/dragon/phase/PhaseType;SITTING_SCANNING:Lnet/minecraft/entity/boss/dragon/phase/PhaseType;
    • SITTING_ATTACKING

      public static final PhaseType<SittingAttackingPhase> SITTING_ATTACKING
      Mappings:
      Namespace Name Mixin selector
      official h Lcbe;h:Lcbe;
      intermediary field_7073 Lnet/minecraft/class_1527;field_7073:Lnet/minecraft/class_1527;
      named SITTING_ATTACKING Lnet/minecraft/entity/boss/dragon/phase/PhaseType;SITTING_ATTACKING:Lnet/minecraft/entity/boss/dragon/phase/PhaseType;
    • CHARGING_PLAYER

      public static final PhaseType<ChargingPlayerPhase> CHARGING_PLAYER
      Mappings:
      Namespace Name Mixin selector
      official i Lcbe;i:Lcbe;
      intermediary field_7078 Lnet/minecraft/class_1527;field_7078:Lnet/minecraft/class_1527;
      named CHARGING_PLAYER Lnet/minecraft/entity/boss/dragon/phase/PhaseType;CHARGING_PLAYER:Lnet/minecraft/entity/boss/dragon/phase/PhaseType;
    • DYING

      public static final PhaseType<DyingPhase> DYING
      Mappings:
      Namespace Name Mixin selector
      official j Lcbe;j:Lcbe;
      intermediary field_7068 Lnet/minecraft/class_1527;field_7068:Lnet/minecraft/class_1527;
      named DYING Lnet/minecraft/entity/boss/dragon/phase/PhaseType;DYING:Lnet/minecraft/entity/boss/dragon/phase/PhaseType;
    • HOVER

      public static final PhaseType<HoverPhase> HOVER
      Mappings:
      Namespace Name Mixin selector
      official k Lcbe;k:Lcbe;
      intermediary field_7075 Lnet/minecraft/class_1527;field_7075:Lnet/minecraft/class_1527;
      named HOVER Lnet/minecraft/entity/boss/dragon/phase/PhaseType;HOVER:Lnet/minecraft/entity/boss/dragon/phase/PhaseType;
    • phaseClass

      private final Class<? extends Phase> phaseClass
      Mappings:
      Namespace Name Mixin selector
      official m Lcbe;m:Ljava/lang/Class;
      intermediary field_7074 Lnet/minecraft/class_1527;field_7074:Ljava/lang/Class;
      named phaseClass Lnet/minecraft/entity/boss/dragon/phase/PhaseType;phaseClass:Ljava/lang/Class;
    • id

      private final int id
      Mappings:
      Namespace Name Mixin selector
      official n Lcbe;n:I
      intermediary field_7079 Lnet/minecraft/class_1527;field_7079:I
      named id Lnet/minecraft/entity/boss/dragon/phase/PhaseType;id:I
    • name

      private final String name
      Mappings:
      Namespace Name Mixin selector
      official o Lcbe;o:Ljava/lang/String;
      intermediary field_7070 Lnet/minecraft/class_1527;field_7070:Ljava/lang/String;
      named name Lnet/minecraft/entity/boss/dragon/phase/PhaseType;name:Ljava/lang/String;
  • Constructor Details

    • PhaseType

      private PhaseType(int id, Class<? extends Phase> phaseClass, String name)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcbe;<init>(ILjava/lang/Class;Ljava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_1527;<init>(ILjava/lang/Class;Ljava/lang/String;)V
      named <init> Lnet/minecraft/entity/boss/dragon/phase/PhaseType;<init>(ILjava/lang/Class;Ljava/lang/String;)V
  • Method Details

    • create

      public Phase create(EnderDragonEntity dragon)
      Mappings:
      Namespace Name Mixin selector
      official a Lcbe;a(Lcao;)Lcay;
      intermediary method_6866 Lnet/minecraft/class_1527;method_6866(Lnet/minecraft/class_1510;)Lnet/minecraft/class_1521;
      named create Lnet/minecraft/entity/boss/dragon/phase/PhaseType;create(Lnet/minecraft/entity/boss/dragon/EnderDragonEntity;)Lnet/minecraft/entity/boss/dragon/phase/Phase;
    • getConstructor

      protected Constructor<? extends Phase> getConstructor() throws NoSuchMethodException
      Throws:
      NoSuchMethodException
      Mappings:
      Namespace Name Mixin selector
      official a Lcbe;a()Ljava/lang/reflect/Constructor;
      intermediary method_6867 Lnet/minecraft/class_1527;method_6867()Ljava/lang/reflect/Constructor;
      named getConstructor Lnet/minecraft/entity/boss/dragon/phase/PhaseType;getConstructor()Ljava/lang/reflect/Constructor;
    • getTypeId

      public int getTypeId()
      Mappings:
      Namespace Name Mixin selector
      official b Lcbe;b()I
      intermediary method_6871 Lnet/minecraft/class_1527;method_6871()I
      named getTypeId Lnet/minecraft/entity/boss/dragon/phase/PhaseType;getTypeId()I
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getFromId

      public static PhaseType<?> getFromId(int id)
      Mappings:
      Namespace Name Mixin selector
      official a Lcbe;a(I)Lcbe;
      intermediary method_6868 Lnet/minecraft/class_1527;method_6868(I)Lnet/minecraft/class_1527;
      named getFromId Lnet/minecraft/entity/boss/dragon/phase/PhaseType;getFromId(I)Lnet/minecraft/entity/boss/dragon/phase/PhaseType;
    • count

      public static int count()
      Mappings:
      Namespace Name Mixin selector
      official c Lcbe;c()I
      intermediary method_6869 Lnet/minecraft/class_1527;method_6869()I
      named count Lnet/minecraft/entity/boss/dragon/phase/PhaseType;count()I
    • register

      private static <T extends Phase> PhaseType<T> register(Class<T> phaseClass, String name)
      Mappings:
      Namespace Name Mixin selector
      official a Lcbe;a(Ljava/lang/Class;Ljava/lang/String;)Lcbe;
      intermediary method_6870 Lnet/minecraft/class_1527;method_6870(Ljava/lang/Class;Ljava/lang/String;)Lnet/minecraft/class_1527;
      named register Lnet/minecraft/entity/boss/dragon/phase/PhaseType;register(Ljava/lang/Class;Ljava/lang/String;)Lnet/minecraft/entity/boss/dragon/phase/PhaseType;