mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-14 01:04:16 +00:00
Recipe/docs for Incense.
This commit is contained in:
1 parent
4582ef720d
commit
6283aea2b9
5 files changed
+39
-1
No files matched your search
@@ -26,13 +26,16 @@ import net.minecraftforge.common.util.ForgeDirection;
|
||||
import net.minecraftforge.common.util.RotationHelper;
|
||||
import vazkii.botania.api.brew.Brew;
|
||||
import vazkii.botania.api.internal.VanillaPacketDispatcher;
|
||||
import vazkii.botania.api.lexicon.ILexiconable;
|
||||
import vazkii.botania.api.lexicon.LexiconEntry;
|
||||
import vazkii.botania.client.lib.LibRenderIDs;
|
||||
import vazkii.botania.common.block.tile.TileIncensePlate;
|
||||
import vazkii.botania.common.item.ModItems;
|
||||
import vazkii.botania.common.item.brew.ItemIncenseStick;
|
||||
import vazkii.botania.common.lexicon.LexiconData;
|
||||
import vazkii.botania.common.lib.LibBlockNames;
|
||||
|
||||
public class BlockIncensePlate extends BlockModContainer {
|
||||
public class BlockIncensePlate extends BlockModContainer implements ILexiconable {
|
||||
|
||||
private static final int[] META_ROTATIONS = new int[] { 2, 5, 3, 4 };
|
||||
|
||||
@@ -138,4 +141,9 @@ public class BlockIncensePlate extends BlockModContainer {
|
||||
return new TileIncensePlate();
|
||||
}
|
||||
|
||||
@Override
|
||||
public LexiconEntry getEntry(World world, int x, int y, int z, EntityPlayer player, ItemStack lexicon) {
|
||||
return LexiconData.incense;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -257,6 +257,8 @@ public final class ModCraftingRecipes {
|
||||
public static List<IRecipe> recipesAltarMeta;
|
||||
public static IRecipe recipeCorporeaCrystalCube;
|
||||
public static IRecipe recipeTemperanceStone;
|
||||
public static IRecipe recipeIncenseStick;
|
||||
public static IRecipe recipeIncensePlate;
|
||||
|
||||
public static void init() {
|
||||
// Lexicon Recipe
|
||||
@@ -1711,6 +1713,21 @@ public final class ModCraftingRecipes {
|
||||
'R', LibOreDict.RUNE[2]);
|
||||
recipeTemperanceStone = BotaniaAPI.getLatestAddedRecipe();
|
||||
|
||||
// Incense Stick Recipe
|
||||
addOreDictRecipe(new ItemStack(ModItems.incenseStick),
|
||||
" G", " B ", "T ",
|
||||
'G', new ItemStack(Items.ghast_tear),
|
||||
'B', new ItemStack(Items.blaze_powder),
|
||||
'T', LibOreDict.LIVINGWOOD_TWIG);
|
||||
recipeIncenseStick = BotaniaAPI.getLatestAddedRecipe();
|
||||
|
||||
// Incense Plate Recipe
|
||||
addOreDictRecipe(new ItemStack(ModBlocks.incensePlate),
|
||||
"WSS",
|
||||
'W', LibOreDict.LIVING_WOOD,
|
||||
'S', new ItemStack(ModFluffBlocks.livingwoodSlab));
|
||||
recipeIncensePlate = BotaniaAPI.getLatestAddedRecipe();
|
||||
|
||||
// Storage Block Recipes
|
||||
addOreDictRecipe(new ItemStack(ModBlocks.storage, 1, 0),
|
||||
"III", "III", "III",
|
||||
|
||||
@@ -144,6 +144,7 @@ public final class LexiconData {
|
||||
public static LexiconEntry brewery;
|
||||
public static LexiconEntry flasks;
|
||||
public static LexiconEntry complexBrews;
|
||||
public static LexiconEntry incense;
|
||||
|
||||
public static LexiconEntry manaBlaster;
|
||||
public static LexiconEntry grassSeeds;
|
||||
@@ -580,6 +581,9 @@ public final class LexiconData {
|
||||
new PageBrew(ModBrewRecipes.featherFeetBrew, "3a", "3b"), new PageBrew(ModBrewRecipes.emptinessBrew, "4a", "4b"),
|
||||
new PageBrew(ModBrewRecipes.bloodthirstBrew, "5a", "5b"), new PageBrew(ModBrewRecipes.allureBrew, "6a", "6b")).setIcon(((IBrewContainer) ModItems.vial).getItemForBrew(ModBrews.jumpBoost, new ItemStack(ModItems.vial)));
|
||||
|
||||
incense = new BLexiconEntry(LibLexicon.DEVICE_INCENSE, categoryDevices);
|
||||
incense.setLexiconPages(new PageText("0"), new PageText("1"), new PageText("2"), new PageCraftingRecipe("3", ModCraftingRecipes.recipeIncenseStick), new PageCraftingRecipe("4", ModCraftingRecipes.recipeIncensePlate));
|
||||
|
||||
// TOOLS ENTRIES
|
||||
manaBlaster = new BLexiconEntry(LibLexicon.TOOL_MANA_BLASTER, categoryTools);
|
||||
manaBlaster.setLexiconPages(new PageText("0"), new PageText("1"), new PageText("2"), new PageCraftingRecipe("3", ModCraftingRecipes.recipeManaBlaster));
|
||||
|
||||
@@ -116,6 +116,7 @@ public final class LibLexicon {
|
||||
public static final String DEVICE_BREWERY = "brewery";
|
||||
public static final String DEVICE_FLASKS = "flasks";
|
||||
public static final String DEVICE_COMPLEX_BREWS = "complexBrews";
|
||||
public static final String DEVICE_INCENSE = "incense";
|
||||
|
||||
public static final String TOOL_MANA_BLASTER = "manaBlaster";
|
||||
public static final String TOOL_GRASS_SEEDS = "grassSeeds";
|
||||
|
||||
Reference in new issue
Block a user