NOTE: This isn’t specific to Minecraft Fabric. I’m just new to rigid pre-runtime optimization. I’m writing an API hook for Minecraft mods that allows the mapping of various tasks to a Villager’s “profession” attribute, allowing other mods to add custom tasks for custom professions. I have all of the backend code done, so now I’m worried about optimization. I have