Jump to content

larsgerrits

Members
  • Posts

    3462
  • Joined

  • Last visited

  • Days Won

    17

Everything posted by larsgerrits

  1. I'm sorry to say this, but I don't think anyone on this forum has used that before, so nobody will be able to help you on this forum. Also, this isn't anything Forge related, so we can't help either. If you really want to mod Minecraft, preferably using Forge, you should probably learn Java. It's the language Minecraft is written in, and will give you the best modding experience for Minecraft. Some might say another language is better for Minecraft, but for starters, Java will be the easiest.
  2. You want to make an ItemStack variable, then call ItemStack#setTagCompound(NBTTagCompound) on that variable. This is also the ItemStack you want to add to the List<ItemStack> .
  3. event.getHand() == hand_you_want_to_check , where the hand is one of the two hands available in EnumHand .
  4. I assume you want to add the integers from the TileEntity to the NBT of an ItemStack ? You want to override getDrops to return a List<ItemStack> with the NBT set to the values of the TileEntity , which you can access using the IBlockAccess and BlockPos provided.
  5. This is in no way useful to us. Post the complete log.
  6. I'd say it's an issue with OpenComputers. It's the only mod referenced by the crash stack trace. Make sure you are using the latest version of OpenComputers, else report it to the author.
  7. This topic has been moved to Support & Bug Reports. [iurl]http://www.minecraftforge.net/forum/index.php?topic=44513.0[/iurl]
  8. 1.7.10 is no longer supported by Forge.
  9. Post the logs. Also, update to 1.10.2, or 1.11.2. 1.8.9 is old and stops being supported soon.
  10. If you look at the imgur link he posted, it already says IC2:scaffold in the config file.
  11. This is an issue with IC2, and Forge can't do anything about it. Report it to the author of IC2.
  12. You have more 29 JVM flags, several affecting memory. Are all these really necessary?
  13. This topic has been moved to Support & Bug Reports. [iurl]http://www.minecraftforge.net/forum/index.php?topic=44419.0[/iurl]
  14. 1.7.10 is no longer supported by Forge.
  15. http://bfy.tw/1lXY Seriously, learn Java. You have shown us several times in this thread that you don't know Java. If you don't know Java, how do you expect us to help you?
  16. In yor build.gradle that you posted you have version 1.10.2-12.18.3.2185 . However, your thread is asking about "Forge 1.10.2-12.18.2.2102 install trouble (MDK)" . How did you get to the version in the subject? Or is this not the build.gradle you are using?
  17. You make your bag an Item . You don't have to make a custom ItemStack class, as the vanilla one handles capabilities for you.
  18. The IItemHandler can be the same as the one you would use in a TileEntity . The default implementation will do fine ( ItemStackHandler ). In Item#initCapabilities you have a return a ICapabilityProvider , for which you want to use CapabilityItemHandler.ITEM_HANDLER_CAPABILITY for an inventory. (Again, do you have a reference I can look at to understand this all?) I currently do not. But why won't you just try it, and if you have a problem we can help? NBT will be saved for you. I was wrong in my first comment, as I didn't even think of Item capabilities...
  19. The IItemHandler can be the same as the one you would use in a TileEntity . The default implementation will do fine ( ItemStackHandler ). In Item#initCapabilities you have a return a ICapabilityProvider , for which you want to use CapabilityItemHandler.ITEM_HANDLER_CAPABILITY for an inventory.
  20. 1) It is very similar, it's just that you have to adapt your code to not take a position and a TileEntity , but an ItemStack (see below). 2) If you are making an Item with an inventory, you don't use a TileEntity . You have to save the inventory inside the ItemStack 's NBT. 3) Probably onItemRightClick .
  21. You somehow specified a version in your build.gradle that doesn't exist on the file server. Can you post your build.gradle file?
  22. Is the firewall of your headless machine blocking some connections? You are getting a forbidden access error.
  23. http://mcpbot.bspk.rs/help
  24. Try adding this to your build.gradle : sourceCompatibility = targetCompatibility = "1.8" compileJava { sourceCompatibility = targetCompatibility = "1.8" } This will tell it to use Java 8 to compile your code. Either rerun gradlew eclipse for Eclipse or refresh your build.gradle in IntelliJ to set this in your IDE.
×
×
  • Create New...

Important Information

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