Package com.mrbysco.emiprofessions
Class VillagerCache
java.lang.Object
com.mrbysco.emiprofessions.VillagerCache
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidstatic @Nullable net.minecraft.world.entity.npc.VillagergetVillagerEntity(net.minecraft.world.entity.npc.VillagerProfession profession)
-
Constructor Details
-
VillagerCache
public VillagerCache()
-
-
Method Details
-
getVillagerEntity
@Nullable public static @Nullable net.minecraft.world.entity.npc.Villager getVillagerEntity(net.minecraft.world.entity.npc.VillagerProfession profession) -
clearCache
public static void clearCache()
-