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.
    • CLEAN_JAVA_IDENTIFIERS

      public static final ArrayRegistry<String> CLEAN_JAVA_IDENTIFIERS
      A registry which stores unique Java IDs to its clean identifier This is used in the statistics form.
    • WATERLOGGED

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

      public static final SimpleRegistry<it.unimi.dsi.fastutil.ints.IntSet> INTERACTIVE
      A registry containing all blockstates which are always interactive.
    • INTERACTIVE_MAY_BUILD

      public static final SimpleRegistry<it.unimi.dsi.fastutil.ints.IntSet> INTERACTIVE_MAY_BUILD
      A registry containing all blockstates which are interactive if the player has the may build permission.
  • Constructor Details

    • BlockRegistries

      public BlockRegistries()
  • Method Details

    • init

      public static void init()