Klasse BossAbilities
java.lang.Object
de.delinkedde.mobarenareborn.boss.BossAbilities
Executes the concrete effect of each
BossAbilityType.
The magnitudes (radii, knockback, durations, summon count) are tuned constants; the per-boss
tuning that designers control lives in bosses.yml (entity, multipliers, phases, ability
set and cast interval). All effects use the public Bukkit API only.
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic voidcast(@NotNull BossAbilityType type, @NotNull LivingEntity boss, @NotNull List<Player> targets, @NotNull Consumer<Location> summonAdd) Casts a single boss ability.
-
Methodendetails
-
cast
public static void cast(@NotNull @NotNull BossAbilityType type, @NotNull @NotNull LivingEntity boss, @NotNull @NotNull List<Player> targets, @NotNull @NotNull Consumer<Location> summonAdd) Casts a single boss ability.- Parameter:
type- the ability to castboss- the boss entitytargets- the players currently in the roundsummonAdd- a sink that spawns a supporting mob at the given location (used byBossAbilityType.SUMMON_ADDS)
-