Class FabricPlatformHelper

java.lang.Object
com.mrbysco.justenoughprofessions.platform.FabricPlatformHelper
All Implemented Interfaces:
IPlatformHelper

public class FabricPlatformHelper extends Object implements IPlatformHelper
  • Constructor Details

    • FabricPlatformHelper

      public FabricPlatformHelper()
  • Method Details

    • getEntityKey

      public net.minecraft.resources.Identifier getEntityKey(net.minecraft.world.entity.EntityType<?> entityType)
      Description copied from interface: IPlatformHelper
      Get the registry name of the entitytype
      Specified by:
      getEntityKey in interface IPlatformHelper
      Parameters:
      entityType - The entity type
      Returns:
      The registry name
    • getProfessionType

      public mezz.jei.api.recipe.types.IRecipeType<ProfessionWrapper> getProfessionType()
      Description copied from interface: IPlatformHelper
      Get the RecipeType for JEI
      Specified by:
      getProfessionType in interface IPlatformHelper
      Returns:
      The professionHolder RecipeType