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:
Treer
2020-02-18 23:05:45 +11:00
committed by SmallJoker
parent 7939161535
commit f7ebd78614
7 changed files with 37 additions and 3 deletions

View File

@ -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