Interface IPlatformHelper


public interface IPlatformHelper
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraft.resources.ResourceLocation
    getProfessionID(net.minecraft.world.entity.npc.VillagerProfession profession)
    Gets the ID of a given profession
    Gets the ID of a given villager
  • Method Details

    • getVillagerID

      String getVillagerID()
      Gets the ID of a given villager
      Returns:
      The id of the villager EntityType
    • getProfessionID

      net.minecraft.resources.ResourceLocation getProfessionID(net.minecraft.world.entity.npc.VillagerProfession profession)
      Gets the ID of a given profession
      Returns:
      The id of the profession