2025.1 - How to save a player into an entity's data.

Started by Mopru on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jan 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
2025.1 - How to save a player into an entity's data.

Hello, and apologies for the cryptic title.

 

I am attempting to make a summon-like mob. How would I go about saving a certain player/entity into the mob's data, so that specific entity could be called again to prevent things like attacking an owner, choosing a target or even restricting permissions of control for the summon.

Thanks in advance!