70 Commits
Author SHA1 Message Date
adepierre 47fca4f94c Refactoring, concurrency fixing and cleaning up the renderer 2026-10-22 01:33:22 +01:00
Karotte128 be89baa43a Add hotbar selection features (#364)
* move SendInventoryTransaction into InventoryManager

* add SetIndexHotbarSelected

* add SelectHotbarSlot to InventoryTasks

* add test case

* small code improvements
2026-08-19 00:25:00 +01:00
adepierre 43240191a5 Fix rendering not activating in UserControlledClient example 2026-03-07 18:33:23 +00:00
adepierre 0ae460246d New API to control rendering settings (vsync, screenshot, resolution etc) 2026-03-05 20:39:53 +00:00
adepierre 77a1937f21 Fix Example 1 physics when not connecting to a server 2026-03-05 20:07:27 +00:00
adepierre 5ec4a2141a Refactoring rendering manager so only one instance can exist 2026-02-18 23:39:54 +00:00
adepierre cea88d32e9 Fix mouse/keyboard callback calling uninitialized player pointer 2026-02-02 21:36:48 +00:00
adepierre 4dee309ab4 Remove some extra whitespaces 2025-08-04 21:24:41 +02:00
adepierre 9ba1d323a1 Update examples to 1.21.2/3 2024-11-04 19:13:19 +01:00
adepierre f878432106 Fix local world not initiliazing physics manager in example 1 2024-10-04 18:48:09 +02:00
adepierre d019d3acd8 Update example 1 to new botcraft version 2024-07-07 16:06:19 +02:00
adepierre 4ec62b5eeb Improve physics accuracy from 1e-4 to 1e-6 2024-03-27 23:02:19 +01:00
adepierre 49ad8a909e Update examples with latest changes 2024-01-06 22:08:58 +01:00
adepierre 0f36eaad9f Consistent use of type& instead of type & 2023-11-01 15:05:01 +01:00
adepierre 137e18567a Update examples with new inventory manager 2023-10-22 16:28:21 +02:00
adepierre dc2692c748 Update examples to new localplayer 2023-10-17 23:44:26 +02:00
adepierre 0454098bbc Remove AsyncHandler from utilities 2023-09-29 16:50:58 +02:00
adepierre 6acb94d2d8 Fix compilation for all versions 2023-09-29 01:14:03 +02:00
adepierre 3f14ad0426 Add load counter to chunk 2023-09-28 23:11:53 +02:00
adepierre 720ab0a19d Rename online parameter to connect in example 2 2023-09-27 19:02:37 +02:00
adepierre 591419ea37 Update to new world class 2023-09-19 14:25:40 +02:00
adepierre 9b1fb4eb4a Document all PROTOCOL_VERSION preprocessor condition 2023-08-31 15:52:24 +02:00
adepierre b6fc15ea76 Ability to automatically compute speed in Pathfinding task (if not specified) 2023-07-29 03:59:32 +02:00
adepierre 08ef6ae5c2 Standardize examples 2023-06-12 02:16:14 +02:00
adepierre 1ff010155c Fix output of examples 2023-01-15 01:59:51 +01:00
adepierre dd51650265 Consistent includes in examples 2023-01-14 23:05:56 +01:00
adepierre 87286003ad Standardize examples cmakelists.txt 2023-01-12 20:30:51 +01:00
adepierre 6ef01d6e5c Small fixes to make all compilers happy 2023-01-12 19:26:45 +01:00
adepierre 57de93af1e Address MSVC compiler warnings for botcraft 2022-12-28 21:30:44 +01:00
adepierre 0670a5bb38 Remove old Mojang account logging system 2022-09-07 15:20:25 +02:00
adepierre d28127c73e Better physics and pathfinding with climbable blocks 2022-07-29 00:24:21 +02:00
adepierre 40d0d7510e Update physics with climbable blocks 2022-07-16 15:39:05 +02:00
adepierre 96bd1567f8 Separate player speed and player inputs 2022-05-21 18:12:55 +02:00
adepierre 37db471537 Move physics in its own manager 2022-04-25 21:17:24 +02:00
adepierre c586de0f2b Chunk loading optim // using unique ptr in asset manager 2022-04-08 22:52:13 +02:00
adepierre 57707f7b5a Add logger class 2022-02-03 20:30:18 +01:00
adepierre 82a3307bdd Update example 1 with entity stuffs 2022-01-16 04:11:56 +01:00
adepierre 650bddcff1 Fix inconsistent tab/spaces indentation 2022-01-01 02:11:30 +01:00
adepierre 76e33f53e5 Clients refactoring 2021-11-01 19:34:31 +01:00
adepierre 1b0a492219 Merge branch 'master' into betterai 2021-09-27 02:27:16 +02:00
adepierre d44a7e389f Working Behaviour tree system 2021-09-10 19:43:44 +02:00
adepierre 5aa6996d1e Fix xsts token, fix examples help 2021-09-04 16:43:35 +02:00
adepierre d54f012f25 Merge master 2021-09-04 14:57:54 +02:00
adepierre 1eeaf14d9f Implement Microsoft auth 2021-09-03 21:22:00 +02:00
adepierre a3ca241ddb Replace picoJson with more modern nlohmann json 2021-08-12 02:35:09 +02:00
adepierre d59ac508ab Merge branch 'master' into betterai 2021-07-31 01:32:59 +02:00
adepierre 9566f40d12 Add an async handler to world trying to fix #39 2021-07-06 00:45:01 +02:00
adepierre 2afc476f6b Add beehive, reorganize for new AI system 2021-06-25 21:36:56 +02:00
adepierre 403ee74ac7 Add sync Dig method to InterfaceClient 2021-04-19 18:30:15 +02:00
adepierre 309a387bf2 Improving InterfaceClient 2021-04-13 20:45:02 +02:00