use of com.teamresourceful.resourcefulbees.lib.enums.HoneycombType in project ResourcefulBees by Resourceful-Bees.
the class ModelHandler method registerModels.
// endregion
public static void registerModels(ModelRegistryEvent event) {
ResourceManager resourceManager = Minecraft.getInstance().getResourceManager();
BeeRegistry.getRegistry().getBees().forEach((s, beeData) -> {
HoneycombType honeycombType = beeData.getHoneycombData().getHoneycombType();
if (honeycombType.equals(HoneycombType.DEFAULT)) {
registerHoneycombBlockState(s, resourceManager);
registerHoneycombBlockItem(s, resourceManager);
registerHoneycombItem(s, resourceManager);
}
registerBeeSpawnEgg(s, resourceManager);
});
HoneyRegistry.getRegistry().getHoneyBottles().forEach((string, honeyData) -> {
registerHoneyFluid(honeyData);
registerHoneyBottleItem(honeyData, resourceManager);
registerHoneyBlockItem(honeyData, resourceManager);
registerHoneyBucketItem(honeyData, resourceManager);
registerHoneyBlock(honeyData, resourceManager);
});
}
Aggregations