cammygames
-
Posts
114 -
Joined
-
Last visited
Posts posted by cammygames
-
-
ok install UE 1.5 icbm for ue 1.5 and blastcraft and also on the server the same with fogre build #213 just fly/walk aroound placing the mod blocks and i get this error some users as dark said crash on join
-
I still get this error and im using #213 UE V5.1 Blastcraft 0.1
it only happens when im going fast and placing blocks here is the crash if you need it http://pastebin.com/8sCgrikQ
-
OvermindDL1 is there ment to be a mod_ModLoaderMp in the minecraft.jar i thought forge caused a crash if it found mod_ModLoaderMp.class
-
try a fresh install and follow the install steps of the mod and also can i have a link to the mod so i can see which one you are using
-
The pokeball mod is in the jar? It should not be in the jar. Except for a very specific set of mods (like optifine), nothing should be in the jar or it pretty much *will* break things.
beet me to it
Edit : try putting the pokeball mod in to the .minecraft/mods folder
-
did you try to install modloadermp because forge has a much better one built in and modloadermp is outdated
-
ok i have had a look and changed it to what i think is correct but it gives an error in the Compactor manager this is my code
package net.minecraft.src; import java.util.ArrayList; import java.util.Collections; import java.util.HashMap; import java.util.List; public class CompactorManager { /** The static instance of this class */ private static final CompactorManager instance = new CompactorManager(); /** A list of all the recipes added */ private List recipes = new ArrayList(); /** * Returns the static instance of this class */ public static final CompactorManager getInstance() { return instance; } private CompactorManager() { this.addRecipe(new ItemStack(mod_Blastcraft.blastwall), new Object[]{"@#@","@#@","@#@",Character.valueOf('#'),mod_Blastcraft.rebarmesh,Character.valueOf('@'),Block.brick}); System.out.println(this.recipes.size() + " recipes"); } /** * Adds a recipe. See spreadsheet on first page for details. */ void addRecipe(ItemStack par1ItemStack, Object ... par2ArrayOfObj) { String var3 = ""; int var4 = 0; int var5 = 0; int var6 = 0; if (par2ArrayOfObj[var4] instanceof String[]) { String[] var7 = (String[])((String[])par2ArrayOfObj[var4++]); for (int var8 = 0; var8 < var7.length; ++var8) { String var9 = var7[var8]; ++var6; var5 = var9.length(); var3 = var3 + var9; } } else { while (par2ArrayOfObj[var4] instanceof String) { String var11 = (String)par2ArrayOfObj[var4++]; ++var6; var5 = var11.length(); var3 = var3 + var11; } } HashMap var12; for (var12 = new HashMap(); var4 < par2ArrayOfObj.length; var4 += 2) { Character var13 = (Character)par2ArrayOfObj[var4]; ItemStack var14 = null; if (par2ArrayOfObj[var4 + 1] instanceof Item) { var14 = new ItemStack((Item)par2ArrayOfObj[var4 + 1]); } else if (par2ArrayOfObj[var4 + 1] instanceof Block) { var14 = new ItemStack((Block)par2ArrayOfObj[var4 + 1], 1, -1); } else if (par2ArrayOfObj[var4 + 1] instanceof ItemStack) { var14 = (ItemStack)par2ArrayOfObj[var4 + 1]; } var12.put(var13, var14); } ItemStack[] var15 = new ItemStack[var5 * var6]; for (int var16 = 0; var16 < var5 * var6; ++var16) { char var10 = var3.charAt(var16); if (var12.containsKey(Character.valueOf(var10))) { var15[var16] = ((ItemStack)var12.get(Character.valueOf(var10))).copy(); } else { var15[var16] = null; } } this.recipes.add(new ShapedRecipes(var5, var6, var15, par1ItemStack)); } public ItemStack findMatchingRecipe(Inventorycompactor par1InventoryCrafting) { int var2 = 0; ItemStack var3 = null; ItemStack var4 = null; int var5; for (var5 = 0; var5 < par1InventoryCrafting.getSizeInventory(); ++var5) { ItemStack var6 = par1InventoryCrafting.getStackInSlot(var5); if (var6 != null) { if (var2 == 0) { var3 = var6; } if (var2 == 1) { var4 = var6; } ++var2; } } if (var2 == 2 && var3.itemID == var4.itemID && var3.stackSize == 1 && var4.stackSize == 1 && Item.itemsList[var3.itemID].isRepairable()) { Item var11 = Item.itemsList[var3.itemID]; int var10 = var11.getMaxDamage() - var3.getItemDamageForDisplay(); int var7 = var11.getMaxDamage() - var4.getItemDamageForDisplay(); int var8 = var10 + var7 + var11.getMaxDamage() * 10 / 100; int var9 = var11.getMaxDamage() - var8; if (var9 < 0) { var9 = 0; } return new ItemStack(var3.itemID, 1, var9); } else { for (var5 = 0; var5 < this.recipes.size(); ++var5) { IRecipe var12 = (IRecipe)this.recipes.get(var5); if (var12.matches(par1InventoryCrafting)) { return var12.getCraftingResult(par1InventoryCrafting); } } return null; } } /** * returns the List<> of all recipes */ public List getRecipeList() { return this.recipes; } }
it give the error at this section of code
if (var12.matches(par1InventoryCrafting)) { return var12.getCraftingResult(par1InventoryCrafting); }
do i need to make my own IRecipe?
-
ok i have the recipe list, the manager ,inventory,inv result i want to make it so
that when i put a certain recipe in the compactor it shows but all i have at the moment is a blank useless crafting gui inside the compactor what i want to know is how would i register the recipe's to the compactor like make the crafting result display when you put a defined recipe in
-
How would i add crafting recipes to a custom crafting table
-
Github.com/cpw/iron chest and github.com/cow/compactsolars
I must be making a stupid mistake, having never used Git, but how do I check those out using eGit in Eclipse? I've tried using import > Git then entering http://github.com/cow/compactsolars as the URI but I'm getting a 301 error.
do you mean http://github.com/cpw/compactsolars not http://github.com/cow/compactsolars
-
I am trying to create a custom crafting table that will allow you to make the blocks from my mod such as Blast wall i have got the code from the vanilla workbench to try and learn from it and see what i need but i can not get the GUI to open on the block here is my code
i am wondering if i am missing any classes hope you can help me
-
i have all ready got this code for client but cant find/make a version for server side
ModLoader.setInGameHook(this, true, false); ModLoader.setInGUIHook(this, true, false); public boolean onTickInGame(float f, Minecraft minecraft) { if(minecraft.currentScreen == null) { creativeInventory = null; } return true; } public boolean onTickInGUI(float f, Minecraft minecraft, GuiScreen guiscreen) { if((guiscreen instanceof GuiContainerCreative) && !(creativeInventory instanceof GuiContainerCreative) && !minecraft.theWorld.isRemote) { Container container = ((GuiContainer)guiscreen).inventorySlots; List list = ((ContainerCreative)container).itemList; int i = 0; list.add(new ItemStack(sandbag, 1, i)); list.add(new ItemStack(blastglass, 1, i)); list.add(new ItemStack(barbedwire, 1, i)); list.add(new ItemStack(blastwall, 1, i)); list.add(new ItemStack(blaststairs, 1, i)); list.add(new ItemStack(blastslab, 1, i)); list.add(new ItemStack(lamp, 1, i)); } creativeInventory = guiscreen; return true; } private static GuiScreen creativeInventory;
-
your welcome
-
recompile then run getchangedsrc then copy and paste it in to the repo folder on your pc and then use then use git gui and then Stage Changed then commit and then go under the remote tag and push it to origin or use ctrl p
if it syas the repo is behind go under the remote tab and Fetch From origin then do the above
-
i have tried that both BlockDoor and ItemDoor and edited the way i want it just gives me a normal dooor
-
I was wondering if any one can tell me/point me to the right place on how to code a mod that adds a door.
thank you
[unsolved]java.lang.ArrayIndexOutOfBoundsException
in Support & Bug Reports
Posted
thankz for the help boo