mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-11-22 23:28:35 +01:00
Reconstructor module recipe and doc
This commit is contained in:
parent
f21fa7e317
commit
3e6a18729d
6 changed files with 28 additions and 3 deletions
|
@ -27,7 +27,7 @@ public class ActuallyAdditionsAPI{
|
||||||
|
|
||||||
public static final String MOD_ID = "actuallyadditions";
|
public static final String MOD_ID = "actuallyadditions";
|
||||||
public static final String API_ID = MOD_ID+"api";
|
public static final String API_ID = MOD_ID+"api";
|
||||||
public static final String API_VERSION = "10";
|
public static final String API_VERSION = "11";
|
||||||
|
|
||||||
public static List<CrusherRecipe> crusherRecipes = new ArrayList<CrusherRecipe>();
|
public static List<CrusherRecipe> crusherRecipes = new ArrayList<CrusherRecipe>();
|
||||||
public static List<BallOfFurReturn> ballOfFurReturnItems = new ArrayList<BallOfFurReturn>();
|
public static List<BallOfFurReturn> ballOfFurReturnItems = new ArrayList<BallOfFurReturn>();
|
||||||
|
@ -47,6 +47,7 @@ public class ActuallyAdditionsAPI{
|
||||||
public static IBookletEntry entryItemsNonRF;
|
public static IBookletEntry entryItemsNonRF;
|
||||||
public static IBookletEntry entryItemsRF;
|
public static IBookletEntry entryItemsRF;
|
||||||
public static IBookletEntry entryMisc;
|
public static IBookletEntry entryMisc;
|
||||||
|
public static IBookletEntry entryCrossover;
|
||||||
public static IBookletEntry allAndSearch;
|
public static IBookletEntry allAndSearch;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -33,6 +33,7 @@ import de.ellpeck.actuallyadditions.mod.util.Util;
|
||||||
import net.minecraft.init.Items;
|
import net.minecraft.init.Items;
|
||||||
import net.minecraft.item.ItemStack;
|
import net.minecraft.item.ItemStack;
|
||||||
import net.minecraft.item.crafting.IRecipe;
|
import net.minecraft.item.crafting.IRecipe;
|
||||||
|
import net.minecraftforge.fml.common.Loader;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
|
|
||||||
|
@ -48,6 +49,7 @@ public class InitBooklet{
|
||||||
ActuallyAdditionsAPI.entryItemsNonRF = new BookletEntry("itemsNoRF");
|
ActuallyAdditionsAPI.entryItemsNonRF = new BookletEntry("itemsNoRF");
|
||||||
ActuallyAdditionsAPI.entryItemsRF = new BookletEntry("itemsRF").setSpecial();
|
ActuallyAdditionsAPI.entryItemsRF = new BookletEntry("itemsRF").setSpecial();
|
||||||
ActuallyAdditionsAPI.entryMisc = new BookletEntry("misc");
|
ActuallyAdditionsAPI.entryMisc = new BookletEntry("misc");
|
||||||
|
ActuallyAdditionsAPI.entryCrossover = new BookletEntry("crossover");
|
||||||
ActuallyAdditionsAPI.allAndSearch = new BookletEntryAllSearch("allAndSearch").setSpecial();
|
ActuallyAdditionsAPI.allAndSearch = new BookletEntryAllSearch("allAndSearch").setSpecial();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -143,5 +145,10 @@ public class InitBooklet{
|
||||||
new BookletChapter("growthRing", ActuallyAdditionsAPI.entryItemsRF, new ItemStack(InitItems.itemGrowthRing), new PageCrafting(1, ItemCrafting.recipeGrowthRing));
|
new BookletChapter("growthRing", ActuallyAdditionsAPI.entryItemsRF, new ItemStack(InitItems.itemGrowthRing), new PageCrafting(1, ItemCrafting.recipeGrowthRing));
|
||||||
new BookletChapter("waterRemovalRing", ActuallyAdditionsAPI.entryItemsRF, new ItemStack(InitItems.itemWaterRemovalRing), new PageCrafting(1, ItemCrafting.recipeWaterRing));
|
new BookletChapter("waterRemovalRing", ActuallyAdditionsAPI.entryItemsRF, new ItemStack(InitItems.itemWaterRemovalRing), new PageCrafting(1, ItemCrafting.recipeWaterRing));
|
||||||
new BookletChapter("batteries", ActuallyAdditionsAPI.entryItemsRF, new ItemStack(InitItems.itemBatteryTriple), new PageTextOnly(1), new PageCrafting(2, ItemCrafting.recipeBattery).setNoText(), new PageCrafting(3, ItemCrafting.recipeBatteryDouble).setNoText(), new PageCrafting(4, ItemCrafting.recipeBatteryTriple).setNoText(), new PageCrafting(5, ItemCrafting.recipeBatteryQuadruple).setNoText(), new PageCrafting(6, ItemCrafting.recipeBatteryQuintuple).setNoText());
|
new BookletChapter("batteries", ActuallyAdditionsAPI.entryItemsRF, new ItemStack(InitItems.itemBatteryTriple), new PageTextOnly(1), new PageCrafting(2, ItemCrafting.recipeBattery).setNoText(), new PageCrafting(3, ItemCrafting.recipeBatteryDouble).setNoText(), new PageCrafting(4, ItemCrafting.recipeBatteryTriple).setNoText(), new PageCrafting(5, ItemCrafting.recipeBatteryQuadruple).setNoText(), new PageCrafting(6, ItemCrafting.recipeBatteryQuintuple).setNoText());
|
||||||
|
|
||||||
|
//Crossover
|
||||||
|
if(Loader.isModLoaded("rarmor")){
|
||||||
|
new BookletChapter("rarmorModuleReconstructor", ActuallyAdditionsAPI.entryCrossover, new ItemStack(InitItems.itemRarmorModuleReconstructor), new PageTextOnly(1), new PageCrafting(2, ItemCrafting.recipeRarmorModuleReconstructor).setNoText());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -61,6 +61,7 @@ public enum ConfigCrafting{
|
||||||
KNIFE("Knife", ConfigCategories.ITEMS_CRAFTING),
|
KNIFE("Knife", ConfigCategories.ITEMS_CRAFTING),
|
||||||
STICK_CRAFTER("Crafting Table On A Stick", ConfigCategories.ITEMS_CRAFTING),
|
STICK_CRAFTER("Crafting Table On A Stick", ConfigCategories.ITEMS_CRAFTING),
|
||||||
MASHED_FOOD("Mashed Food", ConfigCategories.ITEMS_CRAFTING),
|
MASHED_FOOD("Mashed Food", ConfigCategories.ITEMS_CRAFTING),
|
||||||
|
RARMOR_RECONSTRUCTOR_MODULE("Rarmor Reconstructor Module", ConfigCategories.ITEMS_CRAFTING),
|
||||||
|
|
||||||
RING_SPEED("Speed Ring", ConfigCategories.POTION_RING_CRAFTING),
|
RING_SPEED("Speed Ring", ConfigCategories.POTION_RING_CRAFTING),
|
||||||
RING_HASTE("Haste Ring", ConfigCategories.POTION_RING_CRAFTING),
|
RING_HASTE("Haste Ring", ConfigCategories.POTION_RING_CRAFTING),
|
||||||
|
|
|
@ -17,6 +17,7 @@ import de.ellpeck.actuallyadditions.mod.config.ConfigValues;
|
||||||
import de.ellpeck.actuallyadditions.mod.config.values.ConfigCrafting;
|
import de.ellpeck.actuallyadditions.mod.config.values.ConfigCrafting;
|
||||||
import de.ellpeck.actuallyadditions.mod.items.InitItems;
|
import de.ellpeck.actuallyadditions.mod.items.InitItems;
|
||||||
import de.ellpeck.actuallyadditions.mod.items.metalists.*;
|
import de.ellpeck.actuallyadditions.mod.items.metalists.*;
|
||||||
|
import de.ellpeck.actuallyadditions.mod.util.ItemUtil;
|
||||||
import de.ellpeck.actuallyadditions.mod.util.RecipeUtil;
|
import de.ellpeck.actuallyadditions.mod.util.RecipeUtil;
|
||||||
import de.ellpeck.actuallyadditions.mod.util.Util;
|
import de.ellpeck.actuallyadditions.mod.util.Util;
|
||||||
import net.minecraft.block.IGrowable;
|
import net.minecraft.block.IGrowable;
|
||||||
|
@ -27,6 +28,7 @@ import net.minecraft.item.ItemFood;
|
||||||
import net.minecraft.item.ItemStack;
|
import net.minecraft.item.ItemStack;
|
||||||
import net.minecraft.item.crafting.IRecipe;
|
import net.minecraft.item.crafting.IRecipe;
|
||||||
import net.minecraftforge.common.IPlantable;
|
import net.minecraftforge.common.IPlantable;
|
||||||
|
import net.minecraftforge.fml.common.Loader;
|
||||||
import net.minecraftforge.fml.common.registry.GameRegistry;
|
import net.minecraftforge.fml.common.registry.GameRegistry;
|
||||||
import net.minecraftforge.oredict.OreDictionary;
|
import net.minecraftforge.oredict.OreDictionary;
|
||||||
import net.minecraftforge.oredict.ShapedOreRecipe;
|
import net.minecraftforge.oredict.ShapedOreRecipe;
|
||||||
|
@ -81,6 +83,7 @@ public class ItemCrafting{
|
||||||
public static IRecipe recipeLens;
|
public static IRecipe recipeLens;
|
||||||
public static IRecipe recipeCrateKeeper;
|
public static IRecipe recipeCrateKeeper;
|
||||||
public static IRecipe recipeEnderStar;
|
public static IRecipe recipeEnderStar;
|
||||||
|
public static IRecipe recipeRarmorModuleReconstructor;
|
||||||
|
|
||||||
public static void init(){
|
public static void init(){
|
||||||
|
|
||||||
|
@ -447,6 +450,15 @@ public class ItemCrafting{
|
||||||
new ItemStack(Items.SIGN)));
|
new ItemStack(Items.SIGN)));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//Rarmor Reconstructor Module
|
||||||
|
if(Loader.isModLoaded("rarmor") && ConfigCrafting.RARMOR_RECONSTRUCTOR_MODULE.isEnabled()){
|
||||||
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitItems.itemRarmorModuleReconstructor),
|
||||||
|
" G ", "GSG", " G ",
|
||||||
|
'G', ItemUtil.getItemFromName("rarmor:ribbonCable"),
|
||||||
|
'S', new ItemStack(InitBlocks.blockAtomicReconstructor)));
|
||||||
|
recipeRarmorModuleReconstructor = RecipeUtil.lastIRecipe();
|
||||||
|
}
|
||||||
|
|
||||||
//Tiny Coal
|
//Tiny Coal
|
||||||
GameRegistry.addShapelessRecipe(new ItemStack(InitItems.itemMisc, 8, TheMiscItems.TINY_COAL.ordinal()),
|
GameRegistry.addShapelessRecipe(new ItemStack(InitItems.itemMisc, 8, TheMiscItems.TINY_COAL.ordinal()),
|
||||||
new ItemStack(Items.COAL));
|
new ItemStack(Items.COAL));
|
||||||
|
|
|
@ -176,6 +176,7 @@ public class CreativeTab extends CreativeTabs{
|
||||||
this.add(InitItems.itemSolidifiedExperience);
|
this.add(InitItems.itemSolidifiedExperience);
|
||||||
this.add(InitItems.itemLeafBlower);
|
this.add(InitItems.itemLeafBlower);
|
||||||
this.add(InitItems.itemLeafBlowerAdvanced);
|
this.add(InitItems.itemLeafBlowerAdvanced);
|
||||||
|
this.add(InitItems.itemRarmorModuleReconstructor);
|
||||||
|
|
||||||
this.add(InitItems.woodenPaxel);
|
this.add(InitItems.woodenPaxel);
|
||||||
this.add(InitItems.stonePaxel);
|
this.add(InitItems.stonePaxel);
|
||||||
|
@ -191,7 +192,6 @@ public class CreativeTab extends CreativeTabs{
|
||||||
this.add(InitItems.itemPaxelCrystalBlack);
|
this.add(InitItems.itemPaxelCrystalBlack);
|
||||||
this.add(InitItems.itemPaxelCrystalGreen);
|
this.add(InitItems.itemPaxelCrystalGreen);
|
||||||
this.add(InitItems.itemPaxelCrystalWhite);
|
this.add(InitItems.itemPaxelCrystalWhite);
|
||||||
this.add(InitItems.itemRarmorModuleReconstructor);
|
|
||||||
InitForeignPaxels.addToCreativeTab();
|
InitForeignPaxels.addToCreativeTab();
|
||||||
|
|
||||||
this.add(InitBlocks.blockCrystal);
|
this.add(InitBlocks.blockCrystal);
|
||||||
|
|
|
@ -559,6 +559,7 @@ booklet.actuallyadditions.shapedOreRecipe=Shaped OreDictionary Recipe
|
||||||
#Booklet Entries
|
#Booklet Entries
|
||||||
booklet.actuallyadditions.indexEntry.gettingStarted.name=Getting Started
|
booklet.actuallyadditions.indexEntry.gettingStarted.name=Getting Started
|
||||||
booklet.actuallyadditions.indexEntry.misc.name=Miscellaneous
|
booklet.actuallyadditions.indexEntry.misc.name=Miscellaneous
|
||||||
|
booklet.actuallyadditions.indexEntry.crossover.name=Mod Crossover
|
||||||
booklet.actuallyadditions.indexEntry.functionalNoRF.name=Blocks that don't use RF
|
booklet.actuallyadditions.indexEntry.functionalNoRF.name=Blocks that don't use RF
|
||||||
booklet.actuallyadditions.indexEntry.allAndSearch.name=All Items and Search
|
booklet.actuallyadditions.indexEntry.allAndSearch.name=All Items and Search
|
||||||
booklet.actuallyadditions.indexEntry.functionalRF.name=Blocks that use RF
|
booklet.actuallyadditions.indexEntry.functionalRF.name=Blocks that use RF
|
||||||
|
@ -777,3 +778,6 @@ booklet.actuallyadditions.chapter.enderStar.text.1=The <item>Ender Star<r> can b
|
||||||
|
|
||||||
booklet.actuallyadditions.chapter.phantomRedstoneface.name=Phantom Redstoneface
|
booklet.actuallyadditions.chapter.phantomRedstoneface.name=Phantom Redstoneface
|
||||||
booklet.actuallyadditions.chapter.phantomRedstoneface.text.1=<imp>If you don't know what Phantomfaces are, check the Phantomfaces Entry first.<r> <n><n>The <item>Phantom Redstoneface<r> can be used to transmit redstone signals. This one, however, <imp>works differently<r> to the other Phantomfaces as it <imp>only works in one direction<r>. What this means is that the <imp>connected block has to provide redstone power<r> for redstone next to the Redstoneface to become powered. It does <imp>not work<r> the <imp>other way<r> around.
|
booklet.actuallyadditions.chapter.phantomRedstoneface.text.1=<imp>If you don't know what Phantomfaces are, check the Phantomfaces Entry first.<r> <n><n>The <item>Phantom Redstoneface<r> can be used to transmit redstone signals. This one, however, <imp>works differently<r> to the other Phantomfaces as it <imp>only works in one direction<r>. What this means is that the <imp>connected block has to provide redstone power<r> for redstone next to the Redstoneface to become powered. It does <imp>not work<r> the <imp>other way<r> around.
|
||||||
|
|
||||||
|
booklet.actuallyadditions.chapter.rarmorModuleReconstructor.name=Reconstruction Module
|
||||||
|
booklet.actuallyadditions.chapter.rarmorModuleReconstructor.text.1=The <item>Reconstruction Module<r> can be used in the <item>Rarmor<r>. The Rarmor is a type of configurable armor that is added by the <imp>Rarmor Mod<r>. <n>If you want to use this module, place it inside the Rarmor GUI that is accessed by <imp>wearing the armor<r> and <imp>opening your inventory<r>. <n><n>The module, when the player is <imp>sneaking<r>, will shoot out a <imp>reconstruction beam<r> that would be created by the Atomic Reconstructor <imp>without a lens<r>. This will cause blocks that are hit to be reconstructed.
|
Loading…
Reference in a new issue