Nether portal: No color. Placed flat #48

Open
opened 2024-06-14 06:05:18 +02:00 by gmxmail · 1 comment

If the gates of Nether portal were transparent in color, I could use them for the walls of my house, and people would think they could walk into my house, but instead they'd be transported to Nether.
Nether portal has Transparent No color. Activated looks like it's not activated.

1.Nether portal door, No color.
2. Placed flat Nether portal door.

If the gates of Nether portal were transparent in color, I could use them for the walls of my house, and people would think they could walk into my house, but instead they'd be transported to Nether. Nether portal has Transparent No color. Activated looks like it's not activated. 1.Nether portal door, No color. 2. Placed flat Nether portal door. ![](https://cdn.discordapp.com/attachments/802914940407119872/1069244514671284274/screenshot_20230129_211023.png?ex=666ceb4d&is=666b99cd&hm=680348807fc74e27b719e216f39f5f8e11091961b95848fa74f038d99f6c4293&.png)

The player is required to wait for 3 seconds inside an activated portal frame to be teleported to the Nether. It's also important to know that only vertical Nether portals can be activated.

The texture displayed inside an activated frame is .minetest/games/mineclone2/textures/mcl_portals_portal.png

You can change that to a fully transparent image, but you would no longer be able to tell if the portal is activated or not, unless you try it.

nicu@Nicu-PC:~/.minetest/games/mineclone2/mods/ITEMS/mcl_portals$ grep -n DELAY portal_nether.lua 
88:local DELAY				= 3 -- seconds before teleporting in Nether portal in Survival mode (4 minus ABM interval time)
1485:	minetest.after(DELAY, teleport_no_delay, obj, portal_pos)

The code above shows the delay before the players get teleported to the Nether. You can edit that value on your server if you really want it, and see if it works well for you.

There's also a cooldown that the game uses to prevent players and mobs to be teleported back and forth between dimensions. This is very important if you want instant teleportation, so if want to change these values make sure you don't shorten them too much.

nicu@Nicu-PC:~/.minetest/games/mineclone2/mods/ITEMS/mcl_portals$ grep -n COOLOFF portal_nether.lua 
85:local PLAYER_COOLOFF, MOB_COOLOFF	= 3, 14 -- for this many seconds they won't teleported again
806:		minetest.after(PLAYER_COOLOFF, stop_teleport_cooloff, obj)
808:		minetest.after(MOB_COOLOFF, stop_teleport_cooloff, obj)
The player is required to wait for 3 seconds inside an activated portal frame to be teleported to the Nether. It's also important to know that only vertical Nether portals can be activated. The texture displayed inside an activated frame is `.minetest/games/mineclone2/textures/mcl_portals_portal.png` You can change that to a fully transparent image, but you would no longer be able to tell if the portal is activated or not, unless you try it. ``` nicu@Nicu-PC:~/.minetest/games/mineclone2/mods/ITEMS/mcl_portals$ grep -n DELAY portal_nether.lua 88:local DELAY = 3 -- seconds before teleporting in Nether portal in Survival mode (4 minus ABM interval time) 1485: minetest.after(DELAY, teleport_no_delay, obj, portal_pos) ``` The code above shows the delay before the players get teleported to the Nether. You can edit that value on your server if you really want it, and see if it works well for you. There's also a cooldown that the game uses to prevent players and mobs to be teleported back and forth between dimensions. This is very important if you want instant teleportation, so if want to change these values make sure you don't shorten them too much. ``` nicu@Nicu-PC:~/.minetest/games/mineclone2/mods/ITEMS/mcl_portals$ grep -n COOLOFF portal_nether.lua 85:local PLAYER_COOLOFF, MOB_COOLOFF = 3, 14 -- for this many seconds they won't teleported again 806: minetest.after(PLAYER_COOLOFF, stop_teleport_cooloff, obj) 808: minetest.after(MOB_COOLOFF, stop_teleport_cooloff, obj) ```
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: VoxeLibre/MineClone2-Plus#48
No description provided.