Class BiomeSourcedFluidVolume


public class BiomeSourcedFluidVolume extends ColouredFluidVolume
A fluid that changes it's makup based on the Biomes that it is taken from.
  • Constructor Details

    • BiomeSourcedFluidVolume

      public BiomeSourcedFluidVolume(BiomeSourcedFluidKey key, net.minecraft.world.biome.Biome source, FluidAmount amount)
    • BiomeSourcedFluidVolume

      @Deprecated(since="0.6.4", forRemoval=true) public BiomeSourcedFluidVolume(BiomeSourcedFluidKey key, net.minecraft.world.biome.Biome source, int amount)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • BiomeSourcedFluidVolume

      public BiomeSourcedFluidVolume(BiomeSourcedFluidKey key, FluidAmount amount)
    • BiomeSourcedFluidVolume

      @Deprecated(since="0.6.4", forRemoval=true) public BiomeSourcedFluidVolume(BiomeSourcedFluidKey key, int amount)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • BiomeSourcedFluidVolume

      public BiomeSourcedFluidVolume(BiomeSourcedFluidKey key, net.minecraft.nbt.NbtCompound tag)
    • BiomeSourcedFluidVolume

      public BiomeSourcedFluidVolume(BiomeSourcedFluidKey key, com.google.gson.JsonObject json)
  • Method Details

    • getFluidKey

      public BiomeSourcedFluidKey getFluidKey()
      Overrides:
      getFluidKey in class ColouredFluidVolume
      Returns:
      The FluidKey for this volume. Subclasses may override this to use a return type for their key class.
    • setColourFromBiome

      public void setColourFromBiome(net.minecraft.world.biome.Biome source)