182 Commits
Author SHA1 Message Date
adepierre 47fca4f94c Refactoring, concurrency fixing and cleaning up the renderer 2026-10-22 01:33:22 +01:00
adepierre 28d7de54fb Small fixes and cleanup in World 2026-10-19 23:03:05 +01:00
adepierre 329a9ce01a Update tests and examples to 26.3 2026-09-21 19:35:00 +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 3002375745 Update tests and examples to 26.1 2026-04-04 20:24:16 +01:00
adepierre 43240191a5 Fix rendering not activating in UserControlledClient example 2026-03-07 18:33:23 +00:00
adepierre dcd2132b65 Update examples with new renderer settings 2026-03-05 21:03:15 +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 3f3cd7cc7a Small pathfinding refactoring to simplify potential tests in the future 2026-02-02 21:39:47 +00:00
adepierre cea88d32e9 Fix mouse/keyboard callback calling uninitialized player pointer 2026-02-02 21:36:48 +00:00
adepierre 539f199f68 Update tests and examples to 1.21.11 2025-12-15 22:14:18 +00:00
adepierre 68f18f1523 Refactor connection process, adding direct mc token connection 2025-11-01 17:55:40 +00:00
adepierre 2d07133453 Remove all trailing whitespaces 2025-09-04 20:11:02 +01:00
adepierre 4dee309ab4 Remove some extra whitespaces 2025-08-04 21:24:41 +02:00
adepierre 0d78a8a21f Add allow_pathfinding boolean in PlaceBlock task 2025-05-04 18:04:29 +02:00
adepierre dad79ab901 Trying to fix linux not finding shared libraries in the same folder 2025-05-04 18:00:23 +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 e7ee9d61e0 Improve dig task with exact range check and allow_pathfinding option 2024-08-03 16:06:44 +02:00
adepierre d28b7aaf99 Fix example 5 crashing by starting before being init 2024-08-03 14:54:22 +02:00
adepierre d019d3acd8 Update example 1 to new botcraft version 2024-07-07 16:06:19 +02:00
adepierre 72e2d1dac5 Switch to use static MSVC runtime instead of microsoft dll 2024-07-07 16:05:54 +02:00
adepierre e3d1ff81c0 Small tnt entity cache optimization for 1.20.3+ 2024-07-07 13:40:37 +02:00
adepierre 3c08ad9471 Update botcraft and examples to new protocolCraft version 2024-06-05 21:38:49 +02:00
adepierre e8222324f7 Update examples to 1.20.5 2024-05-07 14:33:10 +02:00
adepierre 4ec62b5eeb Improve physics accuracy from 1e-4 to 1e-6 2024-03-27 23:02:19 +01:00
adepierre 5ac7e4177a Update examples with new pathfinding 2024-03-09 21:15:00 +01:00
adepierre bfb55bdc84 Add GetLocalPlayer function to ManagersClient 2024-01-07 16:33:42 +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 670edbb009 Rename GetTerrain to GetChunks in World 2023-10-03 20:26:55 +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 747cd72045 Fix world not loaded in example 7 is launched with 1 bot 2023-08-20 17:45:18 +02:00
adepierre a59efd54e7 Add example 7 gif + world download 2023-08-12 20:03:05 +02:00
adepierre a64cbea2db Fix more edge cases in example 7 2023-08-12 20:01:53 +02:00
adepierre 2b9864f4e4 More fixes for edge cases in example 7 2023-08-08 00:43:43 +02:00
adepierre c4fd2144f6 Working version of example 7 potentially 2023-08-06 02:24:31 +02:00
adepierre 00a2a463db Make pathfinding goal a hard constraint in example 2 2023-08-06 02:15:38 +02:00
adepierre 258e98f273 Add XZ-only min_dist to pathfinding, better pathfinding with conditions 2023-08-05 02:49:55 +02:00
adepierre d5cb0c8181 Fix stuff in examples 7 2023-08-04 01:06:06 +02:00
adepierre 84c87d509b Add drop and pick items tasks in example 7 2023-07-30 14:27:11 +02:00