Spawn Gem creates 2 items even when using "not is provided world remote"

Started by truthjx on

Topic category: Help with MCreator software

Joined Jan 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Spawn Gem creates 2 items even when using "not is provided world remote"
Sun, 01/16/2022 - 01:46 (edited)

I've been trying to make an item that functions pretty similarly to a trident, and I've been trying to get spawn gem to spawn the item at the point where it impacts a block or entity, which it does do, but it also spawns an item right in front of the user. The only thing I've found so far which supposedly fixes this is using the block "not" and "is provided world remote (client side)" to stop the procedure from running on both client and server side, which I had hoped would solve my problem, but spawn gem still creates 2 items. I've even tried removing the nearest item entity after a throw, but that removes both copies of the gem. I can't make any progress for the life of me, despite trying lots of different small changes.

 

Edited by truthjx on Sun, 01/16/2022 - 01:46
Joined Jun 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Hi man, idk whether you are…
Thu, 06/13/2024 - 09:08

Hi man, idk whether you are still reading this but I recently had the same issue and I found a way to solve it if you have the same settings I did.

The problem for me, was the fact that I set the event trigger to be "when player right clicks on entity" whilst also setting the trigger of the entity on the entity's page to be executing the same procedure. Basically, to fix this, you have to change the external call back to "no additional trigger" and that will fix your problem.

Basically what was happening was the game would execute both commands at once, basically doing double of what it was supposed to. Anyways I hope this helped and btw, i was absolutely dumbfounded after trying so many things just like you did.