Pet summoning type system

Started by wyattdude120 on

Topic category: Help with MCreator software

Joined Jan 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Pet summoning type system

trying to make an entity spawn when you right click with a sword and then despawn if you right click again by checking if it exists with a variable but the variable system is very confusing anyone mind explaining to me what to do???

Joined Jun 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
If you do use global…
Sun, 02/10/2019 - 14:41

If you do use global variables, you run the risk of no multiplayer compatibility and the ability to have multiple pets by exiting the game, and possibly other, more minor issues.

Joined Apr 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
This is way simply than you…
Mon, 02/11/2019 - 03:06

This is way simply than you think it is and you don't need to use variables 

On item right click in air event simply spawn entity you want 

And on right click on entity 

Check if item that player is holding is your desired item than instakill entity 

Joined Jun 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
The problem with that is…
Tue, 02/19/2019 - 18:35

The problem with that is that it lets you have infinite pets.