Question for Mcreator Developers (Important)

Started by AOCAWOL on

Topic category: Help with Minecraft modding (Java Edition)

Joined Oct 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Question for Mcreator Developers (Important)

Hi! So I know a lot of people ask for Ore Dictionary and I'm not here to ask for that. What I am going to ask is where Mcreator puts their .util, init.BlockInit, and init.ItemInit

As I'm on the verge of making ore dictionary for my mod but when I try to import "package net.mcreator.byg.util it says it doesn't exist but it most certainly should? Same with BlockInit and ItemInit. I'm wondering if you guys have a different name for it? Please help!

Joined Aug 2013
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
It doesn't have to exist…
Sun, 06/30/2019 - 07:11

It doesn't have to exist. First of all, packages are just folders used for better organzation and avoiding potential conflicts. So you do not have to use them, even if it is bad practice. Second of all, even classes like BlockInit do not have to exist. It is just a type of code design that some people use to more easily access fields. MCreator saves, unless there was in 1.9.0 some major chaange, these fields in classes of the elements.

The best way to add custom…
Sun, 06/30/2019 - 08:20

The best way to add custom code is to use a simple mod element such as fuel and lock its code. Once you do, you can hook to any method of the ModElement object defined in the main mod file and use this to add your own functionality.

We do plan ore dictionary for 1.9.1 and a new custom code mod element which will expose all commonly used Forge events and fields to the user.

Another alternative is to…
Sun, 06/30/2019 - 08:29

Another alternative is to make a new folder in sources folder of workspace and use this own package for custom classes.

The package MCreator uses is automatically cleared of any files that do not belong to any mod element.

Joined Jun 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Ore dictionary in 1.9.1?…
Sun, 06/30/2019 - 10:19

Ore dictionary in 1.9.1? Cool :)

Joined Oct 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Oh that's great news, thank…
Sun, 06/30/2019 - 16:58

Oh that's great news, thank you ^-^

Joined May 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I will look in to updating…
Sun, 06/30/2019 - 21:47

I will look in to updating MoreCube to support 1.9 to add Ore Dictionary support, 1.8.3 hard it via MoreCube my 3ed Party tool.