Interface IPlatformHelper
- All Known Implementing Classes:
NeoForgePlatformHelper
public interface IPlatformHelper
-
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.resources.ResourceLocationgetEntityKey(net.minecraft.world.entity.EntityType<?> entityType) Get the registry name of the entitytypenet.minecraft.resources.ResourceLocationgetProfessionKey(net.minecraft.world.entity.npc.VillagerProfession villagerProfession) Get the registry name of the profession
-
Method Details
-
getEntityKey
net.minecraft.resources.ResourceLocation getEntityKey(net.minecraft.world.entity.EntityType<?> entityType) Get the registry name of the entitytype- Parameters:
entityType- The entity type- Returns:
- The registry name
-
getProfessionKey
net.minecraft.resources.ResourceLocation getProfessionKey(net.minecraft.world.entity.npc.VillagerProfession villagerProfession) Get the registry name of the profession- Parameters:
villagerProfession- The villager profession- Returns:
- The registry name
-