Jump to content

IAmDrinkingLemonade

Members
  • Posts

    14
  • Joined

  • Last visited

Converted

  • Gender
    Undisclosed
  • Personal Text
    I am new!

IAmDrinkingLemonade's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. Seriously, if you just completely disregard anything we say, then yes, your problems will not magically disappear in a puff of smoke. Does that mean it is not possible to do what I want to do?
  2. this is line 70 ItemStack stack = play.inventory.getCurrentItem(); I have no clue what I need to change it to
  3. As soon as I spawn the entity in the world it crashes, and if I already have the entity in the world it crashes before I can even see the world.
  4. It is telling me that that is what caused the error. I shoul've mentioned this but I have the original code in my onLivingUpdate in my entity's class
  5. Post the crash. It is telling me I have a problem with this line ItemStack stack = play.inventory.getCurrentItem();
  6. I spawned the entity within 4 blocks of me (what I set the distance to) and it still crashed.
  7. Hi! I am working on a mod and I want my entity to take an item out of my inventory when I get too close too it I tried this EntityPlayer play = this.worldObj.getClosestPlayerToEntity(this, 4.0F); ItemStack stack = play.inventory.getCurrentItem(); if(stack != null && stack.getItem() == Items.acacia_door){ --stack.stackSize; } But it just crashes when I spawn the entity can anyone help
  8. handleComponentClick does not exist, but I did more research and found GuiConfirmOpenLink gui = new GuiConfirmOpenLink(this, "soggymustache.net", 0, true); gui.disableSecurityWarning(); mc.displayGuiScreen(gui); It shows the thing I need but the only working button is the copy to clipboard
  9. Yep! it exists but Im not sure about how to use it
  10. As the title says I want to have the game open a webpage when I click a button using the simple minecraft link opener thingy that says "never open links from people you dont trust" I already have the entire GUI made I just need to get the button to work can anyone help me?
  11. Since drawTexturedModalRect is in use here it must actually be exactly 256x256. If that is not the case, drawModalRectWithCustomSizedTexture must be used. Thanks I added that and it worked I only need to mess with positions now!
  12. Hi!, I am making a GUI that is almost a guide for my mod but the image will be lets say 200 pixels wide but the gui always sets it to 100 can sqeezes it together here is my GUI code: http://pastebin.com/LBd1nnJ7 thanks!
  13. I have added in custom entities in my mod, I want to make it so when you right click the entity with an item it will drop the spawn egg, I already got it working it will drop any item I need to know how to make it drop it's spawn egg. thanks!
×
×
  • Create New...

Important Information

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