Class AtmosphericEffect
java.lang.Object
io.github.addoncommunity.galactifun.api.universe.attributes.atmosphere.AtmosphericEffect
An effect that can be applied by an atmosphere
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final AtmosphericEffectstatic final AtmosphericEffectstatic final AtmosphericEffect -
Constructor Summary
ConstructorsConstructorDescriptionAtmosphericEffect(String id, SpaceSuitStat stat, BiConsumer<org.bukkit.entity.Player, Integer> applier) AtmosphericEffect(String id, SpaceSuitStat stat, org.bukkit.potion.PotionEffectType effectType) -
Method Summary
Modifier and TypeMethodDescriptionstatic Set<AtmosphericEffect> voidapply(org.bukkit.entity.Player p, int level) static AtmosphericEffectinthashCode()id()stat()toString()
-
Field Details
-
RADIATION
-
HEAT
-
COLD
-
-
Constructor Details
-
AtmosphericEffect
public AtmosphericEffect(@Nonnull String id, @Nullable SpaceSuitStat stat, @Nonnull org.bukkit.potion.PotionEffectType effectType) -
AtmosphericEffect
public AtmosphericEffect(@Nonnull String id, @Nullable SpaceSuitStat stat, @Nonnull BiConsumer<org.bukkit.entity.Player, Integer> applier)
-
-
Method Details
-
getById
-
allEffects
-
apply
public void apply(@Nonnull org.bukkit.entity.Player p, int level) -
toString
-
hashCode
-
id
-
stat
-