Interface IPlatformHelper

All Known Implementing Classes:
FabricPlatformHelper

public interface IPlatformHelper
  • Method Summary

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

    • getVillagerID

      String getVillagerID()
      Get's 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)
      Get's the ID of a given profession
      Returns:
      The id of the profession