Needs improvement in tracking other players in MCreator

Started by PrinzPersia on

Topic category: Help with MCreator software

Last seen on 19:43, 8. Oct 2024
Joined Mar 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Needs improvement in tracking other players in MCreator

I would like to address a significant issue regarding the development of NPCs in MCreator, particularly when it comes to targeting specific players. The limitations arising from the inability to store global entity variables and convert registration names into entities make it extremely difficult to implement the desired functions.

Problem Statement:

  1. NPC Target Tracking: In order to enable NPCs to accurately target specific players, these players need to be identified and their coordinates retrieved. However, currently, it is not possible to store target player information in a global entity variable, severely restricting target tracking.
  2. Conversion of Registration Names: Even if we store a player's registration name as a string, there is no way to convert this name into an entity. This limitation means that NPCs do not know which player they should be targeting, making it impossible to retrieve their coordinates.
  3. Complexity of Mod Development: These limitations make development complex and frustrating, as we rely on creative workarounds that are not always reliable. The lack of flexibility in the modding environment restricts the ability to create interesting and dynamic experiences.

Suggestions for Improvement:

  1. Introduction of Global Entity Variables: The ability to create global entity variables would increase flexibility and allow for the efficient storage of target player information.
  2. String to Entity Conversion: A function that allows for the conversion of a registration name (string) into an entity would be extremely useful. This would significantly ease the identification of players and their coordinates, enabling the implementation of target tracking systems for NPCs.

I hope my feedback highlights the difficulties many mod developers face and can contribute to the improvement of MCreator. I appreciate the hard work that goes into the development of MCreator and look forward to future enhancements.

Thank you for your attention!

Last seen on 21:56, 8. Oct 2024
Joined Dec 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I'd love to see Global…
Tue, 10/08/2024 - 19:18

I'd love to see Global Entity Variables too!