Class BRegistries

java.lang.Object
com.thecsdev.betterstats.api.registry.BRegistries

public final class BRegistries extends Object
BetterStats's common-sided registries for adding features to the mod.

Important note:
These Registrys are NOT registered in the game's ROOT BuiltInRegistries.REGISTRY! Avoid any and all operations that involve the game's ROOT registry!

These Registrys are also NOT synchronized between the client and server!

  • Field Details

  • Method Details

    • bootstrap

      public static final void bootstrap()
    • id

      @Internal @NotNull public static final @NotNull net.minecraft.resources.Identifier id(@NotNull @NotNull String id)
      Creates an Identifier that uses BetterStats.MOD_ID as the "namespace".
      Parameters:
      id - The Identifier.getPath() value.