For Plugin Developement add support for custom import

Started by Killar.exe on Mon, 04/05/2021 - 06:01

Topic category: Feature requests and ideas for MCreator

Last seen on 20:51, 11. May 2021
Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
For Plugin Developement add support for custom import
Mon, 04/05/2021 - 06:01

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();

 

Last seen on 20:51, 11. May 2021
Joined Mar 2020
Points:

User statistics:

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

thx for the info!