Oen44 Posted August 20, 2018 Posted August 20, 2018 Hi, What's the best way to create ItemStack (or Item) from all vanilla items? Looking for something like Item diamond = Items.find(Items.DIAMOND) // by name, id or something Quote
Draco18s Posted August 20, 2018 Posted August 20, 2018 (edited) uh, new ItemStack(Items.DIAMOND)? Edited August 20, 2018 by Draco18s 1 Quote 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.
Oen44 Posted August 20, 2018 Author Posted August 20, 2018 2 minutes ago, Draco18s said: uh, new ItemStack(Items.DIAMOND)? Oh crap, such thing as Items.XX exists? ? Why, why didn't I try that... Please don't hurt me Close or delete this, I don't know. Quote
Animefan8888 Posted August 20, 2018 Posted August 20, 2018 1 hour ago, Oen44 said: Hi, What's the best way to create ItemStack (or Item) from all vanilla items? Looking for something like Item diamond = Items.find(Items.DIAMOND) // by name, id or something new ItemStack(Items.DIAMOND) Quote VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect. Forge and vanilla BlockState generator.
Draco18s Posted August 20, 2018 Posted August 20, 2018 5 minutes ago, Animefan8888 said: new ItemStack(Items.DIAMOND) Yeah, I had you beat by an hour. :P Quote 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.
Animefan8888 Posted August 20, 2018 Posted August 20, 2018 41 minutes ago, Draco18s said: Yeah, I had you beat by an hour. Oh god, how did I not see that XD. Quote VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect. Forge and vanilla BlockState generator.
Recommended Posts
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.