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 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
yeah take a vid
Sat, 10/23/2021 - 20:49

yeah take a vid

Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I will try and test it…
Sun, 10/24/2021 - 15:51

I will try and test it myself, to see what's wrong. also sick textures

Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
okay try to put it on the…
Sun, 10/24/2021 - 16:12

okay try to put it on the item trigger called, "When Living Entity is hit with item" inside the Item Editor

Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Yeah it still doesn't seem…
Sun, 10/24/2021 - 16:21

Yeah it still doesn't seem to work, it might work for players but I'll test that when I get the first download for me and my friends to test

Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
yeah doesn't work for me…
Sun, 10/24/2021 - 16:28

yeah doesn't work for me either, probably because it entities can't teleport on unloaded chunks

Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Yeah that's what I was…
Sun, 10/24/2021 - 16:59

Yeah that's what I was thinking. I'm gonna test it now with my friends, thanks a lot for helping :)

Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Hey so since we believe that…
Mon, 10/25/2021 - 10:45

Hey so since we believe that it can't teleport entities, is there a way I can make it so if the entity type is a creature, it will just be killed with like no death effects, and like vanish or something, but if the entity is a player it will send them to the dimension

Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
yes, this should be your…
Mon, 10/25/2021 - 16:38

yes, this should be your procedure

if event target entity is type Player

do switch dimension of event target entity to: ...

else

 do despawn event target entity

put it on your item triggers

Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Hey so I wanna know if there…
Wed, 10/27/2021 - 14:57

Hey so I wanna know if there's a way I can turn the scroll into like a partly ranged weapon, cuz I realised that if you can just punch people once to banish them it would be kinda overpowered, so I wanna make it so if you hold right click, instead of banishing yourself, (if you click right click once) I want the scroll to fire like a particle kinda like an arrow except it doesn't go down because of gravity and it isn't an arrow, so it's harder to banish something because you can miss. Then when it hit's the player/entity, particles will start to form around the entity and after like 5 seconds within being hit they despawn/get banished

Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
also is there a way I can…
Wed, 10/27/2021 - 15:21

also is there a way I can make it so this scroll can't effect some mobs like ender dragon and wither cuz that would be kinda OP