RegistryLookupService

Interface defining Minecraft registry search functions.

Functions

Link copied to clipboard
abstract fun lookupBiomeId(world: World, pos: BlockPos): Identifier

Finds the biome ID at the given world position.

Link copied to clipboard
abstract fun lookupBlockId(block: Block): Identifier

Finds the ID of the given block in the registry.

Link copied to clipboard
abstract fun lookupEntityId(entity: Entity): Identifier

Finds the ID of the given entity in the registry.

Link copied to clipboard

Finds the ID of the given villager profession in the registry.