larsgerrits
Members-
Posts
3462 -
Joined
-
Last visited
-
Days Won
17
Everything posted by larsgerrits
-
[1.10.2] Converting my IEEPs [1.8.X] to Capabilities
larsgerrits replied to hugo_the_dwarf's topic in Modder Support
Have you read the part about updating from IEEP to Capabilities? There's a separate section for that: http://mcforge.readthedocs.io/en/latest/datastorage/capabilities/#migrating-from-iextendedentityproperties. -
-
forge crash after finishing stage 1
larsgerrits replied to xXTheLoneWolf11's topic in Support & Bug Reports
This is an issue with NEI. It seems like it isn't updated correctly. Also, it uses a lot of core-modding, which is completely unnecessary. I suggest you use JEI instead, as there's currently no fix for NEI, and it got most of the functionality. -
1) You are registering your recipes before the Items , this will not work. 2) Register your Item s in preInit 3) You are registering your renderers in common code, move this to your ClientProxy. 4) Use ModelLoader.setCustomModelResourceLocation instead of Minecraft.getMinecraft().getRenderItem().getItemModelMesher().register 5) Don't instantiate your Items on the same line where you declare them. Do it right before you register them. There are probably more issues with your code, and I'm not going to bother looking for all of them. Either way, the tutorial you are using is pretty bad. Look for a good one instead, or come back here for help after you fix the main 5 issues I pointed out.
-
[1.10] SOLVED Remove apples from leaf drops?
larsgerrits replied to Cleverpanda's topic in Modder Support
Object == new Object() can never be true, as they are different Objects. You have to check if the item of the ItemStack is equal to Items.APPLE . Also, you can use a for-each loop instead of a normal loop. -
"type=raw": { "model": "wall_inventory", "textures": { "wall": "tem:blocks/chalkstone" } }, "type=raw" doesn't work that way, you have to do it just like the other variants. Also, you can specify your main model in de default section, instead of 3 times in the type variant.
-
If you have a missing texture, there has to be an error in the logs. Post them for help.
-
mcforge.readthedocs.io has a detailed documentation of the Forge blockstate system. It also has documentation for other systems. You might want to check this out before complaining.
-
Show the error log, WITH the parent changed to item/generated .
-
[1.10] Coloring only one texture layer in a Block's json
larsgerrits replied to JigenEagle's topic in Modder Support
If you want to change the color, change the value in your IItemColor / IBlockColor . -
You cannot interact with the main Minecraft threads from the networking thread. See the warning at mcforge.readthedocs.org for more information.
-
Don't use IInventory, use Capabilities. See http://mcforge.readthedocs.io/en/latest/datastorage/capabilities/ for more info.
-
java.lang.NullPointerException: Updating screen events at com.moreoresmod.main.inventory.InventoryBackpack.writeToNBT(InventoryBackpack.java:172) Should say enough.
-
I think this is your issue: JVM Flags: 7 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx3G -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:-UseAdaptiveSizePolicy -Xmn384M -Xmx512m You have the -Xmx flag twice, and I suspect it is only using the second one, setting the max to 512M, instead of the 3G you wanted.
-
After a bit of searching, I have found a few other issues with the same error, and it's about Java crashing with special characters in either the profile name or the full directory path. They solved it by removing special characters from the full directory path. See https://bugs.mojang.com/browse/MCL-774 for more info.
-
The methods in IRecipe are pretty self-explanatory, so you should be able to figure out the thing you need to do in the methods. Minecraft and Forge have IRecipe implementations you can use for reference. Use your IDE to find them.
-
Once you place a Block in the world, it forgets the ItemStack 's data, including the display name. This means that if you name a dirt block "oak", place it in the world, and break it, it is just a normal dirt block without a name.
-
Converting power from RF to mod power system
larsgerrits replied to darthvader45's topic in Modder Support
He can still mod for 1.7.10 (although not recommended), but if he runs into problems, he isn't going to get help here. -
[SOLVED] Getting color for ItemStack in crafting
larsgerrits replied to yooksi's topic in Modder Support
Can you please explain further? What do you expect to get as a crafting result? And show relevant code, we need it to help. -
[solved] Change vanilla block textures without resource pack
larsgerrits replied to Jay Avery's topic in Modder Support
In your resource pack, you only need to have the models/textures you changed. If you don't have a changed model/texture specified, it will fall back to vanilla Minecraft models/textures. So, if you only want to change the model for the furnace, you only need 1 file in your resource pack. -
If they worked in 1.8, and are weird in 1.10.2, the issue is probably that you are using builtin/generated instead of item/generated . Also, if you have a pickaxe model, you should probably look at the vanilla pickaxe model.
-
1.7.10 is no longer supported by Forge.
-
This topic has been moved to Support & Bug Reports. [iurl]http://www.minecraftforge.net/forum/index.php?topic=42810.0[/iurl]
-
FORGE CRASHING Shutting down internal
larsgerrits replied to Garrieth's topic in Support & Bug Reports
Don't use 1.8. If your game crashes, please post the crash so we can actually help.