mirror of
https://github.com/minetest-mods/nether.git
synced 2025-07-03 00:40:30 +02:00
New/extra portal animation
(new animation by Extex101) The original texture is now "nether_portal_alt.png", and used to provide a "nether:portal_alt" node, which is used/demoed by the Surface-portal as the original animation still has a "it's full of stars" charm coming out when used for lighter coloured portals.
This commit is contained in:
@ -127,6 +127,9 @@ Used by `nether.register_portal`.
|
||||
-- Optional. Allows a custom wormhole node to be specified.
|
||||
-- Useful if you want the portals to have a different post_effect_color
|
||||
-- or texture.
|
||||
-- The Nether mod provides:
|
||||
-- "nether:portal" (default)
|
||||
-- "nether:portal_alt"
|
||||
|
||||
wormhole_node_color = 0,
|
||||
-- Optional. Defaults to 0/magenta.
|
||||
@ -208,6 +211,7 @@ Used by `nether.register_portal`.
|
||||
-- If the location of an existing portal is returned then include the
|
||||
-- orientation, otherwise the existing portal could be overwritten by
|
||||
-- a new one with the orientation of the surface portal.
|
||||
-- Return nil to prevent the portal from igniting.
|
||||
|
||||
find_surface_anchorPos = function(realm_anchorPos),
|
||||
-- Optional. If you don't implement this then a position near the
|
||||
@ -222,6 +226,7 @@ Used by `nether.register_portal`.
|
||||
-- If the location of an existing portal is returned then include the
|
||||
-- orientation, otherwise the existing portal could be overwritten by
|
||||
-- a new one with the orientation of the realm portal.
|
||||
-- Return nil to prevent the portal from igniting.
|
||||
|
||||
on_run_wormhole = function(portalDef, anochorPos, orientation),
|
||||
-- invoked once per second per portal
|
||||
|
Reference in New Issue
Block a user