Class NeoForgePlatformHelper
java.lang.Object
com.mrbysco.roughlyenoughprofessions.platform.NeoForgePlatformHelper
- All Implemented Interfaces:
IPlatformHelper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.resources.ResourceLocationgetProfessionID(net.minecraft.world.entity.npc.VillagerProfession profession) Gets the ID of a given professionGets the ID of a given villager
-
Constructor Details
-
NeoForgePlatformHelper
public NeoForgePlatformHelper()
-
-
Method Details
-
getVillagerID
Description copied from interface:IPlatformHelperGets the ID of a given villager- Specified by:
getVillagerIDin interfaceIPlatformHelper- 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:IPlatformHelperGets the ID of a given profession- Specified by:
getProfessionIDin interfaceIPlatformHelper- Returns:
- The id of the profession
-