Zachy
a6c11bbb34
Flake8: Correct E501 line too long (81 > 79 characters)
2019-05-17 21:56:32 +01:00
Zachy
b0a9a3693c
Remove white space
2019-05-17 21:45:21 +01:00
Zachy
e8a0e34aef
Feedback: Replace FeetEyes convention with OriginPoint for forward compat
2019-05-17 21:38:57 +01:00
Zachy
0b127da0ca
Feedback: Correct Fixed Point conversion & take mod of angle send value
2019-05-17 21:31:33 +01:00
Zachy
a60b513e74
Fix import order
2019-05-17 02:15:01 +01:00
Zachy
93f6d269da
Fix tests to work with new Angle type@
2019-05-17 02:09:27 +01:00
Zachy
22008c5c5c
New line at end of file
2019-05-15 14:18:49 +01:00
Zachy
3c594a1386
Remove debugging print statement and make send static
2019-05-15 13:59:23 +01:00
Zachy
0fc8c3bbfe
Add tests for new Angle type.
2019-05-15 13:52:13 +01:00
Zachy
7361f761f5
Implement type 'Angle', packet 'EntityLookPacket' and fix Packet Types
...
Remarks: I chose to implement an angle between 0-360 degrees as opposed to -180 - 180. linear transformation, the maths was far simpler converting an UnsignedByte into positive values instead of a Byte into negative and positive
2019-05-15 13:51:31 +01:00
Zachy
d7b560a9f4
Implement FacePlayerPacket
...
Called when using the teleport chat command and you specify a facing parameter. `/teleport [<targets>] <x> <y> <z> facing`
2019-05-15 01:28:56 +01:00
Zachy24
103b53a97a
Change case on GameMode
2018-08-15 22:29:18 +01:00
Zachy
409c619eb0
return method
2018-08-15 20:53:13 +01:00
Zachy
6d6a592f07
Add decorator for register_packet_listener()
2018-08-13 01:57:16 +01:00
Zachy
aeaf7b5bcb
Import new enums into Packet Definition
2018-08-12 23:12:45 +01:00
Zachy
ed85cb793a
Implement Enums for Difficulty/Dimension/Gamemode
2018-08-12 23:07:07 +01:00
Zachy
0198476fa9
Fix packet id for protocol versions 47 and 69.
2018-08-12 22:56:16 +01:00
Zachy
e840fab267
Update __init__.py
2018-08-12 11:04:40 +01:00
Zachy
1a114c1b95
Implement clientbound.play.ServerDifficultyPacket
2018-08-12 10:47:50 +01:00
Zachy
d20344cac1
Implement clientbound.play.RespawnPacket
2018-08-12 10:39:11 +01:00
Zachy
d3a8cc8dfb
Implement New Type. FixedPointInteger. ( #93 )
...
Fix: SpawnPlayerPacket coordinates read wrongly before protocol 100. Add types.FixedPointInteger.
2018-06-20 05:32:35 +01:00