larsgerrits
Members-
Posts
3462 -
Joined
-
Last visited
-
Days Won
17
Everything posted by larsgerrits
-
Minecraft python api - where is left mouse button
larsgerrits replied to superbilder's topic in Modder Support
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. -
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> .
-
[1.10.2] RightClickBlock event ocurring twice.
larsgerrits replied to zerofirex12's topic in Modder Support
event.getHand() == hand_you_want_to_check , where the hand is one of the two hands available in EnumHand . -
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.
-
1.10.2 Minecraft Forge Keeps Crashing!!
larsgerrits replied to SinisterPanini's topic in Support & Bug Reports
This is in no way useful to us. Post the complete log. -
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.
-
This topic has been moved to Support & Bug Reports. [iurl]http://www.minecraftforge.net/forum/index.php?topic=44513.0[/iurl]
-
Random Crash in Forge step 2/7
larsgerrits replied to coolcollin007's topic in Support & Bug Reports
1.7.10 is no longer supported by Forge. -
If you look at the imgur link he posted, it already says IC2:scaffold in the config file.
-
This is an issue with IC2, and Forge can't do anything about it. Report it to the author of IC2.
-
Forge takes more than 60 minutes to startup
larsgerrits replied to ThaumicTom's topic in Support & Bug Reports
You have more 29 JVM flags, several affecting memory. Are all these really necessary? -
This topic has been moved to Support & Bug Reports. [iurl]http://www.minecraftforge.net/forum/index.php?topic=44419.0[/iurl]
-
1.7.10 is no longer supported by Forge.
-
[1.10.2] {Solved!!!} Right-Click Item for Chest-like GUI
larsgerrits replied to EscapeMC's topic in Modder Support
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? -
Forge 1.10.2-12.18.2.2102 install trouble (MDK)
larsgerrits replied to MrTroble's topic in Support & Bug Reports
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? -
[1.10.2] {Solved!!!} Right-Click Item for Chest-like GUI
larsgerrits replied to EscapeMC's topic in Modder Support
You make your bag an Item . You don't have to make a custom ItemStack class, as the vanilla one handles capabilities for you. -
[1.10.2] {Solved!!!} Right-Click Item for Chest-like GUI
larsgerrits replied to EscapeMC's topic in Modder Support
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... -
[1.10.2] {Solved!!!} Right-Click Item for Chest-like GUI
larsgerrits replied to EscapeMC's topic in Modder Support
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. -
[1.10.2] {Solved!!!} Right-Click Item for Chest-like GUI
larsgerrits replied to EscapeMC's topic in Modder Support
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 . -
Forge 1.10.2-12.18.2.2102 install trouble (MDK)
larsgerrits replied to MrTroble's topic in Support & Bug Reports
You somehow specified a version in your build.gradle that doesn't exist on the file server. Can you post your build.gradle file? -
Server Installation Error -- Libraries Failed to Download
larsgerrits replied to HeyoSpeaker's topic in Support & Bug Reports
Is the firewall of your headless machine blocking some connections? You are getting a forbidden access error. -
Forge Server wont download all libraries
larsgerrits replied to Lecapria's topic in Support & Bug Reports
Post the logs. -
http://mcpbot.bspk.rs/help
-
[1.11] X is not supported at this language level
larsgerrits replied to Lambda's topic in Modder Support
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.