Class ModBiomes

java.lang.Object
com.hbm_m.world.biome.ModBiomes

public class ModBiomes extends Object
Ключи биомов кратера для кода (смазывание, подмена биомов при взрывах и т.д.).

Fabric 1.20.1: во встроенных реестрах нет статического BIOME — содержимое берётся из datapack ресурсов мода (те же data/hbm_m/worldgen/biome/*.json, регистрировать в коде через BuiltInRegistries.BIOME нельзя).

Forge / NeoForge: те же JSON остаются в jar; дополнительно биомы регистрируются через DeferredRegister и фабрики CraterBiomes, как раньше.

  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final dev.architectury.registry.registries.DeferredRegister<net.minecraft.world.level.biome.Biome>
     
    static final dev.architectury.registry.registries.RegistrySupplier<net.minecraft.world.level.biome.Biome>
     
    static final net.minecraft.resources.ResourceKey<net.minecraft.world.level.biome.Biome>
     
    static final dev.architectury.registry.registries.RegistrySupplier<net.minecraft.world.level.biome.Biome>
     
    static final net.minecraft.resources.ResourceKey<net.minecraft.world.level.biome.Biome>
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • INNER_CRATER_KEY

      public static final net.minecraft.resources.ResourceKey<net.minecraft.world.level.biome.Biome> INNER_CRATER_KEY
    • OUTER_CRATER_KEY

      public static final net.minecraft.resources.ResourceKey<net.minecraft.world.level.biome.Biome> OUTER_CRATER_KEY
    • BIOMES

      public static final dev.architectury.registry.registries.DeferredRegister<net.minecraft.world.level.biome.Biome> BIOMES
    • INNER_CRATER

      public static final dev.architectury.registry.registries.RegistrySupplier<net.minecraft.world.level.biome.Biome> INNER_CRATER
    • OUTER_CRATER

      public static final dev.architectury.registry.registries.RegistrySupplier<net.minecraft.world.level.biome.Biome> OUTER_CRATER
  • Constructor Details

    • ModBiomes

      public ModBiomes()
  • Method Details

    • init

      public static void init()