1308 Commits

Author SHA1 Message Date
Quentin Bazin
30e3ae2054 [ChatCommandHandler] '/time <add|set>' command added.
[CelestialObject|Skybox] Moon changes its phase everyday.
2020-07-17 19:58:45 +02:00
Quentin Bazin
0f015ee75d [DebugInfoWidget] Added 'Ticks' and 'Game time'.
[GameTime] The day now starts at 6 AM.
2020-07-17 19:58:45 +02:00
Quentin Bazin
07f86b9e10 [GameTime] 'getCurrentTime' now uses the new tick system.
[DebugOverlay] Added client TPS info.
[Network] Packet 'ServerTick' added. Sent at the beginning of every tick.
2020-07-17 19:58:45 +02:00
Quentin Bazin
556941f553 [GameTime] Tick system added.
[ChatCommandHandler] Added '/tps' command to get ticks per second.
[ServerWorld] Fixed world generation speed.
2020-07-17 19:58:45 +02:00
Quentin Bazin
b44b094423 [mods/default] Pickaxe is now effective against Glowstone and Redstone Lamp. 2020-07-17 19:58:45 +02:00
Quentin Bazin
74bc521d11 [Config] It's now possible to use fallback AO only while using smooth lighting. 2020-07-17 19:58:45 +02:00
Quentin Bazin
c319f865a1 [CelestialObject] Now allows to control rotation speed. 2020-07-17 19:58:45 +02:00
Quentin Bazin
4e45f1583b [GameTime] Added to centralize time, sunlight intensity and sky color. 2020-07-17 19:58:45 +02:00
Quentin Bazin
f2db916357 [Skybox] Stars added. 2020-07-17 19:58:45 +02:00
Quentin Bazin
270dddb5f7 [Skybox] Moon texture added. 2020-07-17 19:58:45 +02:00
Quentin Bazin
5acb1bf437 [Skybox] Sun texture added. 2020-07-17 19:58:45 +02:00
Quentin Bazin
a1ababe8a6 [Skybox] Small tweaks. 2020-07-17 19:58:45 +02:00
Quentin Bazin
b47fbc9d18 [Skybox] Now uses its own shader. 2020-07-17 19:58:45 +02:00
Quentin Bazin
e73f436a46 Basic day/night cycle added. 2020-07-17 19:58:45 +02:00
Quentin Bazin
fe43dcdf7c Basic moon added. 2020-07-17 19:58:45 +02:00
Quentin Bazin
cdc07cd616 Basic sun added. 2020-07-17 19:58:45 +02:00
Quentin Bazin
5a32ffcae3 [ItemWidget] Now updates images when the texture pack changes. 2020-07-14 23:49:50 +02:00
Quentin Bazin
7f8f732dbe [TexturePackSelectionState] Added. 2020-07-14 23:30:40 +02:00
Quentin Bazin
468bdc0dce [ClientApplication] Small fix. 2020-07-13 23:31:18 +02:00
Quentin Bazin
69e4dbba17 Fixed Windows build. 2020-07-13 23:25:04 +02:00
Quentin Bazin
658dd1b0d6 [external/gamekit] Updated. 2020-07-13 15:30:51 +02:00
Quentin Bazin
d01481fdf5 [misc/deploy.sh] Small fixes. 2020-07-13 14:57:30 +02:00
Quentin Bazin
79e0794389 [Lua API] Screen size and gui scale are now available from ClientInfo. 2020-07-13 12:50:16 +02:00
Quentin Bazin
1485c15808 [Lua API] Added item definition property 'effective_on'. Fixed #143. 2020-07-13 06:54:05 +02:00
Quentin Bazin
9df06a4a88 Fixed block mining speed. 2020-07-13 06:26:21 +02:00
Quentin Bazin
35b13ad84d [CMakeLists.txt] Small fix. 2020-07-13 04:07:01 +02:00
Quentin Bazin
9fc0145cb1 [README.md] codedocs.xyz badge removed. 2020-07-12 23:47:09 +02:00
Quentin Bazin
5db8341153 [CMakeLists.txt] Added option to disable building tests. 2020-07-12 23:46:00 +02:00
Quentin Bazin
bf793e9bfb [tests] CxxTest-based unit tests added. 2020-07-11 17:44:20 +02:00
Quentin Bazin
dc0517bff9 [Config] Added option for max block reach distance. 2020-07-11 15:17:56 +02:00
Quentin Bazin
2d56b94398 [mods/default/blocks.lua] Small fixes. 2020-07-11 03:18:44 +02:00
Quentin Bazin
bd5174ba27 [ItemWidget] Fixed items taking green tint after switching with grass. 2020-07-11 03:12:11 +02:00
Quentin Bazin
6a68b1a430 [BlockState] 'drawOffset' attribute added. 2020-07-11 02:59:48 +02:00
Quentin Bazin
801c13fc4b [default] Various gameplay tweaks. [BlockState] Fixed tools. 2020-07-11 02:32:41 +02:00
Quentin Bazin
52b53ebfe4 [mods/default/blocks.lua] Removed old 'Redstone Lamp'. 2020-07-11 02:03:44 +02:00
Quentin Bazin
6bb0042adc [mods/default/tools.lua] Added to generate tools automatically. 2020-07-11 02:02:19 +02:00
Quentin Bazin
e071808721 [README.md] 'Roadmap' link added. 2020-07-11 01:29:45 +02:00
Quentin Bazin
a24deef802 [blocks.lua] Redstone Lamp now works with states. [furnace.lua] Now emits light when on. 2020-07-11 00:58:45 +02:00
Quentin Bazin
d68e17a521 Added 'Redstone Lamp' alternative using states. WIP. 2020-07-10 23:58:07 +02:00
Quentin Bazin
5b77f61298 Documentation updated for block states. 2020-07-10 22:49:59 +02:00
Quentin Bazin
f5f586980d 'use_alt_tiles' replaced by block states. 2020-07-10 22:43:50 +02:00
Quentin Bazin
fd979fdd06 [LuaBlockLoader] Now setting attributes only when necessary. [BlockStat€] 'isOpaque' fixed. 2020-07-10 22:43:50 +02:00
Quentin Bazin
a44a3b6ad2 Block states almost completely working. 2020-07-10 22:43:50 +02:00
Quentin Bazin
5f96d37fbd [BlockState] 'isOpaque' now has a custom getter. 2020-07-10 22:43:50 +02:00
Quentin Bazin
4884b7c1d9 [ScriptEngine] 'BlockState' and 'BlockParam' added. 2020-07-10 22:43:50 +02:00
Quentin Bazin
7750154b22 [BlockState] Added. First stop of block states. 2020-07-10 22:43:50 +02:00
Quentin Bazin
0af7cd7d0e [mods/creative_inventory] Small fix related to LuaJIT. 2020-07-09 23:17:06 +02:00
Quentin Bazin
2b210d697a [BlockParam] Added (see #139). 2020-07-09 22:24:19 +02:00
Quentin Bazin
02b9f8b283 Now using LuaJIT. Closed #91. 2020-07-09 02:40:21 +02:00
Quentin Bazin
c8643e0c2b [texturepacks/minecraft] Debug block textures added. 2020-07-09 01:34:06 +02:00