57 Commits

Author SHA1 Message Date
Quentin Bazin
6bb0042adc [mods/default/tools.lua] Added to generate tools automatically. 2020-07-11 02:02:19 +02:00
Quentin Bazin
67bf22664f [mods/default] init.lua splitted into multiple files. 2020-06-02 05:14:54 +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
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
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
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
e3e443e1f6 Debug block added. 2020-03-08 21:45:24 +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
4079d17dcc [blocks.lua] Netherrack, soul sand and lava added. [dimensions.lua] Stone world replaced by nether. 2020-03-08 16:51:04 +01:00
Quentin Bazin
be1e49cfe0 [blocks.lua] Portal block added. Send PlayerChangeDimension on right-click. 2020-03-08 16:07:32 +01:00
Quentin Bazin
3ef71df8c2 [Dimension] Added. Loaded from Lua and saved in Registry. 2020-03-08 16:07:32 +01:00
Quentin Bazin
5ee75e72f6 [LuaGUI] 'set_size' and 'set_centered' added. 2020-03-07 15:41:19 +01:00
KdotJPG
474cdd16c4 Lua trees, ores, desert, review changes, merge 2020-03-07 13:52:47 +01:00
KdotJPG
53bb1c14c0 Biome setup & rudimentary generator 2020-03-07 13:52:47 +01:00
Quentin Bazin
b0ffedd44b [mods/default] Oak Wood Slab added. 2020-03-04 23:25:19 +01:00
Quentin Bazin
78dbb64f27 [mods/default] Renamed wood/planks/leaves blocks with prefix oak_. Flower renamed to Dandelion. Tall grass renamed to Grass. 2020-03-04 21:02:54 +01:00
Quentin Bazin
0c71255938 [MouseItemWidget] Now supports drag-click. 2020-03-01 15:45:09 +01:00
Quentin Bazin
908bb10b9b [AbstractInventoryWidget] Now supports multiple destinations. 2020-03-01 12:55:20 +01:00
Quentin Bazin
c092e53116 [Inventory] Now supports using 'addStack' on a subset. 2020-03-01 12:28:26 +01:00
Quentin Bazin
4d9a2fbe7e [LuaGUIState] Now handles Shift+Left click to move items quickly. 2020-03-01 00:15:49 +01:00
Quentin Bazin
45c797cd5f Creative window added on key 'H'. 2020-02-29 18:07:01 +01:00
Nikola Schrodinger
5d7e5158e8 Added new items 2020-02-29 11:31:28 +01:00
Nikola Schrodinger
0263387e35 Added iron ore generation. 2020-02-29 02:01:07 +01:00
Nikola Schrodinger
4f1a9e87d4 Added new blocks and fixed minor bug with LuaMods. 2020-02-26 03:14:48 +09:00
Quentin Bazin
bcc3f65147 Headers updated and CONTRIBUTORS file added. 2020-02-25 01:48:38 +09:00
Quentin Bazin
879dc28eb2 [FurnaceWidget] Removed. Now completely implemented in Lua. 2020-02-23 22:38:51 +09:00
Quentin Bazin
47b7e3d849 [PlayerCraftingWidget] Removed, implemented completely using Lua. 2020-02-23 18:24:19 +09:00
Quentin Bazin
3399b71de1 [LuaWidgetDef] Added 'resultX' and 'resultY' parameters to 'CraftingWidget' and 'PlayerCraftingWidget'. 2020-02-23 18:00:20 +09:00
Quentin Bazin
904152e1aa [PlayerInventoryWidget] Removed, only PlayerCraftingWidget isn't coded in Lua. 2020-02-22 22:50:27 +09:00
Quentin Bazin
949cc463cb [TerrainGenerator] Tall Grass added. 2020-02-19 20:08:46 +09:00
Quentin Bazin
71587c0da8 [Network] PlayerInventory and BlockActivated packets now send screen size and gui scale informations. 2020-02-15 14:42:29 +09:00
Quentin Bazin
857c7e4060 [LuaGUI] Now provides SCREEN_WIDTH, SCREEN_HEIGHT and GUI_SCALE instead of them being hardcoded in init.lua. 2020-02-15 13:54:02 +09:00
Quentin Bazin
41a46ba13b [CMakeLists.txt] Small improvements. 2020-02-14 18:36:45 +09:00