Class NeoForgePlatformHelper

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

public class NeoForgePlatformHelper extends Object implements IPlatformHelper
  • Constructor Details

    • NeoForgePlatformHelper

      public NeoForgePlatformHelper()
  • Method Details

    • getVillagerID

      public String getVillagerID()
      Description copied from interface: IPlatformHelper
      Gets 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
      Gets the ID of a given profession
      Specified by:
      getProfessionID in interface IPlatformHelper
      Returns:
      The id of the profession