Class Atmosphere
java.lang.Object
io.github.addoncommunity.galactifun.api.universe.attributes.atmosphere.Atmosphere
An atmosphere of a celestial object, use
AtmosphereBuilder to create-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAtmosphere(boolean weatherEnabled, boolean storming, boolean thundering, org.bukkit.World.Environment environment, Map<Gas, Double> composition, double pressure, Map<AtmosphericEffect, Integer> effects) -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyEffects(org.bukkit.entity.Player player) voidapplyEffects(org.bukkit.World world) doublecompositionOf(Gas gas) effects()org.bukkit.World.Environmentbooleanintdoublepressure()doublebooleanbooleanstorming()booleanbooleanio.github.thebusybiscuit.slimefun5.libraries.dough.collections.RandomizedSet<Gas>
-
Field Details
-
NONE
-
EARTH_LIKE
-
-
Constructor Details
-
Atmosphere
-
-
Method Details
-
applyEffects
public void applyEffects(@Nonnull org.bukkit.World world) -
applyEffects
public void applyEffects(@Nonnull org.bukkit.entity.Player player) -
compositionOf
-
pressurizedCompositionOf
-
requiresOxygenTank
public boolean requiresOxygenTank() -
toBuilder
-
weatherEnabled
public boolean weatherEnabled() -
storming
public boolean storming() -
thundering
public boolean thundering() -
flammable
public boolean flammable() -
growthAttempts
public int growthAttempts() -
pressure
public double pressure() -
environment
public org.bukkit.World.Environment environment() -
effects
-
composition
-
weightedCompositionSet
public io.github.thebusybiscuit.slimefun5.libraries.dough.collections.RandomizedSet<Gas> weightedCompositionSet()
-