For Plugin Developement add support for custom import

Started by Killar.exe on

Topic category: Feature requests and ideas for MCreator

Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
For Plugin Developement add support for custom import

When you try:

import net.exemplename.class

In your .ftl files when you try it, it don't go in import and do an error so please do a support for custom import! (or custom depdendencies? idk)

MCreator auto-resolves…
Tue, 04/06/2021 - 08:48

MCreator auto-resolves imports. If wrong import is used, you can force the right one by using class FQDN, eg. net.examplename.ClassName inside code, eg

my.project.Class instance = new my.project.Class();

 

Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
thx for the info!
Tue, 04/06/2021 - 19:49

thx for the info!