mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-12-23 03:49:22 +01:00
fluid laser relays recipe and doc
This commit is contained in:
parent
12f4396264
commit
9f314cf51d
5 changed files with 17 additions and 4 deletions
|
@ -118,6 +118,7 @@ public final class InitBooklet{
|
|||
|
||||
//No RF Using Blocks
|
||||
new BookletChapter("itemStorage", ActuallyAdditionsAPI.entryFunctionalNonRF, new ItemStack(InitBlocks.blockLaserRelayItemWhitelist), new PageTextOnly(1), new PageTextOnly(2), new PagePicture(3, "pageItemLaserRelayBasic", 78), new PagePicture(4, "pageItemLaserRelayFail", 84), new PagePicture(5, "pageItemLaserRelayTransfer", 78), new PagePicture(6, "pageItemLaserRelayWhitelistChest", 76), new PagePicture(7, "pageItemLaserRelayWhitelistInterface", 75), new PagePicture(8, "pageItemLaserRelaySystem", 75), new PageTextOnly(9), new PageCrafting(10, BlockCrafting.recipeLaserRelayItem).setNoText().setPageStacksWildcard(), new PageCrafting(11, BlockCrafting.recipeLaserRelayItemWhitelist).setNoText().setPageStacksWildcard(), new PageCrafting(12, BlockCrafting.recipeItemInterface).setNoText()).setImportant();
|
||||
new BookletChapter("fluidLaser", ActuallyAdditionsAPI.entryFunctionalNonRF, new ItemStack(InitBlocks.blockLaserRelayFluids), new PageTextOnly(1), new PageCrafting(2, BlockCrafting.recipeFluidLaser).setNoText()).setSpecial();
|
||||
new BookletChapter("breaker", ActuallyAdditionsAPI.entryFunctionalNonRF, new ItemStack(InitBlocks.blockBreaker), new PageCrafting(1, BlockCrafting.recipeBreaker).setPageStacksWildcard(), new PageCrafting(2, BlockCrafting.recipePlacer).setPageStacksWildcard(), new PageCrafting(3, BlockCrafting.recipeLiquidPlacer).setPageStacksWildcard(), new PageCrafting(4, BlockCrafting.recipeLiquidCollector).setPageStacksWildcard());
|
||||
new BookletChapter("dropper", ActuallyAdditionsAPI.entryFunctionalNonRF, new ItemStack(InitBlocks.blockDropper), new PageTextOnly(1), new PageCrafting(2, BlockCrafting.recipeDropper).setNoText());
|
||||
new BookletChapter("phantomfaces", ActuallyAdditionsAPI.entryFunctionalNonRF, new ItemStack(InitBlocks.blockPhantomLiquiface), new PageTextOnly(1).addTextReplacement("<range>", TileEntityPhantomface.RANGE), new PageTextOnly(2), new PageCrafting(3, BlockCrafting.recipePhantomface), new PageCrafting(4, BlockCrafting.recipeLiquiface), new PageCrafting(5, BlockCrafting.recipeEnergyface), new PageCrafting(6, ItemCrafting.recipePhantomConnector).setNoText(), new PageCrafting(7, BlockCrafting.recipePhantomBooster)).setImportant();
|
||||
|
|
|
@ -153,6 +153,7 @@ public enum ConfigCrafting{
|
|||
LASER_RELAY_ITEM("Item Laser Relay", ConfigCategories.BLOCKS_CRAFTING),
|
||||
LASER_RELAY_ITEM_WHITELIST("Advanced Item Laser Relay", ConfigCategories.BLOCKS_CRAFTING),
|
||||
LASER_WRENCH("Laser Wrench", ConfigCategories.ITEMS_CRAFTING),
|
||||
LASER_RELAY_FLUIDS("Fluid Laser Relay", ConfigCategories.BLOCKS_CRAFTING),
|
||||
|
||||
CHEST_TO_CRATE_UPGRADE("Chest To Crate Upgrade", ConfigCategories.ITEMS_CRAFTING),
|
||||
DISENCHANTING_LENS("Disenchanting Lens", ConfigCategories.ITEMS_CRAFTING),
|
||||
|
|
|
@ -95,6 +95,7 @@ public final class BlockCrafting{
|
|||
public static IRecipe recipeShockSuppressor;
|
||||
public static IRecipe recipeEmpowerer;
|
||||
public static IRecipe[] recipesTinyTorch = new IRecipe[2];
|
||||
public static IRecipe recipeFluidLaser;
|
||||
|
||||
public static void init(){
|
||||
|
||||
|
@ -272,6 +273,14 @@ public final class BlockCrafting{
|
|||
recipeLaserRelayItemWhitelist = RecipeUtil.lastIRecipe();
|
||||
}
|
||||
|
||||
//Fluid Laser Relay
|
||||
if(ConfigCrafting.LASER_RELAY_FLUIDS.isEnabled()){
|
||||
GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(InitBlocks.blockLaserRelayFluids),
|
||||
new ItemStack(InitBlocks.blockLaserRelay),
|
||||
new ItemStack(InitItems.itemMisc, 1, TheMiscItems.COIL.ordinal())));
|
||||
recipeFluidLaser = RecipeUtil.lastIRecipe();
|
||||
}
|
||||
|
||||
//Item Interface
|
||||
if(ConfigCrafting.ITEM_INTERFACE.isEnabled()){
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockItemViewer),
|
||||
|
|
|
@ -38,9 +38,8 @@ public final class RecipeUtil{
|
|||
}
|
||||
|
||||
public static IRecipe lastIRecipe(){
|
||||
List list = CraftingManager.getInstance().getRecipeList();
|
||||
Object recipe = list.get(list.size()-1);
|
||||
return recipe instanceof IRecipe ? (IRecipe)recipe : null;
|
||||
List<IRecipe> list = CraftingManager.getInstance().getRecipeList();
|
||||
return list.get(list.size()-1);
|
||||
}
|
||||
|
||||
public static EmpowererRecipe lastEmpowererRecipe(){
|
||||
|
|
|
@ -1012,4 +1012,7 @@ booklet.actuallyadditions.chapter.empowerer.name=Empowerer
|
|||
booklet.actuallyadditions.chapter.empowerer.text.1=The <item>Empowerer<r> is a mid-tier block that can be used to <imp>empower<r> crystals and other items. <n>To use it, items that should be empowered can be <imp>right-clicked onto the Empowerer<r>, and empowering items need to be placed on <item>Display Stands<r> that are <imp>two blocks away<r>, like seen in the <imp>picture on the next page<r>. <n>To then activate the process, <imp>every Display Stand needs to be powered with a lot of RF<r> that is then drained to empower the item on the Empowerer.
|
||||
booklet.actuallyadditions.chapter.empowerer.text.2=<i>The placement of the <item>Display Stands<r>
|
||||
booklet.actuallyadditions.chapter.empowerer.text.3=<n><n><n><i>Because every mod needs an Infusion Altar
|
||||
booklet.actuallyadditions.chapter.empowerer.text.4=The <item>Display Stand<r> can also be used for other things! See the <imp>Blocks that use RF<r> section for more info about it!
|
||||
booklet.actuallyadditions.chapter.empowerer.text.4=The <item>Display Stand<r> can also be used for other things! See the <imp>Blocks that use RF<r> section for more info about it!
|
||||
|
||||
booklet.actuallyadditions.chapter.fluidLaser.name=Fluid Laser Relays
|
||||
booklet.actuallyadditions.chapter.fluidLaser.text.1=The <item>Fluid Laser Relays<r> work much in the same way that normal Laser Relays do, so if you want to know anything about them, visit the <imp>Blocks that use RF<r> section of the manual. <n><n>The thing that makes the <item>Fluid Laser Relay<r> different from the <item>Energy Laser Relay<r>, however, is that it transfers <imp>fluids<r> from internal tanks of blocks into other blocks.
|
Loading…
Reference in a new issue