本文整理汇总了Java中mezz.jei.api.ingredients.IModIngredientRegistration类的典型用法代码示例。如果您正苦于以下问题:Java IModIngredientRegistration类的具体用法?Java IModIngredientRegistration怎么用?Java IModIngredientRegistration使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
IModIngredientRegistration类属于mezz.jei.api.ingredients包,在下文中一共展示了IModIngredientRegistration类的13个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: registerIngredients
import mezz.jei.api.ingredients.IModIngredientRegistration; //导入依赖的package包/类
@Override
public void registerIngredients(IModIngredientRegistration registry) {
try {
registry.register(HybridFluid.class, Lists.newArrayList(), new HybridStackHelper<>(), new HybridFluidRenderer<>());
if(ModularMachinery.isMekanismLoaded) {
registerHybridGas(registry);
}
} catch (Exception exc) {
ModularMachinery.log.warn("Error setting up HybridFluid JEI registration! Check the log after this for more details! Report this error!");
exc.printStackTrace();
throw exc;
}
}
示例2: registerIngredients
import mezz.jei.api.ingredients.IModIngredientRegistration; //导入依赖的package包/类
@Override
public void registerIngredients(IModIngredientRegistration registry) {
}
示例3: registerIngredients
import mezz.jei.api.ingredients.IModIngredientRegistration; //导入依赖的package包/类
@Override
public void registerIngredients(IModIngredientRegistration registry)
{
}
示例4: registerIngredients
import mezz.jei.api.ingredients.IModIngredientRegistration; //导入依赖的package包/类
@Override
public void registerIngredients(IModIngredientRegistration registry) {}
示例5: registerHybridGas
import mezz.jei.api.ingredients.IModIngredientRegistration; //导入依赖的package包/类
@Optional.Method(modid = "mekanism")
private void registerHybridGas(IModIngredientRegistration registry) {
registry.register(HybridFluidGas.class, Lists.newArrayList(), new HybridStackHelper<>(), new HybridFluidRenderer<>());
}
示例6: registerIngredients
import mezz.jei.api.ingredients.IModIngredientRegistration; //导入依赖的package包/类
@Override
public void registerIngredients(IModIngredientRegistration registry)
{
}
示例7: registerIngredients
import mezz.jei.api.ingredients.IModIngredientRegistration; //导入依赖的package包/类
@Override
public void registerIngredients(IModIngredientRegistration registry) {
// Nothing to do here as far as I know...
// I suppose mezz might know but oh well...
}
示例8: registerIngredients
import mezz.jei.api.ingredients.IModIngredientRegistration; //导入依赖的package包/类
@Override
public void registerIngredients(IModIngredientRegistration registry) {
//no need to do anything fancy here for now, we just use vanilla recipes
}
示例9: registerIngredients
import mezz.jei.api.ingredients.IModIngredientRegistration; //导入依赖的package包/类
@Override
public void registerIngredients(IModIngredientRegistration registry){}
示例10: registerIngredients
import mezz.jei.api.ingredients.IModIngredientRegistration; //导入依赖的package包/类
@Override
public void registerIngredients(@Nonnull IModIngredientRegistration ingredientRegistration) {
ingredientRegistration.register(EnergyIngredient.class, Collections.singletonList(new EnergyIngredient()), new EnergyIngredientHelper(),
EnergyIngredientRenderer.INSTANCE);
}
示例11: registerIngredients
import mezz.jei.api.ingredients.IModIngredientRegistration; //导入依赖的package包/类
@Override
public void registerIngredients(IModIngredientRegistration registry) {
}
示例12: registerIngredients
import mezz.jei.api.ingredients.IModIngredientRegistration; //导入依赖的package包/类
@Override
public void registerIngredients(IModIngredientRegistration registry) {
}
示例13: registerIngredients
import mezz.jei.api.ingredients.IModIngredientRegistration; //导入依赖的package包/类
@Override
public void registerIngredients(IModIngredientRegistration registry) {
}