Package org.geysermc.geyser.registry
Class BlockRegistries
java.lang.Object
org.geysermc.geyser.registry.BlockRegistries
Holds all the block registries in Geyser.
-
Field Summary
Modifier and TypeFieldDescriptionstatic VersionedRegistry<BlockMappings>
A versioned registry which holdsBlockMappings
for each version.static ArrayRegistry<BlockMapping>
A registry which stores Java IDs toBlockMapping
, containing miscellaneous information about blocks and their behavior in many cases.static MappedRegistry<String,Integer,Object2IntBiMap<String>>
A (bi)mapped registry containing the Java IDs to identifiers.static SimpleMappedRegistry<String,String>
A mapped registry which stores Java to Bedrock block identifiers.static SimpleRegistry<it.unimi.dsi.fastutil.ints.IntSet>
A registry containing all the waterlogged blockstates. -
Constructor Summary
-
Method Summary
-
Field Details
-
BLOCKS
A versioned registry which holdsBlockMappings
for each version. These block mappings contain primarily Bedrock version-specific data. -
JAVA_TO_BEDROCK_IDENTIFIERS
A mapped registry which stores Java to Bedrock block identifiers. -
JAVA_BLOCKS
A registry which stores Java IDs toBlockMapping
, containing miscellaneous information about blocks and their behavior in many cases. -
JAVA_IDENTIFIERS
A (bi)mapped registry containing the Java IDs to identifiers. -
WATERLOGGED
A registry containing all the waterlogged blockstates.
-
-
Constructor Details
-
BlockRegistries
public BlockRegistries()
-
-
Method Details
-
init
public static void init()
-