Local Variables

Started by Darkster2512 on Sun, 08/20/2017 - 11:24

Topic category: Feature requests and ideas for MCreator

Last seen on 16:13, 7. Jan 2021
Joined Mar 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Local Variables
Sun, 08/20/2017 - 11:24

Variables are a very important tool for creating more complex machinery.

But every Variable you create in MCreator is forced to be public.

This is problematic, if you want to create machinery with their own:

- Timers, 

- Target variables (For example: mining drill --> where to mine?), 

- Smelting time or crafting time (For custom furnaces or custom assembly machines etc.), 

- etc.

So my feature request for MCreator --> local variables

Im sure this will add a whole bunch of new and awesome possibilities to MCreator.

 

So, that was my feature request...

Have a nice day! 

 

 

We have in plan to add
Sun, 08/20/2017 - 11:46

We have in plan to add variable scope definition in the future, so you would be able to bind variable to player, entity, location, world, block or make it public. This will most likely be implemented in one of the future updates.

Last seen on 18:34, 3. Nov 2018
Joined Jan 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Klemen, will you be adding
Tue, 08/22/2017 - 14:38

Klemen, will you be adding server support for mods on servers?