Interface IPlatformHelper
- All Known Implementing Classes:
NeoForgePlatformHelper
public interface IPlatformHelper
-
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.resources.ResourceLocationgetEntityKey(net.minecraft.world.entity.EntityType<?> entityType) Get the registry name of the entitytypenet.minecraft.resources.ResourceLocationgetProfessionKey(net.minecraft.world.entity.npc.VillagerProfession villagerProfession) Get the registry name of the professionmezz.jei.api.recipe.RecipeType<ProfessionWrapper> Get the RecipeType for JEI
-
Method Details
-
getEntityKey
net.minecraft.resources.ResourceLocation getEntityKey(net.minecraft.world.entity.EntityType<?> entityType) Get the registry name of the entitytype- Parameters:
entityType- The entity type- Returns:
- The registry name
-
getProfessionKey
net.minecraft.resources.ResourceLocation getProfessionKey(net.minecraft.world.entity.npc.VillagerProfession villagerProfession) Get the registry name of the profession- Parameters:
villagerProfession- The villager profession- Returns:
- The registry name
-
getProfessionType
mezz.jei.api.recipe.RecipeType<ProfessionWrapper> getProfessionType()Get the RecipeType for JEI- Returns:
- The profession RecipeType
-