mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-19 03:39:17 +00:00
Recipe/docs for the animated torch
This commit is contained in:
1 parent
611fec280b
commit
26f24d47fd
5 files changed
+30
-1
No files matched your search
@@ -28,13 +28,16 @@ import net.minecraftforge.fml.relauncher.Side;
|
||||
import net.minecraftforge.fml.relauncher.SideOnly;
|
||||
import vazkii.botania.api.internal.IManaBurst;
|
||||
import vazkii.botania.api.item.IHourglassTrigger;
|
||||
import vazkii.botania.api.lexicon.ILexiconable;
|
||||
import vazkii.botania.api.lexicon.LexiconEntry;
|
||||
import vazkii.botania.api.mana.IManaTrigger;
|
||||
import vazkii.botania.api.wand.IWandHUD;
|
||||
import vazkii.botania.api.wand.IWandable;
|
||||
import vazkii.botania.common.block.tile.TileAnimatedTorch;
|
||||
import vazkii.botania.common.lexicon.LexiconData;
|
||||
import vazkii.botania.common.lib.LibBlockNames;
|
||||
|
||||
public class BlockAnimatedTorch extends BlockMod implements IWandable, IManaTrigger, IHourglassTrigger, IWandHUD {
|
||||
public class BlockAnimatedTorch extends BlockMod implements IWandable, IManaTrigger, IHourglassTrigger, IWandHUD, ILexiconable {
|
||||
|
||||
private static final AxisAlignedBB AABB = new AxisAlignedBB(0, 0, 0, 1, 0.25, 1);
|
||||
|
||||
@@ -136,4 +139,9 @@ public class BlockAnimatedTorch extends BlockMod implements IWandable, IManaTrig
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public LexiconEntry getEntry(World world, BlockPos pos, EntityPlayer player, ItemStack lexicon) {
|
||||
return LexiconData.animatedTorch;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -294,6 +294,7 @@ public final class ModCraftingRecipes {
|
||||
public static IRecipe recipeSpeedUpBelt;
|
||||
public static IRecipe recipeBaubleCase;
|
||||
public static IRecipe recipeDodgeRing;
|
||||
public static IRecipe recipeAnimatedTorch;
|
||||
|
||||
// Garden of Glass
|
||||
public static IRecipe recipeRootToSapling;
|
||||
@@ -1990,6 +1991,13 @@ public final class ModCraftingRecipes {
|
||||
'R', LibOreDict.RUNE[3]);
|
||||
recipeDodgeRing = BotaniaAPI.getLatestAddedRecipe();
|
||||
|
||||
// Animated Torch Recipe
|
||||
addOreDictRecipe(new ItemStack(ModBlocks.animatedTorch),
|
||||
"D", "T",
|
||||
'D', LibOreDict.MANA_POWDER,
|
||||
'T', new ItemStack(Blocks.REDSTONE_TORCH));
|
||||
recipeAnimatedTorch = BotaniaAPI.getLatestAddedRecipe();
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// Storage Block/Nugget Recipes
|
||||
|
||||
@@ -159,6 +159,7 @@ public final class LexiconData {
|
||||
public static LexiconEntry teruTeruBozu;
|
||||
public static LexiconEntry avatar;
|
||||
public static LexiconEntry felPumpkin;
|
||||
public static LexiconEntry animatedTorch;
|
||||
|
||||
public static LexiconEntry manaBlaster;
|
||||
public static LexiconEntry grassSeeds;
|
||||
@@ -831,6 +832,9 @@ public final class LexiconData {
|
||||
felPumpkin = new BasicLexiconEntry(LibLexicon.DEVICE_FEL_PUMPKIN, categoryDevices);
|
||||
felPumpkin.setLexiconPages(new PageText("0"), new PageCraftingRecipe("1", ModCraftingRecipes.recipeFelPumpkin));
|
||||
|
||||
animatedTorch = new BasicLexiconEntry(LibLexicon.DEVICE_ANIMATED_TORCH, categoryDevices);
|
||||
animatedTorch.setLexiconPages(new PageText("0"), new PageText("1"), new PageText("2"), new PageCraftingRecipe("3", ModCraftingRecipes.recipeAnimatedTorch));
|
||||
|
||||
// TOOLS ENTRIES
|
||||
manaBlaster = new BasicLexiconEntry(LibLexicon.TOOL_MANA_BLASTER, categoryTools);
|
||||
manaBlaster.setLexiconPages(new PageText("0"), new PageText("1"), new PageText("2"),
|
||||
|
||||
@@ -134,6 +134,7 @@ public final class LibLexicon {
|
||||
public static final String DEVICE_TERU_TERU_BOZU = "teruTeruBozu";
|
||||
public static final String DEVICE_AVATAR = "avatar";
|
||||
public static final String DEVICE_FEL_PUMPKIN = "felPumpkin";
|
||||
public static final String DEVICE_ANIMATED_TORCH = "animatedTorch";
|
||||
|
||||
public static final String TOOL_MANA_BLASTER = "manaBlaster";
|
||||
public static final String TOOL_GRASS_SEEDS = "grassSeeds";
|
||||
|
||||
Reference in new issue
Block a user