Why is my block creating another block in a different dimension?

Started by littledude47 on

Topic category: Help with modding (Java Edition)

Last seen on 18:17, 27. Feb 2021
Joined Jan 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Why is my block creating another block in a different dimension?

So I have a block that when right clicked switches your dimension but for some reason when I teleport to said dimension with the block it spawns a block in the other dimension, the block doesn't do anything though when I right click it, it will just disappear.

the procedure simply gets the id of the entity's current dimension and then just switches the dimension, nothing else happens i'm confused why this is happening and is there a fix to this?

 

Last seen on 18:17, 27. Feb 2021
Joined Jan 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Also, the block will spawn…
Fri, 08/28/2020 - 03:41

Also, the block will spawn in the exact same position as it was in the other dimension