Skip to content

API reference Obsidian.API.Registries

CodecRegistry.Dimensions class

public static class Dimensions

In Obsidian.API.

Properties

All

public static FrozenDictionary<string, DimensionCodec> All { get; }

The dimension types by name, vanilla's and plugins'.

ById

public static FrozenDictionary<int, DimensionCodec> ById { get; }

The dimension types by id, vanilla's and plugins'.

GlobalBitsPerEntry

public static int GlobalBitsPerEntry { get; }

The bits a global palette of dimension types would use, from their number, plugins' included.

public static DimensionCodec Overworld { get; }public static DimensionCodec OverworldCaves { get; }public static DimensionCodec TheEnd { get; }public static DimensionCodec TheNether { get; }

Fields

public const string CodecKey = "minecraft:dimension_type";

On this page