Portal Gun?

Started by OQBdude123 on Mon, 01/18/2016 - 16:08

Topic category: Advanced modding

Last seen on 03:49, 13. Oct 2019
Joined Apr 2015
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Portal Gun?
Mon, 01/18/2016 - 16:08

Sorry again but is it possible to make a Portal Gun from the Portal franchise? I'm trying to implement a bit of Terraria in my mod.

Theoretically you can do item
Sat, 01/30/2016 - 15:19

Theoretically you can do item that shoots entity that after hitting the ground makes a block that will have saved your item id so it will know to what "portal" it has to connect.
But i think that would be very hard to code.

Last seen on 10:10, 13. Mar 2016
Joined Sep 2015
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
I think it is possible like
Sun, 01/31/2016 - 00:00

I think it is possible like Nuparu00 stated but you would have to make most likely two seperate portal gun, an orange and blue that when hits entity such as block would place down a block that had the event to teleport to the other block! I have no idea if that is possible but I can try it and see what happens, unfortunately I dont think you could keep placing down the blocks as I dont think its possible to delete the portal blocks unless you do it manually!

This is schema of the code
Sun, 01/31/2016 - 01:00

This is schema of the code you shold theoretically make. For the functions search on google or in minecraft vanilla sources.