Send a player to another dimension

Started by BlazingGreenFire on

Topic category: Help with Minecraft modding (Java Edition)

Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Send a player to another dimension

Hello so in my mod I have a dimension and an item. What I am trying to do is make it so that when I hit an entity (player or mob) with my custom specific item, it will teleport that entity to the custom dimension I choose and to break the item I hit them with. The item is a scroll and the idea is basically that I hit them with the scroll of banishment, and they are teleported to the dimension, leaving some particles behind, and the scroll breaks.

Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Ok, I made it so the thing…
Sat, 10/23/2021 - 19:45

Ok, I made it so the thing happens when I hit a mob, I made the main trigger, "when entity hit with item" but the only problem is that it teleports me instead of the entity

Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
sorry it is Entity Attacked…
Sat, 10/23/2021 - 19:54

sorry it is Entity Attacked not Entity is hurt

Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Oh ok, I did put that…
Sat, 10/23/2021 - 19:58

Oh ok, I did put that previously but then changed it before getting to test it, I'm going to check if it works

Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Yeah so it works, only…
Sat, 10/23/2021 - 20:05

Yeah so it works, only problem still is that it teleports me and not the entity I hit

Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
on trigger entity is hit,…
Sat, 10/23/2021 - 20:13

on trigger entity is hit, you are source entity not event

Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
let me see your procedure
Sat, 10/23/2021 - 20:13

let me see your procedure

Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
switch dimension block needs…
Sat, 10/23/2021 - 20:19

switch dimension block needs to be event target entity

Source entity- Entity that hits mob

Event Target entity- Entity that was affected by source entity

Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Also is there a procedure I…
Sat, 10/23/2021 - 20:19

Also is there a procedure I can put to teleport the entity/player to specific coords the second they enter the dimension because the dimension is pretty much void and I want them to spawn on top of the one tiny island floating when they are banished/enter the dimension

Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Alright thanks, but one…
Sat, 10/23/2021 - 20:35

Alright thanks, but one thing still, I changed the thing to entity but now the only thing that changed is that I don't get teleported anymore, but the entity also doesn't still

Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
let me see your procedure…
Sat, 10/23/2021 - 20:39

let me see your procedure again, and if you can a video of the error

Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
There's my procedure, if you…
Sat, 10/23/2021 - 20:41

There's my procedure, if you need me to record a video of the error I can do that if the screenshot isn't enough