Class Atmosphere.Builder

java.lang.Object
com.lightning.northstar.planet.data.Atmosphere.Builder
Enclosing class:
Atmosphere

public static class Atmosphere.Builder extends Object
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • fluid

      public Atmosphere.Builder fluid(net.minecraft.world.level.material.Fluid fluid)
    • fluid

      public Atmosphere.Builder fluid(com.tterrag.registrate.util.entry.RegistryEntry<? extends net.minecraft.world.level.material.Fluid,? extends net.minecraft.world.level.material.Fluid> fluid)
    • fluidNbt

      public Atmosphere.Builder fluidNbt(net.minecraft.core.component.DataComponentPatch fluidNbt)
    • fluid

      public Atmosphere.Builder fluid(net.minecraft.world.level.material.Fluid fluid, net.minecraft.core.component.DataComponentPatch fluidNbt)
    • fluid

      public Atmosphere.Builder fluid(com.tterrag.registrate.util.entry.RegistryEntry<? extends net.minecraft.world.level.material.Fluid,? extends net.minecraft.world.level.material.Fluid> fluid, net.minecraft.core.component.DataComponentPatch fluidNbt)
    • collectionRate

      public Atmosphere.Builder collectionRate(float collectionRate)
    • pressurePa

      public Atmosphere.Builder pressurePa(float pressurePa)
      Defines the pressure in Pascals
    • pressureAtm

      public Atmosphere.Builder pressureAtm(float pressureAtm)
      Defines the pressure in standard atmospheres
    • daytimeStarBrightness

      public Atmosphere.Builder daytimeStarBrightness(float daytimeStarBrightness)
    • build

      public Atmosphere build()