mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-20 12:19:46 +00:00
Recipe/docs for the Lens Clip.
This commit is contained in:
1 parent
62c87bfdb9
commit
dadd9f25b5
5 files changed
+19
-1
No files matched your search
@@ -215,6 +215,7 @@ public final class ModCraftingRecipes {
|
||||
public static IRecipe recipeDirtPath;
|
||||
public static IRecipe recipeDreamwoodTwig;
|
||||
public static IRecipe recipeMonocle;
|
||||
public static IRecipe recipeClip;
|
||||
|
||||
public static void init() {
|
||||
// Lexicon Recipe
|
||||
@@ -1402,6 +1403,12 @@ public final class ModCraftingRecipes {
|
||||
'N', new ItemStack(Items.gold_nugget));
|
||||
recipeMonocle = BotaniaAPI.getLatestAddedRecipe();
|
||||
|
||||
// Lens Clip Recipe
|
||||
addOreDictRecipe(new ItemStack(ModItems.clip),
|
||||
" D ", "D D", "DD ",
|
||||
'D', LibOreDict.DREAM_WOOD);
|
||||
recipeClip = BotaniaAPI.getLatestAddedRecipe();
|
||||
|
||||
// Storage Block Recipes
|
||||
addOreDictRecipe(new ItemStack(ModBlocks.storage, 1, 0),
|
||||
"III", "III", "III",
|
||||
|
||||
@@ -76,7 +76,7 @@ public class ItemManaGun extends ItemMod implements IManaUsingItem {
|
||||
|
||||
@Override
|
||||
public ItemStack onItemRightClick(ItemStack par1ItemStack, World par2World, EntityPlayer par3EntityPlayer) {
|
||||
if(par3EntityPlayer.isSneaking()) {
|
||||
if(par3EntityPlayer.isSneaking() && hasClip(par1ItemStack)) {
|
||||
rotatePos(par1ItemStack);
|
||||
par2World.playSoundAtEntity(par3EntityPlayer, "random.click", 0.6F, (1.0F + (par2World.rand.nextFloat() - par2World.rand.nextFloat()) * 0.2F) * 0.7F);
|
||||
if(par2World.isRemote)
|
||||
|
||||
@@ -152,6 +152,7 @@ public final class LexiconData {
|
||||
public static LexiconEntry regenIvy;
|
||||
public static LexiconEntry missileRod;
|
||||
public static LexiconEntry craftingHalo;
|
||||
public static LexiconEntry clip;
|
||||
|
||||
public static LexiconEntry baublesIntro;
|
||||
public static LexiconEntry tinyPlanet;
|
||||
@@ -583,6 +584,9 @@ public final class LexiconData {
|
||||
craftingHalo = new BLexiconEntry(LibLexicon.TOOL_CRAFTING_HALO, categoryTools);
|
||||
craftingHalo.setLexiconPages(new PageText("0"), new PageText("1"), new PageCraftingRecipe("2", ModCraftingRecipes.recipeCraftingHalo));
|
||||
|
||||
clip = new ALexiconEntry(LibLexicon.TOOL_CLIP, categoryTools);
|
||||
clip.setLexiconPages(new PageText("0"), new PageText("1"), new PageCraftingRecipe("2", ModCraftingRecipes.recipeClip));
|
||||
|
||||
// BAUBLES ENTRIES
|
||||
baublesIntro = new BLexiconEntry(LibLexicon.BAUBLE_INTRO, categoryBaubles);
|
||||
baublesIntro.setPriority().setLexiconPages(new PageText("0"), new PageImage("1", LibResources.ENTRY_BAUBLES), new PageText("2"));
|
||||
|
||||
@@ -133,6 +133,7 @@ public final class LibLexicon {
|
||||
public static final String TOOL_REGEN_IVY = "regenIvy";
|
||||
public static final String TOOL_MISSILE_ROD = "missileRod";
|
||||
public static final String TOOL_CRAFTING_HALO = "craftingHalo";
|
||||
public static final String TOOL_CLIP = "clip";
|
||||
|
||||
public static final String BAUBLE_INTRO = "bIntro";
|
||||
public static final String BAUBLE_TINY_PLANET = "tinyPlanet";
|
||||
|
||||
Reference in new issue
Block a user