本文整理汇总了Java中mezz.jei.api.recipe.IRecipeCategoryRegistration.addRecipeCategories方法的典型用法代码示例。如果您正苦于以下问题:Java IRecipeCategoryRegistration.addRecipeCategories方法的具体用法?Java IRecipeCategoryRegistration.addRecipeCategories怎么用?Java IRecipeCategoryRegistration.addRecipeCategories使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类mezz.jei.api.recipe.IRecipeCategoryRegistration
的用法示例。
在下文中一共展示了IRecipeCategoryRegistration.addRecipeCategories方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: registerCategories
import mezz.jei.api.recipe.IRecipeCategoryRegistration; //导入方法依赖的package包/类
@Override
public void registerCategories(IRecipeCategoryRegistration registry) {
guiHelper = registry.getJeiHelpers().getGuiHelper();
Geomastery.LOG.info("JEI: Registering recipe categories");
compost = new GeoCompostCategory();
cooking = new GeoCookingCategory();
fuel = new GeoFuelCategory();
drying = new GeoDryingCategory();
inventory = new GeoInventoryCategory();
armourer = new GeoCraftingCategory(GuiList.ARMOURER.title());
candlemaker = new GeoCraftingCategory(GuiList.CANDLEMAKER.title());
forge = new GeoCraftingCategory(GuiList.FORGE.title());
knapping = new GeoCraftingCategory(GuiList.KNAPPING.title());
mason = new GeoCraftingCategory(GuiList.MASON.title());
sawpit = new GeoCraftingCategory(GuiList.SAWPIT.title());
textiles = new GeoCraftingCategory(GuiList.TEXTILES.title());
woodworking = new GeoCraftingCategory(GuiList.WOODWORKING.title());
registry.addRecipeCategories(compost, cooking, fuel, drying, inventory, armourer, candlemaker, forge, knapping, mason, sawpit, textiles, woodworking);
}
示例2: registerCategories
import mezz.jei.api.recipe.IRecipeCategoryRegistration; //导入方法依赖的package包/类
@Override
public void registerCategories(IRecipeCategoryRegistration registry) {
IJeiHelpers helpers = registry.getJeiHelpers();
registry.addRecipeCategories(
new JEIPressureChamberRecipeCategory(helpers),
new JEIAssemblyControllerCategory(helpers),
new JEIThermopneumaticProcessingPlantCategory(helpers),
new JEIRefineryCategory(helpers),
new JEIEtchingAcidCategory(helpers),
new JEICompressedIronCategory(helpers),
new JEIUVLightBoxCategory(helpers),
new JEIAmadronTradeCategory(helpers),
new JEIPlasticMixerCategory(helpers)
);
}
示例3: registerCategories
import mezz.jei.api.recipe.IRecipeCategoryRegistration; //导入方法依赖的package包/类
@Override
public void registerCategories(IRecipeCategoryRegistration registry) {
if (BlockRegistry.sludgeRefinerBlock.isEnabled()) {
sludgeRefinerRecipeCategory = new SludgeRefinerRecipeCategory(registry.getJeiHelpers().getGuiHelper());
registry.addRecipeCategories(sludgeRefinerRecipeCategory);
}
if (BlockRegistry.bioReactorBlock.isEnabled()) {
bioReactorRecipeCategory = new ReactorRecipeCategory(registry.getJeiHelpers().getGuiHelper(), "Bioreactor accepted items");
registry.addRecipeCategories(bioReactorRecipeCategory);
}
if (BlockRegistry.proteinReactorBlock.isEnabled()) {
proteinReactorRecipeCategory = new ReactorRecipeCategory(registry.getJeiHelpers().getGuiHelper(), "Protein reactor accepted items");
registry.addRecipeCategories(proteinReactorRecipeCategory);
}
if (BlockRegistry.laserBaseBlock.isEnabled() || BlockRegistry.laserDrillBlock.isEnabled()) {
laserRecipeCategory = new LaserRecipeCategory(registry.getJeiHelpers().getGuiHelper());
registry.addRecipeCategories(laserRecipeCategory);
}
machineProduceCategory = new MachineProduceCategory(registry.getJeiHelpers().getGuiHelper());
registry.addRecipeCategories(machineProduceCategory);
if (BlockRegistry.petrifiedFuelGeneratorBlock.isEnabled()) {
petrifiedBurnTimeCategory = new PetrifiedBurnTimeCategory(registry.getJeiHelpers().getGuiHelper());
registry.addRecipeCategories(petrifiedBurnTimeCategory);
}
if (CustomConfiguration.enableBookEntriesInJEI) {
manualCategory = new ManualCategory(registry.getJeiHelpers().getGuiHelper());
registry.addRecipeCategories(manualCategory);
}
}
示例4: registerCategories
import mezz.jei.api.recipe.IRecipeCategoryRegistration; //导入方法依赖的package包/类
@Override
public void registerCategories(IRecipeCategoryRegistration registry) {
registry.addRecipeCategories(
new JEIRitualCategory(JEICategoryUIDs.RITUAL, registry),
new JEICauldronCategory(JEICategoryUIDs.CAULDRON, registry),
new JEIPedestalSlabCategory(JEICategoryUIDs.PENDESTAL_SLAB, registry),
new JEIHereticRitualCategory(JEICategoryUIDs.HERETIC_RITUAL, registry),
new JEIMagicTableCategory(JEICategoryUIDs.MAGIC_TABLE, registry));
}
示例5: registerCategories
import mezz.jei.api.recipe.IRecipeCategoryRegistration; //导入方法依赖的package包/类
@Override
public void registerCategories(IRecipeCategoryRegistration registry) {
registry.addRecipeCategories(new SimpleSteelCategories.BlastFurnace(registry));
registry.addRecipeCategories(new SimpleSteelCategories.Duster(registry));
registry.addRecipeCategories(new SimpleSteelCategories.GeoThermalGenerator(registry));
registry.addRecipeCategories(new SimpleSteelCategories.Crusher(registry));
}
示例6: registerCategories
import mezz.jei.api.recipe.IRecipeCategoryRegistration; //导入方法依赖的package包/类
@Override
public void registerCategories(IRecipeCategoryRegistration registry) {
jeiHelpers = registry.getJeiHelpers();
RecipeLayoutHelper.init();
registry.addRecipeCategories(new CategoryStructurePreview());
for (DynamicMachine machine : MachineRegistry.getRegistry()) {
CategoryDynamicRecipe recipe = new CategoryDynamicRecipe(machine);
recipeCategories.put(machine, recipe);
registry.addRecipeCategories(recipe);
}
}
示例7: registerCategories
import mezz.jei.api.recipe.IRecipeCategoryRegistration; //导入方法依赖的package包/类
@Override
public void registerCategories(IRecipeCategoryRegistration registry)
{
registry.addRecipeCategories(QBarJEIRecipeCategory.builder(registry.getJeiHelpers().getGuiHelper())
.background(GuiRollingMill.BACKGROUND).uid(QBarRecipeHandler.ROLLINGMILL_UID)
.title("gui.rollingmill.name").u(46).v(16).width(91).height(54)
.input(0, 19).output(69, 18).create());
registry.addRecipeCategories(QBarJEIRecipeCategory.builder(registry.getJeiHelpers().getGuiHelper())
.background(GuiSawMill.BACKGROUND).uid(QBarRecipeHandler.SAW_MILL_UID)
.title("gui.sawmill.name").u(46).v(16).width(91).height(54)
.input(0, 19).output(69, 18).create());
}
示例8: registerCategories
import mezz.jei.api.recipe.IRecipeCategoryRegistration; //导入方法依赖的package包/类
@Override
public void registerCategories(IRecipeCategoryRegistration registry)
{
IGuiHelper guiHelper = registry.getJeiHelpers().getGuiHelper();
registry.addRecipeCategories(
new AlloyFurnaceRecipeCategory(guiHelper),
new CrusherRecipeCategory(guiHelper),
new CrystallizerRecipeCategory(guiHelper)
);
}
示例9: registerCategories
import mezz.jei.api.recipe.IRecipeCategoryRegistration; //导入方法依赖的package包/类
@Override
public void registerCategories(IRecipeCategoryRegistration registry) {
IGuiHelper guiHelper = registry.getJeiHelpers().getGuiHelper();
registry.addRecipeCategories(new TransmutatorFuelCategory(guiHelper),
new TransmutationCategory(guiHelper),
new CrystallizerFuelCategory(guiHelper),
new CrystallizationCategory(guiHelper),
new RitualRecipeCategory(guiHelper),
new EngraverRecipeCategory(guiHelper),
new RendingRecipeCategory(guiHelper),
new UpgradeRecipeCategory(guiHelper),
new MaterializationRecipeCategory(guiHelper));
}
示例10: registerCategories
import mezz.jei.api.recipe.IRecipeCategoryRegistration; //导入方法依赖的package包/类
@Override
public void registerCategories(IRecipeCategoryRegistration registry) {
IGuiHelper guiHelper = registry.getJeiHelpers().getGuiHelper();
registry.addRecipeCategories(new DawnstoneAnvilCategory(guiHelper), new AlchemicalMixerCategory(guiHelper));
}
示例11: registerCategories
import mezz.jei.api.recipe.IRecipeCategoryRegistration; //导入方法依赖的package包/类
@Override
public void registerCategories(IRecipeCategoryRegistration registry) {
registry.addRecipeCategories(new RitualCategory(registry.getJeiHelpers().getGuiHelper()));
registry.addRecipeCategories(new SpinnerCategory(registry.getJeiHelpers().getGuiHelper()));
}
示例12: registerCategories
import mezz.jei.api.recipe.IRecipeCategoryRegistration; //导入方法依赖的package包/类
@Override
public void registerCategories(IRecipeCategoryRegistration registry)
{
final IGuiHelper guiHelper = registry.getJeiHelpers().getGuiHelper();
registry.addRecipeCategories(new CategoryArcaneTransfiguration(guiHelper));
}
示例13: registerCategories
import mezz.jei.api.recipe.IRecipeCategoryRegistration; //导入方法依赖的package包/类
@Override
public void registerCategories(IRecipeCategoryRegistration registry)
{
registry.addRecipeCategories(new MagibenchRecipeCategory(registry.getJeiHelpers().getGuiHelper()));
}
示例14: registerCategories
import mezz.jei.api.recipe.IRecipeCategoryRegistration; //导入方法依赖的package包/类
@Override
public void registerCategories(IRecipeCategoryRegistration registry) {
registry.addRecipeCategories(new DefierRecipeCategory(registry.getJeiHelpers().getGuiHelper()));
}
示例15: registerCategories
import mezz.jei.api.recipe.IRecipeCategoryRegistration; //导入方法依赖的package包/类
@Override
public void registerCategories(IRecipeCategoryRegistration registry) {
registry.addRecipeCategories(new DrinkRecipeCategory(registry.getJeiHelpers().getGuiHelper()));
}