Package forestry.api.client.apiculture
Interface IBeeClientManager
public interface IBeeClientManager
Tracks client-only data for bee species.
-
Method Summary
Modifier and TypeMethodDescriptionMap<IBeeSpecies,net.minecraft.resources.ResourceLocation> getBeeModels(ILifeStage stage) Retrieves all model locations used to display bees with the given life stage.
-
Method Details
-
getBeeModels
Retrieves all model locations used to display bees with the given life stage. To add a custom model for your bee, useIClientRegistration.setCustomBeeModel(net.minecraft.resources.ResourceLocation, forestry.api.genetics.ILifeStage, net.minecraft.resources.ResourceLocation). If no custom model is set, then the default model for the given life stage will be used instead, which is set byIClientRegistration.setDefaultBeeModel(forestry.api.genetics.ILifeStage, net.minecraft.resources.ResourceLocation).- Parameters:
stage- The life stage to retrieve bee models for.- Returns:
- A bee model map for the given life stage. (Ex. all drone models)
-