Posted August 8, 20205 yr Hi, I am very new to Forge and Java. I followed a YouTube tutorial on how to make a mod. I am just curious on how to give a specific order of items in a creative tab that I add and not just dependent on how the mod registers the items through initialization. I hope I would get helpful answers and Thank you in advance.
August 8, 20205 yr You would have to make your own ItemGroup class which overrides the "fill" method in which you add your items to the list in any order you want. https://github.com/CAS-ual-TY/Visibilis [1.14] How to Villagers, Trades, Professions, Fix Trades https://minecraft.curseforge.com/projects/gun-customization-infinity / https://github.com/CAS-ual-TY/GunCus https://minecraft.curseforge.com/projects/ygo-dueling-mod https://minecraft.curseforge.com/projects/mundus-magicus https://minecraft.curseforge.com/projects/deuf-duplicate-entity-uuid-fix
August 9, 20205 yr Author How do you write a list? I'm sorry I'm new to Java. Edited August 9, 20205 yr by winkeyface14
August 9, 20205 yr 28 minutes ago, winkeyface14 said: What is the format for the list? What do you mean, "format"? Its a list. It's ordered by its very nature and accepts objects of a single type. Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable. If you think this is the case, JUST REPORT ME. Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice. Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked. DO NOT PM ME WITH PROBLEMS. No help will be given.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.