java.lang.Object
mods.thecomputerizer.theimpossiblelibrary.api.wrappers.AbstractWrapped<net.minecraft.world.level.biome.Biome>
mods.thecomputerizer.theimpossiblelibrary.api.common.biome.BiomeAPI<net.minecraft.world.level.biome.Biome>
mods.thecomputerizer.theimpossiblelibrary.shared.v21.common.biome.Biome1_21
All Implemented Interfaces:
mods.thecomputerizer.theimpossiblelibrary.api.core.CoreStateAccessor, mods.thecomputerizer.theimpossiblelibrary.api.registry.RegistryEntryAPI<net.minecraft.world.level.biome.Biome>, mods.thecomputerizer.theimpossiblelibrary.api.wrappers.Wrapped<net.minecraft.world.level.biome.Biome>

public class Biome1_21 extends mods.thecomputerizer.theimpossiblelibrary.api.common.biome.BiomeAPI<net.minecraft.world.level.biome.Biome>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected net.minecraft.core.RegistryAccess
     

    Fields inherited from class mods.thecomputerizer.theimpossiblelibrary.api.common.biome.BiomeAPI

    registryName

    Fields inherited from class mods.thecomputerizer.theimpossiblelibrary.api.wrappers.AbstractWrapped

    wrapped

    Fields inherited from interface mods.thecomputerizer.theimpossiblelibrary.api.core.CoreStateAccessor

    BOOLEAN_VALUES, FABRIC, FORGE, FORGE_OR_NEOFORGE, GAME_VERSION, JAVA_17, JAVA_21, JAVA_8, JAVA_MODULES, JAVA_VERSION, JAVA_VERSION_ASM, LEGACY, MOD_LOADER, NAMED_ENV, NEOFORGE, SRG_ENV, V12, V16, V16_OR_EARLIER, V16_OR_LATER, V18, V18_OR_EARLIER, V18_OR_LATER, V19, V19_2_OR_EARLIER, V19_4_OR_LATER, V19_OR_EARLIER, V19_OR_LATER, V20, V20_4_OR_EARLIER, V20_6_OR_LATER, V20_OR_EARLIER, V20_OR_LATER, V21, V21_OR_LATER
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    canRain(mods.thecomputerizer.theimpossiblelibrary.api.world.WorldAPI<?> world, mods.thecomputerizer.theimpossiblelibrary.api.world.BlockPosAPI<?> pos)
     
    boolean
    canSnow(mods.thecomputerizer.theimpossiblelibrary.api.world.WorldAPI<?> world, mods.thecomputerizer.theimpossiblelibrary.api.world.BlockPosAPI<?> pos)
     
    float
     
    mods.thecomputerizer.theimpossiblelibrary.api.resource.ResourceLocationAPI<?>
     
    mods.thecomputerizer.theimpossiblelibrary.api.resource.ResourceLocationAPI<?>
    getRegistryName(mods.thecomputerizer.theimpossiblelibrary.api.world.WorldAPI<?> world)
     
    protected mods.thecomputerizer.theimpossiblelibrary.api.resource.ResourceLocationAPI<?>
    getRegistryName(net.minecraft.core.RegistryAccess access)
     
    getTagNames(mods.thecomputerizer.theimpossiblelibrary.api.world.WorldAPI<?> world)
     
    protected Set<String>
    getTagNames(net.minecraft.core.Holder<net.minecraft.world.level.biome.Biome> holder)
     
    float
    getTemperatureAt(mods.thecomputerizer.theimpossiblelibrary.api.world.BlockPosAPI<?> pos)
     
    void
    setRegistryName(mods.thecomputerizer.theimpossiblelibrary.api.resource.ResourceLocationAPI<?> registryName)
     

    Methods inherited from class mods.thecomputerizer.theimpossiblelibrary.api.common.biome.BiomeAPI

    setLocalRegistryName

    Methods inherited from class mods.thecomputerizer.theimpossiblelibrary.api.wrappers.AbstractWrapped

    equals, getWrapped, getWrappedClass, toString

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface mods.thecomputerizer.theimpossiblelibrary.api.registry.RegistryEntryAPI

    getName, getName, getRegistry, setForgeRegistryName

    Methods inherited from interface mods.thecomputerizer.theimpossiblelibrary.api.wrappers.Wrapped

    getIfNotNull, getIfNotNullOrDefault, getIfNotNullOrDefault, getWrapped, getWrappedClass, isNull, isNullGetter, notNull, notNullGetter, supplyIfNull, unwrap, wrapIfNotNull, wrapIfNotNullOrDefault, wrapIfNotNullOrDefault
  • Field Details

    • access

      protected net.minecraft.core.RegistryAccess access
  • Constructor Details

    • Biome1_21

      public Biome1_21(Object biome)
  • Method Details

    • canRain

      public boolean canRain(mods.thecomputerizer.theimpossiblelibrary.api.world.WorldAPI<?> world, mods.thecomputerizer.theimpossiblelibrary.api.world.BlockPosAPI<?> pos)
      Overrides:
      canRain in class mods.thecomputerizer.theimpossiblelibrary.api.common.biome.BiomeAPI<net.minecraft.world.level.biome.Biome>
    • canSnow

      public boolean canSnow(mods.thecomputerizer.theimpossiblelibrary.api.world.WorldAPI<?> world, mods.thecomputerizer.theimpossiblelibrary.api.world.BlockPosAPI<?> pos)
      Overrides:
      canSnow in class mods.thecomputerizer.theimpossiblelibrary.api.common.biome.BiomeAPI<net.minecraft.world.level.biome.Biome>
    • getRainfall

      public float getRainfall()
      Specified by:
      getRainfall in class mods.thecomputerizer.theimpossiblelibrary.api.common.biome.BiomeAPI<net.minecraft.world.level.biome.Biome>
    • getRegistryName

      public mods.thecomputerizer.theimpossiblelibrary.api.resource.ResourceLocationAPI<?> getRegistryName()
      Specified by:
      getRegistryName in interface mods.thecomputerizer.theimpossiblelibrary.api.registry.RegistryEntryAPI<net.minecraft.world.level.biome.Biome>
      Overrides:
      getRegistryName in class mods.thecomputerizer.theimpossiblelibrary.api.common.biome.BiomeAPI<net.minecraft.world.level.biome.Biome>
    • getRegistryName

      public mods.thecomputerizer.theimpossiblelibrary.api.resource.ResourceLocationAPI<?> getRegistryName(mods.thecomputerizer.theimpossiblelibrary.api.world.WorldAPI<?> world)
      Specified by:
      getRegistryName in interface mods.thecomputerizer.theimpossiblelibrary.api.registry.RegistryEntryAPI<net.minecraft.world.level.biome.Biome>
      Specified by:
      getRegistryName in class mods.thecomputerizer.theimpossiblelibrary.api.common.biome.BiomeAPI<net.minecraft.world.level.biome.Biome>
    • getRegistryName

      protected mods.thecomputerizer.theimpossiblelibrary.api.resource.ResourceLocationAPI<?> getRegistryName(net.minecraft.core.RegistryAccess access)
    • getTagNames

      public Set<String> getTagNames(mods.thecomputerizer.theimpossiblelibrary.api.world.WorldAPI<?> world)
      Overrides:
      getTagNames in class mods.thecomputerizer.theimpossiblelibrary.api.common.biome.BiomeAPI<net.minecraft.world.level.biome.Biome>
    • getTagNames

      protected Set<String> getTagNames(net.minecraft.core.Holder<net.minecraft.world.level.biome.Biome> holder)
    • getTemperatureAt

      public float getTemperatureAt(mods.thecomputerizer.theimpossiblelibrary.api.world.BlockPosAPI<?> pos)
      Specified by:
      getTemperatureAt in class mods.thecomputerizer.theimpossiblelibrary.api.common.biome.BiomeAPI<net.minecraft.world.level.biome.Biome>
    • setRegistryName

      public void setRegistryName(mods.thecomputerizer.theimpossiblelibrary.api.resource.ResourceLocationAPI<?> registryName)