-
Notifications
You must be signed in to change notification settings - Fork 29
Developer API 2.3.x
Warning, this document is a WIP
The Growthcraft API has undergone a minor refactor, where the CellarRegistry
was split into smaller classes.
The BoozeRegistry
is obtained via the CellarRegistry.booze()
method
import growthcraft.api.cellar.CellarRegistry;
...
CellarRegistry.booze();
The BrewingRegistry
is obtained via the CellarRegistry.brewing()
method
import growthcraft.api.cellar.CellarRegistry;
...
CellarRegistry.brewing();
The PressingRegistry
is obtained via the CellarRegistry.pressing()
method
import growthcraft.api.cellar.CellarRegistry;
...
CellarRegistry.pressing();
Vine drops are found in growthcraft.api.core.CoreRegistry
import growthcraft.api.core.CoreRegistry;
import net.minecraft.item.ItemStack;
...
ItemStack item = new ItemStack(yourItem, stackSize, damage);
int weight = 12;
CoreRegistry.addVineDrop(item, weight);
[General Information](General Information)
In-Game Documentation
Growthcraft Apples
Growthcraft Bamboo
Growthcraft Bees
Growthcraft Cellar
Growthcraft Cellar - Yeast
Growthcraft Fishtrap
Growthcraft Grapes
Growthcraft Hops
Growthcraft Milk
Growthcraft Rice
API Documentation
Dev Documentation
Module Contribution Guide
How-To Build Growthcraft
Modpack Documentation