Pet summoning type system

Started by wyattdude120 on

Topic category: Help with MCreator software

Active 3 years ago
Joined Jan 2017
Points:
715

User statistics:

  • Modifications: 0
  • Forum topics: 3
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 5
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???

Active 4 years ago
Joined Jun 2016
Points:
1725

User statistics:

  • Modifications: 6
  • Forum topics: 17
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 1752
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.

Active 3 years ago
Joined Aug 2018
Points:
1051

User statistics:

  • Modifications: 3
  • Forum topics: 28
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 419
I agree!
Sun, 02/10/2019 - 14:46

I agree!

Active 5 months ago
Joined Apr 2014
Points:
1223

User statistics:

  • Modifications: 2
  • Forum topics: 27
  • Wiki pages: 1
  • MCreator plugins: 0
  • Comments: 656
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 

Active 4 years ago
Joined Jun 2016
Points:
1725

User statistics:

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

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