Hi,
I'm trying to create an item that generates random coordinates and when right-clicking a block with matching X and Z it teleports you to another dimension (for now I'm just using the nether as a proof of concept). Been trying to use .changeDimension method but it keeps crashing the game. Is it because I'm trying it on an item rather than an entity?