Class AdvancedCustomWorldChunkManager

java.lang.Object
net.minecraft.world.level.biome.BiomeSource
net.minecraft.world.level.biome.FixedBiomeSource
de.freesoccerhdx.advancedworldcreatorapi.AdvancedCustomWorldChunkManager
All Implemented Interfaces:
net.minecraft.world.level.biome.BiomeManager.NoiseBiomeSource, net.minecraft.world.level.biome.BiomeResolver

public class AdvancedCustomWorldChunkManager extends net.minecraft.world.level.biome.FixedBiomeSource
Used internal to create a valid BiomeSource
  • Field Summary

    Fields inherited from class net.minecraft.world.level.biome.FixedBiomeSource

    CODEC
  • Constructor Summary

    Constructors
    Constructor
    Description
    AdvancedCustomWorldChunkManager(org.bukkit.generator.WorldInfo worldInfo, AdvancedBiomeProvider biomeProvider, net.minecraft.core.Registry<net.minecraft.world.level.biome.Biome> registry)
    Constructor for the CustomWorldChunkManager
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraft.core.Holder<net.minecraft.world.level.biome.Biome>
    getNoiseBiome(int x, int y, int z)
     
    net.minecraft.core.Holder<net.minecraft.world.level.biome.Biome>
    getNoiseBiome(int x, int y, int z, net.minecraft.world.level.biome.Climate.Sampler sampler)
     
    Set<net.minecraft.core.Holder<net.minecraft.world.level.biome.Biome>>
     

    Methods inherited from class net.minecraft.world.level.biome.FixedBiomeSource

    findBiomeHorizontal, findClosestBiome3d, getBiomesWithin

    Methods inherited from class net.minecraft.world.level.biome.BiomeSource

    addDebugInfo, findBiomeHorizontal

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • AdvancedCustomWorldChunkManager

      public AdvancedCustomWorldChunkManager(org.bukkit.generator.WorldInfo worldInfo, AdvancedBiomeProvider biomeProvider, net.minecraft.core.Registry<net.minecraft.world.level.biome.Biome> registry)
      Constructor for the CustomWorldChunkManager
      Parameters:
      worldInfo - The WorldInfo of the World
      biomeProvider - The AdvancedBiomeProvider to use
      registry - The Registry of Biomes
  • Method Details

    • possibleBiomes

      public Set<net.minecraft.core.Holder<net.minecraft.world.level.biome.Biome>> possibleBiomes()
      Overrides:
      possibleBiomes in class net.minecraft.world.level.biome.BiomeSource
    • getNoiseBiome

      public net.minecraft.core.Holder<net.minecraft.world.level.biome.Biome> getNoiseBiome(int x, int y, int z, net.minecraft.world.level.biome.Climate.Sampler sampler)
      Specified by:
      getNoiseBiome in interface net.minecraft.world.level.biome.BiomeResolver
      Overrides:
      getNoiseBiome in class net.minecraft.world.level.biome.FixedBiomeSource
    • getNoiseBiome

      public net.minecraft.core.Holder<net.minecraft.world.level.biome.Biome> getNoiseBiome(int x, int y, int z)
      Specified by:
      getNoiseBiome in interface net.minecraft.world.level.biome.BiomeManager.NoiseBiomeSource
      Overrides:
      getNoiseBiome in class net.minecraft.world.level.biome.FixedBiomeSource