RegistryLookupService

public interface RegistryLookupService(source)

Interface defining Minecraft registry search functions.

Functions

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

Finds the biome ID at the given world position.

Link copied to clipboard
public abstract Identifier lookupBlockId(Block block)

Finds the ID of the given block in the registry.

Link copied to clipboard
public abstract Identifier lookupEntityId(Entity entity)

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.