Class DynamaxBattleStartStrategy
java.lang.Object
com.pixelmonmod.pixelmon.battles.raids.dynamax.strategy.start.DynamaxBattleStartStrategy
- All Implemented Interfaces:
BattleStartStrategy
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec<DynamaxBattleStartStrategy> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionStarts the raid battle and returns the controller representing that battle flow.type()Gets the registered strategy type used to serialize and deserialize this strategy from datapack data.
-
Field Details
-
CODEC
-
-
Constructor Details
-
DynamaxBattleStartStrategy
public DynamaxBattleStartStrategy()
-
-
Method Details
-
type
Description copied from interface:BattleStartStrategyGets the registered strategy type used to serialize and deserialize this strategy from datapack data.- Specified by:
typein interfaceBattleStartStrategy- Returns:
- The battle start strategy type.
-
start
Description copied from interface:BattleStartStrategyStarts 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:
startin interfaceBattleStartStrategy- Parameters:
den- The den entity that owns the raid.raid- The raid instance being started.- Returns:
- The battle controller created for the raid encounter.
-