#Entity that teleports player to another dimension

1 messages · Page 1 of 1 (latest)

hoary plover
#

Heya! I'm trying to create an entity that teleports the player to another dimension when interacted with, but I'm still struggling to get an entity to work even after watching tutorials.

Could someone point me to a tutorial/doc or help me set up the entity for version 1.21.10? Thx!

brave mauve
#

If you’re just doing a block entity I think you can override something like entityInside or whatever it’s called to achieve what you want. Or just take a look at the code for the nether portal and see how it teleports players

hoary plover
brave mauve
#

Ah that’s my bad, at least for entities the kaupenjoe 1.21.1 tutorials should largely still work for 1.21.10 with some small edits that shouldn’t be too bad. He does his tutorials with yarn mappings though so if you’re using mojang mappings you’ll have to translate it a bit

#

ah and he actually has tutorials on updating through the 1.21.x versions

hoary plover
#

I already tried using the Kaupenjoe entity tutorial twice before, but it always gave me errors, even following the update videos and the source code, but i'll give it another try

leaden osprey
#

if you’re making an entity that’s not a square base maybe look at how item frames do it

winter osprey
#

I'm not an expert, but I think I'm relatively familiar with creating entities, 1.21.10.