Jump to content

makerimages

Members
  • Posts

    38
  • Joined

  • Last visited

Everything posted by makerimages

  1. Hey, how could I make a block(which methods needed?) That would do the following things: Extract items at a specific amount a time from a specific side`s invenotry( a chest or any other invenotry holding thing) Insert those items to an inventory on a specific side, at the same amount each time as it extracted ?
  2. I tried package mods.MCGadgetry.slots; import java.util.ArrayList; import java.util.Iterator; import java.util.TreeMap; import mods.MCGadgetry.interfaces.GuiSmartphoneHome; import net.minecraft.client.Minecraft; import net.minecraft.client.gui.GuiSlot; import net.minecraft.client.renderer.Tessellator; import net.minecraft.util.ResourceLocation; import org.lwjgl.input.Mouse; import org.lwjgl.opengl.GL11; public class ApplicationSlot extends GuiSlot { protected Minecraft mc; protected int slotHeight; public String[] strings; final GuiSmartphoneHome parentGui; public ResourceLocation rLoc=new ResourceLocation("mcgadgetry","textures/gui/Navigation.png"); public ApplicationSlot(Minecraft par1Minecraft, int par2, int par3, int par4, int par5, int par6,GuiSmartphoneHome sH) { super(par1Minecraft, par2, par3, par4, par5, par6); this.parentGui=sH; strings=new String[256]; strings[0]="ahhs"; // TODO Auto-generated constructor stub } /** * Gets the size of the current slot list. */ protected int getSize() { return this.strings.length; } /** * the element in the slot that was clicked, boolean for wether it was double clicked or not */ protected void elementClicked(int index, boolean twice) { if(!twice) { Minecraft.getMinecraft().thePlayer.sendChatMessage("Click me more"); } } /** * returns true if the element passed in is currently selected */ protected boolean isSelected(int par1) { return false; } /** * return the height of the content being scrolled */ protected int getContentHeight() { return this.getSize() * 24; } protected void drawSlot(int par1, int par2, int par3, int par4, Tessellator par5Tessellator) { Minecraft.getMinecraft().renderEngine.func_110577_a(rLoc); this.parentGui.drawTexturedModalRect(10, 10, 0, 0, 32, 32); } @Override protected void drawBackground() { } } as my slot code, does nothing
  3. any1?
  4. Hey, I made this that extends GuiSlot package mods.MCGadgetry.slots; import java.util.ArrayList; import java.util.Iterator; import java.util.TreeMap; import net.minecraft.client.Minecraft; import net.minecraft.client.gui.GuiSlot; import net.minecraft.client.renderer.Tessellator; import org.lwjgl.input.Mouse; import org.lwjgl.opengl.GL11; public class ApplicationSlot extends GuiSlot { protected Minecraft mc; protected int slotHeight; private String[] strings; public ApplicationSlot(Minecraft par1Minecraft, int par2, int par3, int par4, int par5, int par6) { super(par1Minecraft, par2, par3, par4, par5, par6); strings=new String[256]; strings[0]="ahhs"; // TODO Auto-generated constructor stub } /** * Gets the size of the current slot list. */ protected int getSize() { return this.strings.length; } /** * the element in the slot that was clicked, boolean for wether it was double clicked or not */ protected void elementClicked(int index, boolean twice) { if(!twice) { Minecraft.getMinecraft().thePlayer.sendChatMessage("Click me more"); } } /** * returns true if the element passed in is currently selected */ protected boolean isSelected(int par1) { return false; } /** * return the height of the content being scrolled */ protected int getContentHeight() { return this.getSize() * 24; } protected void drawSlot(int par1, int par2, int par3, int par4, Tessellator par5Tessellator) { } @Override protected void drawBackground() { } } it is drawn in package mods.MCGadgetry.interfaces; import mods.MCGadgetry.slots.ApplicationSlot; import net.minecraft.client.Minecraft; import net.minecraft.client.gui.GuiScreen; public class GuiSmartphoneHome extends GuiScreen { ApplicationSlot slot=new ApplicationSlot(Minecraft.getMinecraft(),32,32,10,10,51); public GuiSmartphoneHome() { } @Override public void drawScreen(int par1, int par2, float par3) { this.drawDefaultBackground(); slot.drawScreen(5, 5, 0); } } it draws a 32*32 square of dirt texture.. how can I make it so I can put images and text into the slot??and move it?
  5. Did this: Gui package mods.MCGadgetry.interfaces; import mods.MCGadgetry.containers.ContainerMoldMaker; import mods.MCGadgetry.tileentitys.TileEntityMoldMaker; import net.minecraft.client.Minecraft; import net.minecraft.client.gui.GuiButton; import net.minecraft.client.gui.inventory.GuiContainer; import net.minecraft.entity.player.InventoryPlayer; import net.minecraft.util.ResourceLocation; import org.lwjgl.opengl.GL11; import cpw.mods.fml.relauncher.Side; import cpw.mods.fml.relauncher.SideOnly; @SideOnly(Side.CLIENT) public class GuiMoldMaker extends GuiContainer { TileEntityMoldMaker tileEntityMoldMaker; private GuiButton buttonInit; public GuiMoldMaker(InventoryPlayer invPlayer, TileEntityMoldMaker tileEntityMoldMaker) { super(new ContainerMoldMaker(invPlayer,tileEntityMoldMaker)); xSize=176; ySize=166; this.tileEntityMoldMaker=tileEntityMoldMaker; } public void initGui() { buttonList.clear(); buttonList.add(this.buttonInit = new GuiButton(1,guiLeft+xSize-4,guiTop+ySize-100,50,20, "Make Mold")); super.initGui(); } protected void actionPerformed(GuiButton guibutton) { if(guibutton.id == 1) { Minecraft.getMinecraft().playerController.sendEnchantPacket(1, 1); } } private static final ResourceLocation texture= new ResourceLocation("mcgadgetry","textures/gui/moldMaker.png"); @Override protected void drawGuiContainerBackgroundLayer(float f, int i, int j) { GL11.glColor4f(1,1,1,1); Minecraft.getMinecraft().func_110434_K().func_110577_a(texture); drawTexturedModalRect(guiLeft,guiTop,0,0,xSize,ySize); } } Container package mods.MCGadgetry.containers; import mods.MCGadgetry.common.MCGadgetry; import mods.MCGadgetry.item.ItemMold; import mods.MCGadgetry.item.ItemPattern; import mods.MCGadgetry.slots.SlotMold; import mods.MCGadgetry.slots.SlotPattern; import mods.MCGadgetry.tileentitys.TileEntityMoldMaker; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.entity.player.InventoryPlayer; import net.minecraft.inventory.Container; import net.minecraft.inventory.Slot; import net.minecraft.item.ItemStack; public class ContainerMoldMaker extends Container { TileEntityMoldMaker tileEntityMoldMaker; public ContainerMoldMaker(InventoryPlayer inventoryPlayer,TileEntityMoldMaker tileEntityMoldMaker) { this.tileEntityMoldMaker=tileEntityMoldMaker; for(int x=0; x<9;x++) { addSlotToContainer(new Slot(inventoryPlayer,x,8+18*x,142)); } for(int y=0;y <3; y++) { for(int x=0;x<9;x++) { addSlotToContainer(new Slot(inventoryPlayer,x+y*9+9,8+18*x,84+y*18)); } } addSlotToContainer(new SlotPattern(tileEntityMoldMaker,0,44,31)); addSlotToContainer(new SlotMold(tileEntityMoldMaker,1,80,31)); addSlotToContainer(new SlotMold(tileEntityMoldMaker,2,116,31)); } @Override public boolean canInteractWith(EntityPlayer entityplayer) { return this.tileEntityMoldMaker.isUseableByPlayer(entityplayer); } @Override public ItemStack transferStackInSlot(EntityPlayer par1EntityPlayer, int i) { return null; } @Override public boolean enchantItem(EntityPlayer player, int i) { ItemStack stack0=getSlot(0).getStack(); ItemStack stack1=getSlot(1).getStack(); ItemStack stack2=new ItemStack(MCGadgetry.itemMold); if(stack0.getItem() instanceof ItemPattern) { if(stack1.getItem() instanceof ItemMold) { if(stack0.getItemDamage()!=0) { if(stack1.getItemDamage()==0) { stack2.setItemDamage(stack0.getItemDamage()); getSlot(2).putStack(stack2); getSlot(0).putStack(null); getSlot(1).putStack(null); } } } } return super.enchantItem(player,i); } } button click makes nothing
  6. Where exactly do I write those?
  7. here`s my tileentity package mods.MCGadgetry.tileentitys; import mods.MCGadgetry.common.MCGadgetry; import mods.MCGadgetry.item.EnumPatternTypes; import mods.MCGadgetry.item.ItemMold; import mods.MCGadgetry.item.ItemPattern; import net.minecraft.block.Block; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.inventory.IInventory; import net.minecraft.item.ItemStack; import net.minecraft.nbt.NBTTagCompound; import net.minecraft.nbt.NBTTagList; import net.minecraft.tileentity.TileEntity; public class TileEntityMoldMaker extends TileEntity implements IInventory { private ItemStack[] itemsIn; public TileEntityMoldMaker() { itemsIn=new ItemStack[3]; } @Override public int getSizeInventory() { return itemsIn.length; } @Override public ItemStack getStackInSlot(int i) { return itemsIn[i]; } @Override public ItemStack decrStackSize(int i, int count) { ItemStack itemstack=getStackInSlot(i); if(itemstack !=null) { if(itemstack.stackSize<=count) { setInventorySlotContents(i,null); } else { itemstack=itemstack.splitStack(count); onInventoryChanged(); } } return itemstack; } @Override public ItemStack getStackInSlotOnClosing(int i) { // TODO Auto-generated method stub return null; } @Override public void setInventorySlotContents(int i, ItemStack itemstack) { itemsIn[i]=itemstack; if(itemstack !=null && itemstack.stackSize>getInventoryStackLimit()) { itemstack.stackSize=getInventoryStackLimit(); } onInventoryChanged(); } @Override public String getInvName() { // TODO Auto-generated method stub return "MoldMaker"; } @Override public boolean isInvNameLocalized() { return false; } @Override public int getInventoryStackLimit() { return 64; } @Override public boolean isUseableByPlayer(EntityPlayer entityplayer) { return entityplayer.getDistanceSq(xCoord+0.5, yCoord+0.5, zCoord+0.5)<=64; } @Override public void openChest() { } @Override public void closeChest() { } @Override public boolean isItemValidForSlot(int i, ItemStack itemstack) { if(i==0) { return itemstack.itemID==MCGadgetry.itemPattern.itemID; } if(i==1) { return itemstack.itemID==MCGadgetry.itemMold.itemID; } if(i==2) { return itemstack.itemID==MCGadgetry.itemMold.itemID; } else { return false; } } @Override public void writeToNBT(NBTTagCompound nbtTagCompound) { super.writeToNBT(nbtTagCompound); NBTTagList items=new NBTTagList(); for(int i=0; i<getSizeInventory();i++) { ItemStack stack= getStackInSlot(i); if(stack !=null) { NBTTagCompound item=new NBTTagCompound(); item.setByte("Slot",(byte)i); stack.writeToNBT(item); items.appendTag(item); } } nbtTagCompound.setTag("Items", items); } @Override public void readFromNBT(NBTTagCompound nbtTagCompound) { super.readFromNBT(nbtTagCompound); NBTTagList items= nbtTagCompound.getTagList("Items"); for(int i=0;i<items.tagCount();i++) { NBTTagCompound item=(NBTTagCompound) items.tagAt(i); int slot=item.getByte("Slot"); if(slot >=0 && slot<=getSizeInventory()) { setInventorySlotContents(i, ItemStack.loadItemStackFromNBT(item)); } } } public void makeMold() { ItemStack stack0=getStackInSlot(0); ItemStack stack1=getStackInSlot(1); ItemStack stack2=new ItemStack(MCGadgetry.itemMold); if(stack0.getItem() instanceof ItemPattern) { if(stack1.getItem() instanceof ItemMold) { if(stack0.getItemDamage()!=0) { if(stack1.getItemDamage()==0) { stack2.setItemDamage(stack0.getItemDamage()); setInventorySlotContents(2, stack2); setInventorySlotContents(0, null); setInventorySlotContents(1, null); } } } } } } and here is my gui for the tileentity package mods.MCGadgetry.interfaces; import mods.MCGadgetry.containers.ContainerMoldMaker; import mods.MCGadgetry.tileentitys.TileEntityMoldMaker; import net.minecraft.client.Minecraft; import net.minecraft.client.gui.GuiButton; import net.minecraft.client.gui.inventory.GuiContainer; import net.minecraft.entity.player.InventoryPlayer; import net.minecraft.util.ResourceLocation; import org.lwjgl.opengl.GL11; import cpw.mods.fml.relauncher.Side; import cpw.mods.fml.relauncher.SideOnly; @SideOnly(Side.CLIENT) public class GuiMoldMaker extends GuiContainer { TileEntityMoldMaker tileEntityMoldMaker; private GuiButton buttonInit; public GuiMoldMaker(InventoryPlayer invPlayer, TileEntityMoldMaker tileEntityMoldMaker) { super(new ContainerMoldMaker(invPlayer,tileEntityMoldMaker)); xSize=176; ySize=166; this.tileEntityMoldMaker=tileEntityMoldMaker; } public void initGui() { buttonList.clear(); buttonList.add(this.buttonInit = new GuiButton(1,guiLeft+xSize-4,guiTop+ySize-25,50,20, "Make Mold")); super.initGui(); } protected void actionPerformed(GuiButton guibutton) { if(guibutton.id == 1) { tileEntityMoldMaker.makeMold(); } } private static final ResourceLocation texture= new ResourceLocation("mcgadgetry","textures/gui/moldMaker.png"); @Override protected void drawGuiContainerBackgroundLayer(float f, int i, int j) { GL11.glColor4f(1,1,1,1); Minecraft.getMinecraft().func_110434_K().func_110577_a(texture); drawTexturedModalRect(guiLeft,guiTop,0,0,xSize,ySize); } } as you can see the button in the gui calls the fuction makeMold(); the function does its thing perfectly, however when I try to pick up the newly generated mold from slot 2, it deletes and the slots 0 and 1 are returned to their previous status, with a pattern and a mold. How can I make this so that I can actually pick up the new mold?
  8. seemed like a ease of use to me..
  9. Hi there, How could I write code for processing such an event: [*]There`s3 slots in a TileEntity`s inventory [*]User puts a pattern with EnumPatternTypes patternType=EnumPatternTypes.SOMETHING; into slot 1 [*]User puts a mold with EnumPatternTypes moldType=EnumPatternTypes.EMPTY; into slot 2 What I would want the tileentity to do is to check if the patternType of the pattern is NOT EnumPatternTypes.EMPTY and that the moldType of the mold IS EnumPatternTypes.EMPTY. and if that is true for both, it would make a new mold in slot 3 that has the moldType of the pattern`s patternType. After I pick that mold out, the pattern and mold in slots 0 and 1 should be removed.
  10. Did not fix a thing, current error is run: aug 01, 2013 10:04:14 AM net.minecraft.launchwrapper.LogWrapper log INFO: Using tweak class name cpw.mods.fml.common.launcher.FMLTweaker 2013-08-01 10:04:14 [iNFO] [ForgeModLoader] Forge Mod Loader version 6.2.35.804 for Minecraft 1.6.2 loading 2013-08-01 10:04:14 [iNFO] [ForgeModLoader] Java is Java HotSpot(TM) Client VM, version 1.7.0_21, running on Windows 7:x86:6.1, installed at C:\Program Files\Java\jdk1.7.0_21\jre 2013-08-01 10:04:14 [iNFO] [ForgeModLoader] Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation 2013-08-01 10:04:16 [iNFO] [sTDOUT] Loaded 39 rules from AccessTransformer config file fml_at.cfg 2013-08-01 10:04:17 [iNFO] [sTDOUT] Loaded 107 rules from AccessTransformer config file forge_at.cfg 2013-08-01 10:04:24 [sEVERE] [ForgeModLoader] The binary patch set is missing. Either you are in a development environment, or things are not going to work! 2013-08-01 10:04:25 [iNFO] [ForgeModLoader] Launching wrapped minecraft 2013-08-01 10:04:30 [iNFO] [Minecraft-Client] Setting user: Player738 2013-08-01 10:04:30 [iNFO] [Minecraft-Client] (Session ID is null) 2013-08-01 10:04:47 [iNFO] [Minecraft-Client] LWJGL Version: 2.9.0 2013-08-01 10:04:47 [iNFO] [sTDERR] javax.imageio.IIOException: Can't read input file! 2013-08-01 10:04:47 [iNFO] [sTDERR] at javax.imageio.ImageIO.read(ImageIO.java:1301) 2013-08-01 10:04:47 [iNFO] [sTDERR] at net.minecraft.client.Minecraft.func_110439_b(Minecraft.java:555) 2013-08-01 10:04:47 [iNFO] [sTDERR] at net.minecraft.client.Minecraft.startGame(Minecraft.java:417) 2013-08-01 10:04:47 [iNFO] [sTDERR] at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:796) 2013-08-01 10:04:47 [iNFO] [sTDERR] at net.minecraft.client.main.Main.main(Main.java:93) 2013-08-01 10:04:47 [iNFO] [sTDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2013-08-01 10:04:47 [iNFO] [sTDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) 2013-08-01 10:04:47 [iNFO] [sTDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 2013-08-01 10:04:47 [iNFO] [sTDERR] at java.lang.reflect.Method.invoke(Method.java:601) 2013-08-01 10:04:47 [iNFO] [sTDERR] at net.minecraft.launchwrapper.Launch.launch(Launch.java:57) 2013-08-01 10:04:47 [iNFO] [sTDERR] at net.minecraft.launchwrapper.Launch.main(Launch.java:18) 2013-08-01 10:04:57 [iNFO] [Minecraft-Client] Reloading ResourceManager: Default 2013-08-01 10:04:58 [iNFO] [sTDOUT] 2013-08-01 10:04:58 [iNFO] [sTDOUT] Starting up SoundSystem... 2013-08-01 10:04:59 [iNFO] [sTDOUT] Initializing LWJGL OpenAL 2013-08-01 10:04:59 [iNFO] [sTDOUT] (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org) 2013-08-01 10:05:00 [iNFO] [sTDOUT] OpenAL initialized. 2013-08-01 10:05:00 [iNFO] [sTDOUT] 2013-08-01 10:05:01 [iNFO] [MinecraftForge] Attempting early MinecraftForge initialization 2013-08-01 10:05:01 [iNFO] [sTDOUT] MinecraftForge v9.10.0.804 Initialized 2013-08-01 10:05:01 [iNFO] [ForgeModLoader] MinecraftForge v9.10.0.804 Initialized 2013-08-01 10:05:02 [iNFO] [sTDOUT] Replaced 101 ore recipies 2013-08-01 10:05:02 [iNFO] [MinecraftForge] Completed early MinecraftForge initialization 2013-08-01 10:05:02 [iNFO] [ForgeModLoader] Reading custom logging properties from C:\Users\Anneli\minecraft\modding\minecraftforge-src-1.6.2-9.10.0.804\forge\mcp\eclipse\Minecraft\config\logging.properties 2013-08-01 10:05:02 [OFF] [ForgeModLoader] Logging level for ForgeModLoader logging is set to ALL 2013-08-01 10:05:03 [iNFO] [ForgeModLoader] Searching C:\Users\Anneli\minecraft\modding\minecraftforge-src-1.6.2-9.10.0.804\forge\mcp\eclipse\Minecraft\mods for mods 2013-08-01 10:05:21 [iNFO] [sTDOUT] ---- Minecraft Crash Report ---- 2013-08-01 10:05:21 [iNFO] [sTDOUT] // I'm sorry, Dave. 2013-08-01 10:05:21 [iNFO] [sTDOUT] 2013-08-01 10:05:21 [iNFO] [sTDOUT] Time: 1.08.13 10:05 2013-08-01 10:05:21 [iNFO] [sTDOUT] Description: Initializing game 2013-08-01 10:05:21 [iNFO] [sTDOUT] 2013-08-01 10:05:21 [iNFO] [sTDOUT] java.lang.IllegalArgumentException: duplicate key: mcgadgetry 2013-08-01 10:05:21 [iNFO] [sTDOUT] at com.google.common.base.Preconditions.checkArgument(Preconditions.java:119) 2013-08-01 10:05:21 [iNFO] [sTDOUT] at com.google.common.collect.RegularImmutableMap.<init>(RegularImmutableMap.java:67) 2013-08-01 10:05:21 [iNFO] [sTDOUT] at com.google.common.collect.ImmutableMap$Builder.fromEntryList(ImmutableMap.java:249) 2013-08-01 10:05:21 [iNFO] [sTDOUT] at com.google.common.collect.ImmutableMap$Builder.build(ImmutableMap.java:235) 2013-08-01 10:05:21 [iNFO] [sTDOUT] at com.google.common.collect.Maps.uniqueIndex(Maps.java:1168) 2013-08-01 10:05:21 [iNFO] [sTDOUT] at com.google.common.collect.Maps.uniqueIndex(Maps.java:1142) 2013-08-01 10:05:21 [iNFO] [sTDOUT] at cpw.mods.fml.common.Loader.identifyMods(Loader.java:356) 2013-08-01 10:05:21 [iNFO] [sTDOUT] at cpw.mods.fml.common.Loader.loadMods(Loader.java:486) 2013-08-01 10:05:21 [iNFO] [sTDOUT] at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:182) 2013-08-01 10:05:21 [iNFO] [sTDOUT] at net.minecraft.client.Minecraft.startGame(Minecraft.java:470) 2013-08-01 10:05:21 [iNFO] [sTDOUT] at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:796) 2013-08-01 10:05:21 [iNFO] [sTDOUT] at net.minecraft.client.main.Main.main(Main.java:93) 2013-08-01 10:05:21 [iNFO] [sTDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2013-08-01 10:05:21 [iNFO] [sTDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) 2013-08-01 10:05:21 [iNFO] [sTDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 2013-08-01 10:05:21 [iNFO] [sTDOUT] at java.lang.reflect.Method.invoke(Method.java:601) 2013-08-01 10:05:21 [iNFO] [sTDOUT] at net.minecraft.launchwrapper.Launch.launch(Launch.java:57) 2013-08-01 10:05:21 [iNFO] [sTDOUT] at net.minecraft.launchwrapper.Launch.main(Launch.java:18) 2013-08-01 10:05:21 [iNFO] [sTDOUT] 2013-08-01 10:05:21 [iNFO] [sTDOUT] 2013-08-01 10:05:21 [iNFO] [sTDOUT] A detailed walkthrough of the error, its code path and all known details is as follows: 2013-08-01 10:05:21 [iNFO] [sTDOUT] --------------------------------------------------------------------------------------- 2013-08-01 10:05:21 [iNFO] [sTDOUT] 2013-08-01 10:05:21 [iNFO] [sTDOUT] -- Head -- 2013-08-01 10:05:21 [iNFO] [sTDOUT] Stacktrace: 2013-08-01 10:05:21 [iNFO] [sTDOUT] at com.google.common.base.Preconditions.checkArgument(Preconditions.java:119) 2013-08-01 10:05:21 [iNFO] [sTDOUT] at com.google.common.collect.RegularImmutableMap.<init>(RegularImmutableMap.java:67) 2013-08-01 10:05:21 [iNFO] [sTDOUT] at com.google.common.collect.ImmutableMap$Builder.fromEntryList(ImmutableMap.java:249) 2013-08-01 10:05:21 [iNFO] [sTDOUT] at com.google.common.collect.ImmutableMap$Builder.build(ImmutableMap.java:235) 2013-08-01 10:05:21 [iNFO] [sTDOUT] at com.google.common.collect.Maps.uniqueIndex(Maps.java:1168) 2013-08-01 10:05:21 [iNFO] [sTDOUT] at com.google.common.collect.Maps.uniqueIndex(Maps.java:1142) 2013-08-01 10:05:21 [iNFO] [sTDOUT] at cpw.mods.fml.common.Loader.identifyMods(Loader.java:356) 2013-08-01 10:05:21 [iNFO] [sTDOUT] at cpw.mods.fml.common.Loader.loadMods(Loader.java:486) 2013-08-01 10:05:21 [iNFO] [sTDOUT] at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:182) 2013-08-01 10:05:21 [iNFO] [sTDOUT] at net.minecraft.client.Minecraft.startGame(Minecraft.java:470) 2013-08-01 10:05:21 [iNFO] [sTDOUT] 2013-08-01 10:05:21 [iNFO] [sTDOUT] -- Initialization -- 2013-08-01 10:05:21 [iNFO] [sTDOUT] Details: 2013-08-01 10:05:21 [iNFO] [sTDOUT] Stacktrace: 2013-08-01 10:05:21 [iNFO] [sTDOUT] at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:796) 2013-08-01 10:05:21 [iNFO] [sTDOUT] at net.minecraft.client.main.Main.main(Main.java:93) 2013-08-01 10:05:21 [iNFO] [sTDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2013-08-01 10:05:21 [iNFO] [sTDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) 2013-08-01 10:05:21 [iNFO] [sTDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 2013-08-01 10:05:21 [iNFO] [sTDOUT] at java.lang.reflect.Method.invoke(Method.java:601) 2013-08-01 10:05:21 [iNFO] [sTDOUT] at net.minecraft.launchwrapper.Launch.launch(Launch.java:57) 2013-08-01 10:05:21 [iNFO] [sTDOUT] at net.minecraft.launchwrapper.Launch.main(Launch.java:18) 2013-08-01 10:05:21 [iNFO] [sTDOUT] 2013-08-01 10:05:21 [iNFO] [sTDOUT] -- System Details -- 2013-08-01 10:05:21 [iNFO] [sTDOUT] Details: 2013-08-01 10:05:21 [iNFO] [sTDOUT] Minecraft Version: 1.6.2 2013-08-01 10:05:21 [iNFO] [sTDOUT] Operating System: Windows 7 (x86) version 6.1 2013-08-01 10:05:21 [iNFO] [sTDOUT] Java Version: 1.7.0_21, Oracle Corporation 2013-08-01 10:05:21 [iNFO] [sTDOUT] Java VM Version: Java HotSpot(TM) Client VM (mixed mode), Oracle Corporation 2013-08-01 10:05:21 [iNFO] [sTDOUT] Memory: 950027344 bytes (906 MB) / 1060372480 bytes (1011 MB) up to 1060372480 bytes (1011 MB) 2013-08-01 10:05:21 [iNFO] [sTDOUT] JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M 2013-08-01 10:05:21 [iNFO] [sTDOUT] AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used 2013-08-01 10:05:21 [iNFO] [sTDOUT] Suspicious classes: FML and Forge are installed 2013-08-01 10:05:21 [iNFO] [sTDOUT] IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0 2013-08-01 10:05:21 [iNFO] [sTDOUT] FML: MCP v8.04 FML v6.2.35.804 Minecraft Forge 9.10.0.804 5 mods loaded, 0 mods active 2013-08-01 10:05:21 [iNFO] [sTDOUT] mcp{8.04} [Minecraft Coder Pack] (minecraft.jar) 2013-08-01 10:05:21 [iNFO] [sTDOUT] FML{6.2.35.804} [Forge Mod Loader] (coremods) 2013-08-01 10:05:21 [iNFO] [sTDOUT] Forge{9.10.0.804} [Minecraft Forge] (coremods) 2013-08-01 10:05:21 [iNFO] [sTDOUT] mcgadgetry{1.0} [MCGadgetry_by_Makerimages] (classes) 2013-08-01 10:05:21 [iNFO] [sTDOUT] mcgadgetry{1.0} [MCGadgetry_by_Makerimages] (classes) 2013-08-01 10:05:21 [iNFO] [sTDOUT] Launched Version: 1.6 2013-08-01 10:05:21 [iNFO] [sTDOUT] LWJGL: 2.9.0 2013-08-01 10:05:21 [iNFO] [sTDOUT] OpenGL: GeForce 9500 GT/PCIe/SSE2 GL version 3.3.0, NVIDIA Corporation 2013-08-01 10:05:21 [iNFO] [sTDOUT] Is Modded: Definitely; Client brand changed to 'fml,forge' 2013-08-01 10:05:21 [iNFO] [sTDOUT] Type: Client (map_client.txt) 2013-08-01 10:05:21 [iNFO] [sTDOUT] Resource Pack: Default 2013-08-01 10:05:21 [iNFO] [sTDOUT] Current Language: English (US) 2013-08-01 10:05:21 [iNFO] [sTDOUT] Profiler Position: N/A (disabled) 2013-08-01 10:05:21 [iNFO] [sTDOUT] Vec3 Pool Size: ~~ERROR~~ NullPointerException: null 2013-08-01 10:05:21 [iNFO] [sTDOUT] #@!@# Game crashed! Crash report saved to: #@!@# C:\Users\Anneli\minecraft\modding\minecraftforge-src-1.6.2-9.10.0.804\forge\mcp\eclipse\Minecraft\.\crash-reports\crash-2013-08-01_10.05.21-client.txt AL lib: (EE) alc_cleanup: 1 device not closed Java Result: -1 BUILD SUCCESSFUL (total time: 1 minute 24 seconds) code still accessible from the link in OP EDIT, sorry I had accidentally copied the mod files into another location aswell, it was trying to load both.
  11. use onItemRightClick
  12. Hello, my mod doesnt run without anything in it. says this: run: juuli 31, 2013 2:58:28 PM net.minecraft.launchwrapper.LogWrapper log INFO: Using tweak class name cpw.mods.fml.common.launcher.FMLTweaker 2013-07-31 14:58:28 [iNFO] [ForgeModLoader] Forge Mod Loader version 6.2.35.804 for Minecraft 1.6.2 loading 2013-07-31 14:58:28 [iNFO] [ForgeModLoader] Java is Java HotSpot(TM) Client VM, version 1.7.0_21, running on Windows 7:x86:6.1, installed at C:\Program Files\Java\jdk1.7.0_21\jre 2013-07-31 14:58:28 [iNFO] [ForgeModLoader] Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation 2013-07-31 14:58:28 [iNFO] [sTDOUT] Loaded 39 rules from AccessTransformer config file fml_at.cfg 2013-07-31 14:58:28 [iNFO] [sTDOUT] Loaded 107 rules from AccessTransformer config file forge_at.cfg 2013-07-31 14:58:29 [sEVERE] [ForgeModLoader] The binary patch set is missing. Either you are in a development environment, or things are not going to work! 2013-07-31 14:58:29 [iNFO] [ForgeModLoader] Launching wrapped minecraft 2013-07-31 14:58:29 [iNFO] [Minecraft-Client] Setting user: Player291 2013-07-31 14:58:29 [iNFO] [Minecraft-Client] (Session ID is null) 2013-07-31 14:58:30 [iNFO] [Minecraft-Client] LWJGL Version: 2.9.0 2013-07-31 14:58:30 [iNFO] [sTDERR] javax.imageio.IIOException: Can't read input file! 2013-07-31 14:58:30 [iNFO] [sTDERR] at javax.imageio.ImageIO.read(ImageIO.java:1301) 2013-07-31 14:58:30 [iNFO] [sTDERR] at net.minecraft.client.Minecraft.func_110439_b(Minecraft.java:555) 2013-07-31 14:58:30 [iNFO] [sTDERR] at net.minecraft.client.Minecraft.startGame(Minecraft.java:417) 2013-07-31 14:58:30 [iNFO] [sTDERR] at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:796) 2013-07-31 14:58:30 [iNFO] [sTDERR] at net.minecraft.client.main.Main.main(Main.java:93) 2013-07-31 14:58:30 [iNFO] [sTDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2013-07-31 14:58:30 [iNFO] [sTDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) 2013-07-31 14:58:30 [iNFO] [sTDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 2013-07-31 14:58:30 [iNFO] [sTDERR] at java.lang.reflect.Method.invoke(Method.java:601) 2013-07-31 14:58:30 [iNFO] [sTDERR] at net.minecraft.launchwrapper.Launch.launch(Launch.java:57) 2013-07-31 14:58:30 [iNFO] [sTDERR] at net.minecraft.launchwrapper.Launch.main(Launch.java:18) 2013-07-31 14:58:31 [iNFO] [Minecraft-Client] Reloading ResourceManager: Default 2013-07-31 14:58:32 [iNFO] [sTDOUT] 2013-07-31 14:58:32 [iNFO] [sTDOUT] Starting up SoundSystem... 2013-07-31 14:58:32 [iNFO] [MinecraftForge] Attempting early MinecraftForge initialization 2013-07-31 14:58:32 [iNFO] [sTDOUT] MinecraftForge v9.10.0.804 Initialized 2013-07-31 14:58:32 [iNFO] [ForgeModLoader] MinecraftForge v9.10.0.804 Initialized 2013-07-31 14:58:32 [iNFO] [sTDOUT] Initializing LWJGL OpenAL 2013-07-31 14:58:32 [iNFO] [sTDOUT] (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org) 2013-07-31 14:58:32 [iNFO] [sTDOUT] Replaced 101 ore recipies 2013-07-31 14:58:32 [iNFO] [sTDOUT] OpenAL initialized. 2013-07-31 14:58:32 [iNFO] [MinecraftForge] Completed early MinecraftForge initialization 2013-07-31 14:58:32 [iNFO] [ForgeModLoader] Reading custom logging properties from C:\Users\Anneli\minecraft\modding\minecraftforge-src-1.6.2-9.10.0.804\forge\mcp\eclipse\Minecraft\config\logging.properties 2013-07-31 14:58:32 [OFF] [ForgeModLoader] Logging level for ForgeModLoader logging is set to ALL 2013-07-31 14:58:32 [iNFO] [ForgeModLoader] Searching C:\Users\Anneli\minecraft\modding\minecraftforge-src-1.6.2-9.10.0.804\forge\mcp\eclipse\Minecraft\mods for mods 2013-07-31 14:58:32 [iNFO] [sTDOUT] 2013-07-31 14:58:35 [iNFO] [sTDOUT] ---- Minecraft Crash Report ---- 2013-07-31 14:58:35 [iNFO] [sTDOUT] // Surprise! Haha. Well, this is awkward. 2013-07-31 14:58:35 [iNFO] [sTDOUT] 2013-07-31 14:58:35 [iNFO] [sTDOUT] Time: 31.07.13 14:58 2013-07-31 14:58:35 [iNFO] [sTDOUT] Description: Initializing game 2013-07-31 14:58:35 [iNFO] [sTDOUT] 2013-07-31 14:58:35 [iNFO] [sTDOUT] java.lang.IllegalArgumentException: duplicate key: mcgadgetry 2013-07-31 14:58:35 [iNFO] [sTDOUT] at com.google.common.base.Preconditions.checkArgument(Preconditions.java:119) 2013-07-31 14:58:35 [iNFO] [sTDOUT] at com.google.common.collect.RegularImmutableMap.<init>(RegularImmutableMap.java:67) 2013-07-31 14:58:35 [iNFO] [sTDOUT] at com.google.common.collect.ImmutableMap$Builder.fromEntryList(ImmutableMap.java:249) 2013-07-31 14:58:35 [iNFO] [sTDOUT] at com.google.common.collect.ImmutableMap$Builder.build(ImmutableMap.java:235) 2013-07-31 14:58:35 [iNFO] [sTDOUT] at com.google.common.collect.Maps.uniqueIndex(Maps.java:1168) 2013-07-31 14:58:35 [iNFO] [sTDOUT] at com.google.common.collect.Maps.uniqueIndex(Maps.java:1142) 2013-07-31 14:58:35 [iNFO] [sTDOUT] at cpw.mods.fml.common.Loader.identifyMods(Loader.java:356) 2013-07-31 14:58:35 [iNFO] [sTDOUT] at cpw.mods.fml.common.Loader.loadMods(Loader.java:486) 2013-07-31 14:58:35 [iNFO] [sTDOUT] at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:182) 2013-07-31 14:58:35 [iNFO] [sTDOUT] at net.minecraft.client.Minecraft.startGame(Minecraft.java:470) 2013-07-31 14:58:35 [iNFO] [sTDOUT] at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:796) 2013-07-31 14:58:35 [iNFO] [sTDOUT] at net.minecraft.client.main.Main.main(Main.java:93) 2013-07-31 14:58:35 [iNFO] [sTDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2013-07-31 14:58:35 [iNFO] [sTDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) 2013-07-31 14:58:35 [iNFO] [sTDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 2013-07-31 14:58:35 [iNFO] [sTDOUT] at java.lang.reflect.Method.invoke(Method.java:601) 2013-07-31 14:58:35 [iNFO] [sTDOUT] at net.minecraft.launchwrapper.Launch.launch(Launch.java:57) 2013-07-31 14:58:35 [iNFO] [sTDOUT] at net.minecraft.launchwrapper.Launch.main(Launch.java:18) 2013-07-31 14:58:35 [iNFO] [sTDOUT] 2013-07-31 14:58:35 [iNFO] [sTDOUT] 2013-07-31 14:58:35 [iNFO] [sTDOUT] A detailed walkthrough of the error, its code path and all known details is as follows: 2013-07-31 14:58:35 [iNFO] [sTDOUT] --------------------------------------------------------------------------------------- 2013-07-31 14:58:35 [iNFO] [sTDOUT] 2013-07-31 14:58:35 [iNFO] [sTDOUT] -- Head -- 2013-07-31 14:58:35 [iNFO] [sTDOUT] Stacktrace: 2013-07-31 14:58:35 [iNFO] [sTDOUT] at com.google.common.base.Preconditions.checkArgument(Preconditions.java:119) 2013-07-31 14:58:35 [iNFO] [sTDOUT] at com.google.common.collect.RegularImmutableMap.<init>(RegularImmutableMap.java:67) 2013-07-31 14:58:35 [iNFO] [sTDOUT] at com.google.common.collect.ImmutableMap$Builder.fromEntryList(ImmutableMap.java:249) 2013-07-31 14:58:35 [iNFO] [sTDOUT] at com.google.common.collect.ImmutableMap$Builder.build(ImmutableMap.java:235) 2013-07-31 14:58:35 [iNFO] [sTDOUT] at com.google.common.collect.Maps.uniqueIndex(Maps.java:1168) 2013-07-31 14:58:35 [iNFO] [sTDOUT] at com.google.common.collect.Maps.uniqueIndex(Maps.java:1142) 2013-07-31 14:58:35 [iNFO] [sTDOUT] at cpw.mods.fml.common.Loader.identifyMods(Loader.java:356) 2013-07-31 14:58:35 [iNFO] [sTDOUT] at cpw.mods.fml.common.Loader.loadMods(Loader.java:486) 2013-07-31 14:58:35 [iNFO] [sTDOUT] at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:182) 2013-07-31 14:58:35 [iNFO] [sTDOUT] at net.minecraft.client.Minecraft.startGame(Minecraft.java:470) 2013-07-31 14:58:35 [iNFO] [sTDOUT] 2013-07-31 14:58:35 [iNFO] [sTDOUT] -- Initialization -- 2013-07-31 14:58:35 [iNFO] [sTDOUT] Details: 2013-07-31 14:58:35 [iNFO] [sTDOUT] Stacktrace: 2013-07-31 14:58:35 [iNFO] [sTDOUT] at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:796) 2013-07-31 14:58:35 [iNFO] [sTDOUT] at net.minecraft.client.main.Main.main(Main.java:93) 2013-07-31 14:58:35 [iNFO] [sTDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2013-07-31 14:58:35 [iNFO] [sTDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) 2013-07-31 14:58:35 [iNFO] [sTDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 2013-07-31 14:58:35 [iNFO] [sTDOUT] at java.lang.reflect.Method.invoke(Method.java:601) 2013-07-31 14:58:35 [iNFO] [sTDOUT] at net.minecraft.launchwrapper.Launch.launch(Launch.java:57) 2013-07-31 14:58:35 [iNFO] [sTDOUT] at net.minecraft.launchwrapper.Launch.main(Launch.java:18) AL lib: (EE) alc_cleanup: 1 device not closed Java Result: -1 BUILD SUCCESSFUL (total time: 9 seconds) and the source code can be viewn at https://bitbucket.org/makerimages/mcgadgetry
  13. Hello there, I did all of the above (MC 1.6.2) and now, when starting up netbeans says run: juuli 31, 2013 9:45:56 AM net.minecraft.launchwrapper.LogWrapper log INFO: Using tweak class name cpw.mods.fml.common.launcher.FMLTweaker 2013-07-31 09:45:56 [iNFO] [ForgeModLoader] Forge Mod Loader version 6.2.35.804 for Minecraft 1.6.2 loading 2013-07-31 09:45:56 [iNFO] [ForgeModLoader] Java is Java HotSpot(TM) Client VM, version 1.7.0_21, running on Windows 7:x86:6.1, installed at C:\Program Files\Java\jdk1.7.0_21\jre 2013-07-31 09:45:56 [iNFO] [ForgeModLoader] Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation 2013-07-31 09:45:56 [iNFO] [sTDOUT] Loaded 39 rules from AccessTransformer config file fml_at.cfg 2013-07-31 09:45:56 [iNFO] [sTDOUT] Loaded 107 rules from AccessTransformer config file forge_at.cfg 2013-07-31 09:45:56 [sEVERE] [ForgeModLoader] The binary patch set is missing. Either you are in a development environment, or things are not going to work! 2013-07-31 09:45:57 [iNFO] [ForgeModLoader] Launching wrapped minecraft 2013-07-31 09:45:57 [sEVERE] [ForgeModLoader] Unable to launch java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at net.minecraft.launchwrapper.Launch.launch(Launch.java:57) at net.minecraft.launchwrapper.Launch.main(Launch.java:18) Caused by: java.lang.UnsatisfiedLinkError: no lwjgl in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1860) at java.lang.Runtime.loadLibrary0(Runtime.java:845) at java.lang.System.loadLibrary(System.java:1084) at org.lwjgl.Sys$1.run(Sys.java:73) at java.security.AccessController.doPrivileged(Native Method) at org.lwjgl.Sys.doLoadLibrary(Sys.java:66) at org.lwjgl.Sys.loadLibrary(Sys.java:95) at org.lwjgl.Sys.<clinit>(Sys.java:112) at net.minecraft.client.Minecraft.getSystemTime(Minecraft.java:2444) at net.minecraft.client.main.Main.main(Main.java:37) ... 6 more BUILD SUCCESSFUL (total time: 3 seconds) How can I fix that? EDIT: moved lwjgl to the top in the lib list, shrunk error down to run: juuli 31, 2013 9:54:16 AM net.minecraft.launchwrapper.LogWrapper log INFO: Using tweak class name cpw.mods.fml.common.launcher.FMLTweaker 2013-07-31 09:54:17 [iNFO] [ForgeModLoader] Forge Mod Loader version 6.2.35.804 for Minecraft 1.6.2 loading 2013-07-31 09:54:17 [iNFO] [ForgeModLoader] Java is Java HotSpot(TM) Client VM, version 1.7.0_21, running on Windows 7:x86:6.1, installed at C:\Program Files\Java\jdk1.7.0_21\jre 2013-07-31 09:54:17 [iNFO] [ForgeModLoader] Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation 2013-07-31 09:54:17 [iNFO] [sTDOUT] Loaded 39 rules from AccessTransformer config file fml_at.cfg 2013-07-31 09:54:17 [iNFO] [sTDOUT] Loaded 107 rules from AccessTransformer config file forge_at.cfg 2013-07-31 09:54:26 [sEVERE] [ForgeModLoader] The binary patch set is missing. Either you are in a development environment, or things are not going to work! 2013-07-31 09:54:33 [iNFO] [ForgeModLoader] Launching wrapped minecraft 2013-07-31 09:54:35 [sEVERE] [ForgeModLoader] Unable to launch java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) aBUILD SUCCESSFUL (total time: 26 seconds) EDIT 2: That was false hope, error still remains as such: run: juuli 31, 2013 12:32:05 PM net.minecraft.launchwrapper.LogWrapper log INFO: Using tweak class name cpw.mods.fml.common.launcher.FMLTweaker 2013-07-31 12:32:13 [iNFO] [ForgeModLoader] Forge Mod Loader version 6.2.35.804 for Minecraft 1.6.2 loading 2013-07-31 12:32:13 [iNFO] [ForgeModLoader] Java is Java HotSpot(TM) Client VM, version 1.7.0_21, running on Windows 7:x86:6.1, installed at C:\Program Files\Java\jdk1.7.0_21\jre 2013-07-31 12:32:14 [iNFO] [ForgeModLoader] Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation 2013-07-31 12:32:17 [iNFO] [sTDOUT] Loaded 39 rules from AccessTransformer config file fml_at.cfg 2013-07-31 12:32:19 [iNFO] [sTDOUT] Loaded 107 rules from AccessTransformer config file forge_at.cfg 2013-07-31 12:32:20 [sEVERE] [ForgeModLoader] The binary patch set is missing. Either you are in a development environment, or things are not going to work! 2013-07-31 12:32:28 [iNFO] [ForgeModLoader] Launching wrapped minecraft 2013-07-31 12:32:30 [sEVERE] [ForgeModLoader] Unable to launch java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at net.minecraft.launchwrapper.Launch.launch(Launch.java:57) at net.minecraft.launchwrapper.Launch.main(Launch.java:18) Caused by: java.lang.UnsatisfiedLinkError: no lwjgl in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1860) at java.lang.Runtime.loadLibrary0(Runtime.java:845) at java.lang.System.loadLibrary(System.java:1084) at org.lwjgl.Sys$1.run(Sys.java:73) at java.security.AccessController.doPrivileged(Native Method) at org.lwjgl.Sys.doLoadLibrary(Sys.java:66) at org.lwjgl.Sys.loadLibrary(Sys.java:95) at org.lwjgl.Sys.<clinit>(Sys.java:112) at net.minecraft.client.Minecraft.getSystemTime(Minecraft.java:2444) at net.minecraft.client.main.Main.main(Main.java:37) ... 6 more BUILD SUCCESSFUL (total time: 32 seconds) fixed it by adding -Djava.library.path and setting it to jars/versions/1.6.2/natives
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.