Question When it comes to new ItemStack()

Started by JumpWatch on

Topic category: Advanced modding

Active 4 months ago
Joined Mar 2019
Points:
738

User statistics:

  • Modifications: 0
  • Forum topics: 12
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 46
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 ;)

Active 4 months ago
Joined Mar 2019
Points:
738

User statistics:

  • Modifications: 0
  • Forum topics: 12
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 46
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 :)

Active 4 months ago
Joined Mar 2019
Points:
738

User statistics:

  • Modifications: 0
  • Forum topics: 12
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 46
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