Commit Graph

75 Commits (master)

Author SHA1 Message Date
Quentin Bazin 5bdacba397 [ClientPlayer] Now sending PlayerChunkPosUpdate. 2021-05-22 16:14:47 +02:00
Quentin Bazin 22ef44e12c Moved ChunkUnload sending from client to server. 2021-05-22 16:14:47 +02:00
Quentin Bazin ecdf504bef 2nd attempt. 2021-05-22 16:14:47 +02:00
Quentin Bazin bb0b86198d [Item] Added constants for harvest capabilities/requirements. 2020-07-28 23:39:28 +02:00
Quentin Bazin ef5ac1d818 [LuaGUI] Text input definition added.
[creative_inventory] Now has a search bar!
2020-07-28 19:10:02 +02:00
Quentin Bazin f99729d827 Block placement constraints implemented. Closed #137. 2020-07-27 18:12:30 +02:00
Quentin Bazin 54ffc2c33d [Block] 'custom_param_bits' attribute added. Fixed #139. 2020-07-25 01:42:05 +02:00
Quentin Bazin 1e6d12331b [docs/lua-api-block|item] Small fix. 2020-07-20 19:21:26 +02:00
Quentin Bazin 64ddacd08f [mods/default] 'Torch' added.
[BlockState] 'isCollidable' attribute added.
[TextButton] Now rounding position.
2020-07-20 15:31:43 +02:00
Quentin Bazin 4c41ab080a [LuaMod|Inventory] Fixed a small bug preventing items from being gathered. 2020-07-20 09:48:26 +02:00
Quentin Bazin 62b2839519 [docs/lua-api-mod.md] Small fix. 2020-07-18 06:43:57 +02:00
Quentin Bazin a4dfd7a7aa Item stack limit added (server global + per block/item definition). 2020-07-18 01:35:59 +02:00
Quentin Bazin 7eaac50d48 Now saving last hotbar slot. 2020-07-17 23:32:50 +02:00
Quentin Bazin f42c71ae8d [ChunkBuilder] Don't apply AO on light sources. 2020-07-17 19:58:45 +02:00
Quentin Bazin 1ded0d929e [Lua API] Added 'daylight_cycle' in sky definition to control its presence and speed. 2020-07-17 19:58:45 +02:00
Quentin Bazin 5119ab9985 [Lua API] Added moon, sun and stars attributes in sky definition. 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 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 6a68b1a430 [BlockState] 'drawOffset' attribute added. 2020-07-11 02:59:48 +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 7750154b22 [BlockState] Added. First stop of block states. 2020-07-10 22:43:50 +02:00
Quentin Bazin 2b210d697a [BlockParam] Added (see #139). 2020-07-09 22:24:19 +02:00
Quentin Bazin 70f58e7b5b [LuaGUI] Now allows defining a closing key. 2020-07-09 00:11:54 +02:00
Quentin Bazin e3dc327b71 [Key] Small fix for multiplayer mode.
If the 'config/keys.lua' file didn't exist custom keys were empty.
2020-07-08 09:13:43 +02:00
DeatHunter 5ba2699c4b
Add random walk as an alternative to flood fill for oregen (#148)
* Improved oregen
* [Lua API] Added biome ore definition property 'gen_type'.

Co-authored-by: Quentin Bazin <quent42340@gmail.com>
2020-07-08 02:28:11 +02:00
Quentin Bazin 89f913bb90 [docs/lua-api-mod.md] Small layout improvement. 2020-07-07 03:33:11 +02:00
Quentin Bazin 14e23dc83d Added seeds and wheat. You can grow wheat but it's quite clunky atm. 2020-07-05 23:32:24 +02:00
Quentin Bazin 7497b6b2a8 Added 'Farmland' block, which is possible to create with any hoe. 2020-07-05 20:55:23 +02:00
Quentin Bazin 8fa3ba40dc [docs/lua-api-mod.md] Added documentation about 'config.lua'. 2020-07-05 02:23:26 +02:00
Quentin Bazin e919cbb8f7 [Lua API] Added properties 'fog_color' and 'fog_depth'. 2020-06-30 01:45:30 +02:00
Quentin Bazin 057753f1d2 [WorldSaveBasicBackend] Now saving player position, rotation and inventory. 2020-06-26 06:14:46 +02:00
Quentin Bazin 93a396e926 [ServerConnectState] Text input added to select an username. 2020-06-26 06:14:46 +02:00
Quentin Bazin 616ad0c50a [ServerPlayer] 'isOnline' added. 2020-06-23 19:12:15 +02:00
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 cc85f5f050 [docs/network-protocol.md] Added. 2020-06-19 17:18:18 +02:00
Quentin Bazin 7e9d26b92b [GameState|Key] Fixed registry access for singleplayer games. 2020-06-19 16:20:35 +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 5d741b30ee [docs/lua-api-key.md] Added. 2020-06-19 16:20:35 +02:00
Quentin Bazin 301d33fa5d Server is now aware of each player's held item. Closed #110. 2020-06-02 05:51:10 +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 82c52bc4d3 [docs] Small fixes. 2020-05-20 20:53:22 +02:00
Quentin Bazin eb5bbb466a [docs/lua-api-entity.md] Added link to 'spawn_entity' in lua-api-mod.md. 2020-05-20 20:51:25 +02:00
Quentin Bazin 0700481ba7 Documentation added for entity API. 2020-05-20 13:39:06 +02:00
Quentin Bazin 5e6103d00d Working on entity Lua API. 2020-05-20 13:39:06 +02:00