Class BlockRegistries

java.lang.Object
org.geysermc.geyser.registry.BlockRegistries

public class BlockRegistries extends Object
Holds all the block registries in Geyser.
  • Field Details

    • BLOCKS

      public static final VersionedRegistry<BlockMappings> BLOCKS
      A versioned registry which holds BlockMappings for each version. These block mappings contain primarily Bedrock version-specific data.
    • JAVA_TO_BEDROCK_IDENTIFIERS

      public static final SimpleMappedRegistry<String,​String> JAVA_TO_BEDROCK_IDENTIFIERS
      A mapped registry which stores Java to Bedrock block identifiers.
    • JAVA_BLOCKS

      public static final ArrayRegistry<BlockMapping> JAVA_BLOCKS
      A registry which stores Java IDs to BlockMapping, containing miscellaneous information about blocks and their behavior in many cases.
    • JAVA_IDENTIFIERS

      public static final MappedRegistry<String,​Integer,​Object2IntBiMap<String>> JAVA_IDENTIFIERS
      A (bi)mapped registry containing the Java IDs to identifiers.
    • WATERLOGGED

      public static final SimpleRegistry<it.unimi.dsi.fastutil.ints.IntSet> WATERLOGGED
      A registry containing all the waterlogged blockstates.
  • Constructor Details

    • BlockRegistries

      public BlockRegistries()
  • Method Details

    • init

      public static void init()