Class FabricPlatformHelper

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

public class FabricPlatformHelper extends Object implements IPlatformHelper
  • Constructor Details

    • FabricPlatformHelper

      public FabricPlatformHelper()
  • Method Details

    • getVillagerID

      public String getVillagerID()
      Description copied from interface: IPlatformHelper
      Get's the ID of a given villager
      Specified by:
      getVillagerID in interface IPlatformHelper
      Returns:
      The id of the villager EntityType
    • getProfessionID

      public net.minecraft.resources.ResourceLocation getProfessionID(net.minecraft.world.entity.npc.VillagerProfession profession)
      Description copied from interface: IPlatformHelper
      Get's the ID of a given profession
      Specified by:
      getProfessionID in interface IPlatformHelper
      Returns:
      The id of the profession