mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-12-26 03:07:32 +01:00
Add End sky texture
This commit is contained in:
parent
75d6806782
commit
6b2da70ff7
@ -158,8 +158,11 @@ minetest.register_globalstep(function(dtime)
|
|||||||
-- FIXME: Sky handling in MCL2 is held together with lots of duct tape.
|
-- FIXME: Sky handling in MCL2 is held together with lots of duct tape.
|
||||||
-- This only works beause weather_pack currently does not touch the sky for players below the height used for this check.
|
-- This only works beause weather_pack currently does not touch the sky for players below the height used for this check.
|
||||||
-- There should be a real skybox API.
|
-- There should be a real skybox API.
|
||||||
if dim == "void" or dim == "end" then
|
if dim == "void" then
|
||||||
player:set_sky("#000000", "plain", nil, false)
|
player:set_sky("#000000", "plain", nil, false)
|
||||||
|
elseif dim == "end" then
|
||||||
|
local t = "mcl_playerplus_end_sky.png"
|
||||||
|
player:set_sky("#000000", "skybox", {t,t,t,t,t,t}, false)
|
||||||
elseif dim == "nether" then
|
elseif dim == "nether" then
|
||||||
player:set_sky("#300810", "plain", nil, false)
|
player:set_sky("#300810", "plain", nil, false)
|
||||||
end
|
end
|
||||||
|
BIN
mods/PLAYER/mcl_playerplus/textures/mcl_playerplus_end_sky.png
Normal file
BIN
mods/PLAYER/mcl_playerplus/textures/mcl_playerplus_end_sky.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 97 KiB |
@ -845,3 +845,4 @@ Source path,Source file,Target path,Target file,xs,ys,xl,yl,xt,yt
|
|||||||
/assets/minecraft/textures/items,banner_overlay.png,/mods/ITEMS/mcl_banners/textures,mcl_banners_item_overlay.png,,,,,,
|
/assets/minecraft/textures/items,banner_overlay.png,/mods/ITEMS/mcl_banners/textures,mcl_banners_item_overlay.png,,,,,,
|
||||||
/assets/minecraft/textures/blocks,portal.png,/mods/ITEMS/mcl_portals/textures,mcl_portals_portal.png,,,,,,
|
/assets/minecraft/textures/blocks,portal.png,/mods/ITEMS/mcl_portals/textures,mcl_portals_portal.png,,,,,,
|
||||||
/assets/minecraft/textures/entity,end_portal.png,/mods/ITEMS/mcl_portals/textures,mcl_portals_end_portal.png,,,,,,
|
/assets/minecraft/textures/entity,end_portal.png,/mods/ITEMS/mcl_portals/textures,mcl_portals_end_portal.png,,,,,,
|
||||||
|
/assets/minecraft/textures/environment,end_sky.png,/mods/PLAYER/mcl_playerplus/textures,mcl_playerplus_end_sky.png,,,,,,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user