Commit Graph

48 Commits

Author SHA1 Message Date
TheMode 05de99f45f immutable packets (record) (#528) 2022-01-10 16:51:21 +01:00
TheMode faa289a097
Entity tracking rework (#486) 2021-11-01 18:04:00 +01:00
Luke Bingham 3be4edc096
Allow chained method calls on FakePlayerOption (#507) 2021-10-30 21:03:18 +02:00
Alex K 0b7b7283e6
Fix adding viewers to FakePlayer (#497) 2021-10-19 20:04:54 +02:00
TheMode be9b11f238 Simplify path finding code, do not expose internal parts
Signed-off-by: TheMode <themode@outlook.fr>
2021-09-24 19:31:54 +02:00
Moulberry 0360fd3f79 Fix 2 entity loading issues 2021-09-13 15:05:16 +08:00
TheMode 1591df16aa Rename `netty` to `socket` wherever possible 2021-08-08 19:11:47 +02:00
TheMode 28b034103e Remove deprecated interfaces impl 2021-07-15 05:23:33 +02:00
TheMode b35ab0b667 Fix second setInstance method 2021-07-11 13:45:28 +02:00
TheMode 45d7420397 Remove most Position/BlockPosition usage 2021-07-08 18:56:40 +02:00
Németh Noel f9c9b4c1eb Fix old usage of TimeUnit 2021-06-30 13:20:02 +02:00
TheMode 491ef8b514 Merge branch 'master' into 1.17 2021-06-06 15:31:27 +02:00
TheMode 56eead948a Fix inventory click 2021-06-06 01:50:28 +02:00
TheMode c105fcc339 Wait 20 ticks before removing player from the tablist 2021-05-31 21:01:28 +02:00
TheMode 6764d040c3 Fix FakePlayer not being removed from the tablist 2021-05-31 20:49:33 +02:00
Konstantin Shandurenko fdfd20e255 InventoryModifier to AbstractInventory and additional methods for inventories 2021-04-04 03:56:44 +03:00
jglrxavpok 07ab4ac090 Most client packets are writtable, same for server packets and readability 2021-03-30 19:46:20 +02:00
themode b155f3bca3 Deprecate Attributes, constants in Attribute should be used instead 2021-03-09 20:51:11 +01:00
themode 721f9abc08 FakePlayer now implements NavigableEntity 2021-02-20 09:15:08 +01:00
themode da2286de74 Make the FakePlayer constructor protected instead of private 2021-01-28 15:42:11 +01:00
themode 098ba1a6a4 Fix client crash when receiving packets before playing state 2021-01-13 09:16:22 +01:00
themode 6b39cb1e32 Execute the async login event before sending the login success packet 2021-01-06 19:02:35 +01:00
themode 87e8e550f1 Don't add players to the waiting list in the constructor, but in the registration method 2020-12-28 12:41:15 +01:00
R0bbyYT 81592d8b56 More documentation for the FakePlayer, Small improvement for the FakePlayerController 2020-12-19 16:32:42 +01:00
themode a56a9aba3e Clarification for FakePlayer#initPlayer about player registration 2020-11-14 02:30:42 +01:00
themode 463e1f047f Cleanup + added PlayerSettingsChangeEvent 2020-11-01 00:07:15 +01:00
themode 30b9ae2ac8 Added FakePlayer comments 2020-10-31 20:12:20 +01:00
themode 487e7a097c Renamed scheduledCallback to spawnCallback 2020-10-31 20:01:02 +01:00
themode fbff3a6b0b Fixed the FakePlayer scheduled callback being called in an external thread 2020-10-31 19:59:02 +01:00
themode 9a7a1e6ff4 The scheduled callback for FakePlayer is not mandatory, send 2020-10-31 19:54:10 +01:00
themode cb28fdc208 Annotations for data & command 2020-10-24 16:58:27 +02:00
themode 3cb880cf80 General cleanup 2020-10-22 12:55:53 +02:00
themode fbe4126021 Added Player#chat to simulate chat message 2020-10-16 11:37:00 +02:00
themode 9e2e48f79c Fix bug when you could send a break a custom block with a finished digging packet 2020-10-16 09:12:31 +02:00
themode 660a67e53e English fix 2020-10-15 21:16:31 +02:00
Felix Cravic 336d040cd4 Replaced TaskBuilder#buildTask to TaskBuilder#schedule 2020-07-31 20:44:58 +02:00
R0bbyYT 4ad4054fce Improve the scheduler's 2020-07-29 04:28:01 +02:00
Felix Cravic c061e2a71f Fix FakePlayer respawn 2020-07-06 19:35:24 +02:00
Felix Cravic 85aad4f044 Support for tablist in FakePlayerOption 2020-07-06 19:31:02 +02:00
Felix Cravic 5673f67db9 Added FakePlayerOption 2020-07-06 19:09:30 +02:00
Felix Cravic e74c8ac9fd Changed the way to create FakePlayer 2020-07-06 16:06:31 +02:00
Eoghanmc22 061db7c8de Add some vanilla placement rules, add a scheduleNextTick method for instances and entities, make changes to BlockPlacementRule, make BlockFace its own class. 2020-06-28 17:11:40 -04:00
Felix Cravic 29aae491d1 Minor optimizations 2020-05-29 17:20:30 +02:00
Felix Cravic c15a795a74 Minor checks + FakePlayerController#finishDigging 2020-05-25 15:42:54 +02:00
Felix Cravic e8a2c54485 More FakePlayerController features + fix with chunks and player food bar 2020-05-25 13:46:48 +02:00
Felix Cravic 2fdebae7e5 Allow FakePlayer to be registered internally 2020-05-25 12:18:50 +02:00
Felix Cravic 9a7c07af65 Added some FakePlayerController features 2020-05-25 03:17:24 +02:00
Felix Cravic 30053c507b WIP FakePlayer system 2020-05-25 02:37:57 +02:00