Add description page to JEI on how to obtain sap
This commit is contained in:
parent
5f77e1b16f
commit
c5302f8d6b
4 changed files with 7 additions and 1 deletions
|
@ -8,7 +8,7 @@ import techreborn.lib.Reference;
|
|||
public class ScrapboxRecipe extends BaseRecipe {
|
||||
|
||||
public ScrapboxRecipe(ItemStack output) {
|
||||
super(Reference.compressorRecipe, 0, 0);
|
||||
super(Reference.scrapboxRecipe, 0, 0);
|
||||
inputs.add(new ItemStack(ModItems.scrapBox));
|
||||
addOutput(output);
|
||||
}
|
||||
|
|
|
@ -13,6 +13,7 @@ import mezz.jei.api.recipe.VanillaRecipeCategoryUid;
|
|||
import mezz.jei.api.recipe.transfer.IRecipeTransferRegistry;
|
||||
import net.minecraft.init.Blocks;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.util.StatCollector;
|
||||
import techreborn.Core;
|
||||
import techreborn.api.reactor.FusionReactorRecipeHelper;
|
||||
import techreborn.api.recipe.RecipeHandler;
|
||||
|
@ -55,6 +56,7 @@ import techreborn.compat.jei.scrapbox.ScrapboxRecipeCategory;
|
|||
import techreborn.compat.jei.scrapbox.ScrapboxRecipeHandler;
|
||||
import techreborn.compat.jei.vacuumFreezer.VacuumFreezerRecipeCategory;
|
||||
import techreborn.compat.jei.vacuumFreezer.VacuumFreezerRecipeHandler;
|
||||
import techreborn.items.ItemParts;
|
||||
|
||||
@mezz.jei.api.JEIPlugin
|
||||
public class TechRebornJeiPlugin extends BlankModPlugin {
|
||||
|
@ -117,6 +119,8 @@ public class TechRebornJeiPlugin extends BlankModPlugin {
|
|||
addDebugRecipes(registry);
|
||||
}
|
||||
|
||||
registry.addDescription(ItemParts.getPartByName("rubberSap"), StatCollector.translateToLocal("techreborn.desc.rubberSap"));
|
||||
|
||||
registry.addRecipeClickArea(GuiAlloyFurnace.class, 80, 35, 26, 20, RecipeCategoryUids.ALLOY_SMELTER, VanillaRecipeCategoryUid.FUEL);
|
||||
registry.addRecipeClickArea(GuiAlloySmelter.class, 80, 35, 26, 20, RecipeCategoryUids.ALLOY_SMELTER);
|
||||
registry.addRecipeClickArea(GuiAssemblingMachine.class, 85, 34, 24, 20, RecipeCategoryUids.ASSEMBLING_MACHINE);
|
||||
|
|
|
@ -19,4 +19,5 @@ public class Reference {
|
|||
public static String extractorRecipe = StatCollector.translateToLocal("tile.techreborn.extractor.name");
|
||||
public static String compressorRecipe = StatCollector.translateToLocal("tile.techreborn.compressor.name");
|
||||
public static String recyclerRecipe = StatCollector.translateToLocal("tile.techreborn.recycler.name");
|
||||
public static String scrapboxRecipe = StatCollector.translateToLocal("techreborn.recipe.scrapbox");
|
||||
}
|
||||
|
|
|
@ -975,6 +975,7 @@ techreborn.jei.recipe.running.cost=EU/t: %s
|
|||
techreborn.jei.recipe.processing.time.1=Time: %s ticks
|
||||
techreborn.jei.recipe.processing.time.2=(%s seconds)
|
||||
jei.techreborn.scrapbox.name=Opening Scrapboxes
|
||||
techreborn.desc.rubberSap=In order to get sap, you need to find a rubber tree or obtain a rubber tree sapling and proceed to grow it. Once you have obtained a rubber tree, search around for little yellowish spots on the tree. If you don't see any, just wait a bit and eventually these yellow "sap" spots. To harvest the sap, use a treetap and use it on the log.
|
||||
|
||||
techreborn.jei.category.alloy.furnace=Alloy Furnace
|
||||
|
||||
|
|
Loading…
Reference in a new issue