Question When it comes to new ItemStack()

Started by JumpWatch on Wed, 04/08/2020 - 22:45

Topic category: Advanced modding

Last seen on 19:54, 23. May 2020
Joined Mar 2019
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • Comments:
Question When it comes to new ItemStack()
Fri, 04/10/2020 - 07:08 (edited)

As in the Title i need to get to know how MCreator registers items. I want to know for both items and blocks.

When i want to do new ItemStack(Items.COAL) "Default way to get item from mc" i get it but what is it for MCreator? ive tried ElementsMOD.ItemBronzeIngot but doesn't seem to work that way. 
What is the way? Thanks!

- HypersMC

Edited by JumpWatch on Fri, 04/10/2020 - 07:08
Check how MCreator does this…
Thu, 04/09/2020 - 06:44

Check how MCreator does this, make a mod element referencing custom item and check ;)

Last seen on 19:54, 23. May 2020
Joined Mar 2019
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • Comments:
i was hoping for a more…
Thu, 04/09/2020 - 18:15

i was hoping for a more specific answer but oh well...

If you know Java, this will…
Fri, 04/10/2020 - 06:30

If you know Java, this will take you under a minute, if you don't I would suggest some Java tutorials first before messing with code :)

Last seen on 19:54, 23. May 2020
Joined Mar 2019
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • Comments:
after i was digging into it…
Fri, 04/10/2020 - 09:58

after i was digging into it after i replied to your first comment i fastly figured out it was ItemItemname.block. Not the way i exspected it to be registered but ok. It works :D