Class TeraBattleStartStrategy

java.lang.Object
com.pixelmonmod.pixelmon.battles.raids.tera.strategy.start.TeraBattleStartStrategy
All Implemented Interfaces:
BattleStartStrategy

public class TeraBattleStartStrategy extends Object implements BattleStartStrategy
  • Field Details

  • Constructor Details

    • TeraBattleStartStrategy

      public TeraBattleStartStrategy()
  • Method Details

    • type

      public BattleStartStrategyType<?> type()
      Description copied from interface: BattleStartStrategy
      Gets the registered strategy type used to serialize and deserialize this strategy from datapack data.
      Specified by:
      type in interface BattleStartStrategy
      Returns:
      The battle start strategy type.
    • start

      public BattleController start(DenEntity den, RaidData raid)
      Description copied from interface: BattleStartStrategy
      Starts the raid battle and returns the controller representing that battle flow.

      The exact meaning of the returned controller is implementation-specific for raid types that start more than one battle, but it should be the controller callers use to observe the started encounter.

      Specified by:
      start in interface BattleStartStrategy
      Parameters:
      den - The den entity that owns the raid.
      raid - The raid instance being started.
      Returns:
      The battle controller created for the raid encounter.