140 Commits

Author SHA1 Message Date
Quentin Bazin
00d1cb84d5 Mod-defined server config options. Fixes #105.
[Chat] History system with up/down arrow keys.
[ChatCommandHandler] '/option' command added.
2020-06-20 01:07:28 +02:00
Quentin Bazin
fc3fafc1a8 [Lua API] Key definition: OK. Can't be remapped yet. 2020-06-19 16:20:35 +02:00
Quentin Bazin
ea38e6d397 [LuaKeyLoader] Moved callback inside key definition. 2020-06-19 16:20:35 +02:00
Quentin Bazin
b45ac1cdbd [LuaKeyLoader] Now loading key definitions from Lua (see #109). 2020-06-19 16:20:35 +02:00
Quentin Bazin
67bf22664f [mods/default] init.lua splitted into multiple files. 2020-06-02 05:14:54 +02:00
Quentin Bazin
4a6bbbe5ea [Dimension] 'gravity' field added to change gravity per-dimension. 2020-05-22 20:55:17 +02:00
Quentin Bazin
b34480565c [LuaCore] New event 'PlayerConnected' added. 2020-05-22 05:34:02 +02:00
Quentin Bazin
17af1861b5 [LuaMod] Added helpers to despawn an entity and add an item stack to a player's inventory. 2020-05-20 13:39:06 +02:00
Quentin Bazin
4ff7714ece Now using ServerConfig in Lua + Collision callback: OK. 2020-05-20 13:39:06 +02:00
Quentin Bazin
2f82101fb8 Entity definition + spawn from Lua: OK. 2020-05-20 13:39:06 +02:00
Quentin Bazin
5e6103d00d Working on entity Lua API. 2020-05-20 13:39:06 +02:00
Quentin Bazin
9f09a0af55 [LuaCore] New event 'OnBlockDigged' added. 2020-05-04 11:39:01 +02:00
Quentin Bazin
94b959cf03 [LuaMod] 'path()' member added. 2020-04-03 02:34:03 +02:00
Quentin Bazin
ead5e7dde0 [ServerModLoader] Now handling mod name conflicts. 2020-04-03 02:02:53 +02:00
Quentin Bazin
9015830aef [ServerModLoader] Now storing mods.
The changes are only committed on success.
Also, the mods now use their own working directory instead of the main.
2020-04-03 01:11:36 +02:00
Quentin Bazin
474eeec8f6 [ServerModLoader] Added. Will handle modpacks and mod name conflicts. 2020-04-03 00:26:31 +02:00
Quentin Bazin
218eddb7e4 Furnace output inventory is now read-only. 2020-03-30 03:17:18 +02:00
Quentin Bazin
5072afdb81 [blocks.lua] Cactus and sugar canes now breaks the blocks above when broken. 2020-03-29 21:39:39 +02:00
Quentin Bazin
2ecef2ded9 Door block added. 2020-03-29 19:25:40 +02:00
Quentin Bazin
c3eaa06653 [blocks.lua] Cactus bottom texture added. 2020-03-29 17:55:15 +02:00
Quentin Bazin
743ee7bd22 Redstone lamp added, can be enabled/disabled using right-click. 2020-03-29 17:33:06 +02:00
Quentin Bazin
5c8d926315 Block groups added. 2020-03-29 15:37:49 +02:00
Quentin Bazin
266e4b7453 Groups can now be used in recipes. 2020-03-29 15:37:49 +02:00
Quentin Bazin
786aaff198 Groups can now be used for filtering in InventoryWidget. 2020-03-29 15:37:49 +02:00
Quentin Bazin
1347f81619 Item groups added. Now used instead of 'is_fuel' and 'burn_time'. 2020-03-29 15:37:49 +02:00
Quentin Bazin
93308c9f14 Basic texture pack system added (see #34). 2020-03-18 00:42:56 +01:00
Quentin Bazin
c5f83f9084 [blocks.lua] Sugar canes added. 2020-03-15 16:54:24 +01:00
Quentin Bazin
065590fb94 [LuaBiomeLoader] Changed block definitions format. 2020-03-13 12:18:40 +01:00
Quentin Bazin
e5195f9ad3 [InventoryWidgetDef] Definition format improved for inventory source. 2020-03-13 10:10:22 +01:00
Quentin Bazin
b4f1b4b95a [CraftingWidgetDef] Definition format improved for inventory source. 2020-03-13 09:34:12 +01:00
Quentin Bazin
359173450c [Crosshair] Fixed size on smaller screens. 2020-03-11 15:26:21 +01:00
Quentin Bazin
11c5cb92a2 [LuaCore] New event 'OnBlockActivated' added. 2020-03-10 14:25:38 +01:00
Quentin Bazin
d259cce9e9 [LuaCore] Now supports event listener registration. 2020-03-10 14:02:20 +01:00
Quentin Bazin
b3ae21009e [LuaGUIState] Textures are now loaded from a path given by mods. 2020-03-10 13:15:23 +01:00
Quentin Bazin
875242568b [TODO] Removed. [Notes] Updated. 2020-03-09 22:10:41 +01:00
Quentin Bazin
2555d89fa2 [TerrainGenerator] Portals added. 2020-03-09 21:10:03 +01:00
Quentin Bazin
602e85f3d4 [biomes.lua] Biome 'mountain' removed. 2020-03-09 20:17:40 +01:00
Quentin Bazin
ff516ec30b Basic sky API added (see #76) 2020-03-09 19:36:46 +01:00
Quentin Bazin
d73d19327f [ServerApplication] Now loading every mod in 'mods' folder. 2020-03-09 16:47:52 +01:00
Quentin Bazin
10feff98fe [ScrollBarWidget] Small improvement. 2020-03-09 11:13:29 +01:00
Quentin Bazin
8ff23a02d3 [init.lua] Creative inventory auto-filled by Registry. 2020-03-09 10:50:01 +01:00
Quentin Bazin
f04993be26 [ScrollBarWidget] Added and used in creative window. 2020-03-09 10:38:30 +01:00
Quentin Bazin
1b2f30ba56 [BlockCursor] Block destroy texture now loaded in constructor. 2020-03-08 23:12:55 +01:00
Quentin Bazin
9f457b6718 [ProgressBarWidgetDef] Now loads 'type' attribute from a string. 2020-03-08 22:39:53 +01:00
Quentin Bazin
0b7a1ba9d0 [ServerCommandHandler] Now entirely responsible for player spawn position. 2020-03-08 22:10:35 +01:00
Quentin Bazin
e3e443e1f6 Debug block added. 2020-03-08 21:45:24 +01:00
Quentin Bazin
b851b41dad [ChunkBuilder] Cactus draw type added. 2020-03-08 20:00:20 +01:00
Quentin Bazin
a6a121628a [init.lua] Cactus and dead bush added to creative inventory. 2020-03-08 17:32:39 +01:00
Quentin Bazin
edec9ff87f [Tree] New attributes. [biomes.lua] Desert now spawns cacti and dead bushes. 2020-03-08 17:28:35 +01:00
Quentin Bazin
4079d17dcc [blocks.lua] Netherrack, soul sand and lava added. [dimensions.lua] Stone world replaced by nether. 2020-03-08 16:51:04 +01:00