Commit Graph

17 Commits

Author SHA1 Message Date
joo b79f8b30eb Remove support for Python 2.7 2020-08-17 07:10:10 +02:00
Sillyfrog b582029099 Support for 1.16-rc1 2020-06-19 09:18:29 +10:00
Tristan Gosselin-Hane 7d9ffb8836 Fix line length 2020-05-22 14:05:45 -04:00
Tristan Gosselin-Hane e61cfffab1 Attempt to fix test? 2020-05-22 13:28:02 -04:00
Tristan Gosselin-Hane 1b714e6449 Update tests to use new join game packet definiton 2020-05-22 12:49:12 -04:00
Sillyfrog e1afabcba5 Add support for v1.15 2019-12-23 21:53:10 -05:00
joodicator bbbd3fb195 Add pre-release versions for 1.14.3 and 1.14.4 2019-08-16 00:16:41 +02:00
joodicator 612fa8e324 Add support for Minecraft 18w43a to 1.14 (protocols 441 to 477)
This commit introduces two backward-incompatible changes which may break
existing code:

(1) `networking.packets.clientbound.play.SpawnObjectPacket.EntityType'
is no longer accessible as an attribute of the the `SpawnObjectPacket'
class: the values now depend on a `ConnectionContext`, and must be
accessed through an instance, or using `SpawnObjectPacket.field_enum'.
See the text of the `AttributeError` raised from the descriptor for
`SpawnObjectPacket.EntityType` for the full details.

(2) For some subclasses of `networking.types.Type', it is necessary to
call the methods `read_with_context' and `send_with_context' instead of
`read' and `send', supplying a `ConnectionContext' for those data types
- currently only `Position` - whose layout depends on it.
2019-05-11 08:43:51 +02:00
joo 527f3d3146 Add support for Minecraft 1.13.2-pre1, 1.13.2-pre2 and 1.13.2 (protocols 402 to 404). 2018-10-26 19:58:20 +01:00
joo 48e1003f42 Fix issue #109 and add regression test. 2018-10-12 17:07:04 +01:00
joo adc8d15ddc Add support for Minecraft 1.13 and 1.13-pre3 to pre10 (protocols 385 to 393).
Add clientbound.login.PluginRequestPacket and serverbound.login.PluginResponsePacket.
2018-07-19 09:50:13 +01:00
joo d36a4170ed Add tests for various Connection edge cases. 2018-05-29 01:14:46 +01:00
joo 92f2eff681 Add several tests for the Connection class. 2018-05-27 07:40:13 +01:00
joo ab9ca6dfee Add full connection tests with encryption enabled. 2018-05-27 03:30:43 +01:00
joo 53312f997b tests/fake_server.py: use "except Exception" instead of bare except clauses. 2018-01-06 19:24:22 +00:00
joo b79e7b5f28 Add tests for early and outgoing packet listeners. 2017-08-22 17:50:16 +01:00
joo 9497aae8fa Make FakeServer class more reusable, and extract it into its own module. 2017-08-22 14:22:12 +01:00