Class FabricPlatformHelper
java.lang.Object
com.mrbysco.justenoughprofessions.platform.FabricPlatformHelper
- All Implemented Interfaces:
IPlatformHelper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.resources.IdentifiergetEntityKey(net.minecraft.world.entity.EntityType<?> entityType) Get the registry name of the entitytypemezz.jei.api.recipe.types.IRecipeType<ProfessionWrapper> Get the RecipeType for JEI
-
Constructor Details
-
FabricPlatformHelper
public FabricPlatformHelper()
-
-
Method Details
-
getEntityKey
public net.minecraft.resources.Identifier getEntityKey(net.minecraft.world.entity.EntityType<?> entityType) Description copied from interface:IPlatformHelperGet the registry name of the entitytype- Specified by:
getEntityKeyin interfaceIPlatformHelper- Parameters:
entityType- The entity type- Returns:
- The registry name
-
getProfessionType
Description copied from interface:IPlatformHelperGet the RecipeType for JEI- Specified by:
getProfessionTypein interfaceIPlatformHelper- Returns:
- The professionHolder RecipeType
-