Dylan K. Taylor
8a151dc373
Fixed PlayerSkinPacket for 1.2.0.7
2017-08-06 17:21:51 +01:00
Dylan K. Taylor
58a12fdfa3
Updated for 1.2.0.7
2017-08-06 17:21:51 +01:00
Dylan K. Taylor
50dffeb6a1
Day 3, part 1
2017-08-06 17:21:51 +01:00
Dylan K. Taylor
63d2b341b9
Day 2
2017-08-06 17:21:51 +01:00
Dylan K. Taylor
77cd8e7799
More broken mess to spawn 1.2
2017-08-06 17:21:51 +01:00
Dylan K. Taylor
8a02dbb15a
fix crash when var_dumping packets
2017-08-03 08:47:10 +01:00
Dylan K. Taylor
306bf7be5f
Moved dimension id constants to their own interface (PHP needs enums)
2017-07-31 16:38:01 +01:00
Dylan K. Taylor
0b47324fe3
Add some constants to AnimatePacket
2017-07-31 16:03:45 +01:00
Dylan K. Taylor
3e141afe48
Exposed LoginPacket chain data to allow plugins to access this data
2017-07-29 14:27:16 +01:00
Dylan K. Taylor
f32e880542
Fixed really dumb copy bug breaking crafting
2017-07-22 12:04:52 +01:00
Dylan K. Taylor
6de8415c79
Merge network refactors
2017-07-14 13:04:02 +01:00
Dylan K. Taylor
2a7b736f18
Heap of bugfixes, cleanup and PHP 7 upgrades
2017-07-13 19:18:56 +01:00
Dylan K. Taylor
3a214b7ce6
Cleaned up isEncoded mess
2017-07-13 12:21:26 +01:00
Dylan K. Taylor
6341d3a0dc
don't break the preprocessor
2017-07-13 12:09:03 +01:00
Dylan K. Taylor
72d1948f30
Improved batch handling
2017-07-13 12:04:47 +01:00
Dylan K. Taylor
5283975f20
Move inventory ID constants to their own interface
...
ContainerSetContentPacket will be removed in 1.2, and these aren't specific to ContainerSetContentPacket anyway.
2017-07-12 20:04:36 +01:00
Dylan K. Taylor
a5c6c8b973
Added some fields to new packets
...
gave up on EventPacket because it's a mess, and StructureBlockUpdate is a job all by itself
2017-07-12 19:31:20 +01:00
Dylan K. Taylor
4731bf0a16
Fix autogenerated version numbers (didn't mean to commit this)
...
I'm working with a beta version >_>
2017-07-12 16:36:04 +01:00
Dylan K. Taylor
30df0c2418
Refactor a bunch of network-related things for easier auto-generation of protocol stuff
2017-07-12 16:32:39 +01:00
Dylan K. Taylor
6bcc8cea8e
Fixed BossEventPacket breaks, now shut up and go away
2017-07-11 15:32:46 +01:00
Dylan K. Taylor
2726f2a011
Solved packet encode/decode boilerplate code issue
...
Something as simple as forgetting the reset() when encoding would cause lots of problems which could go unnoticed. This should be fully backwards-compatible but needs more tests.
2017-07-07 13:59:09 +01:00
Dylan K. Taylor
1493cde07f
Added pause-game LevelEvent constant
2017-07-05 17:51:53 +01:00
Dylan K. Taylor
4a7c40edd5
ExplodePacket records have a signed Y coordinate -_-
2017-06-26 23:09:20 +01:00
Dylan K. Taylor
ecfcf49984
Added basic encode/decode for gamerules data and added GameRulesChangedPacket
...
needed it for tests
Squashed:
oops
PhpStorm you asshole
2017-06-25 15:43:08 +01:00
Dylan K. Taylor
c0377fc63a
more typehints, removed more 32-bit leftovers
2017-06-25 11:40:12 +01:00
Dylan K. Taylor
993af0fa30
Added build-denied action constant
...
don't need this, but good to have for completion's sake
2017-06-23 16:58:28 +01:00
Dylan K. Taylor
89ca2ac2d5
Found an unknown field in ChangeDimensionPacket
...
No idea what this is actually used for though. It's set when a client dies in a different dimension and respawns in the overworld.
2017-06-22 15:52:29 +01:00
Dylan K. Taylor
86742fcf30
Workaround for flight controls fail on teleport (TODO: fix this properly)
2017-06-20 20:10:20 +01:00
Dylan K. Taylor
4341fb8347
AddEntityPacket's attributes encoding is still non-standard -_-
...
I thought they fixed this...
2017-06-11 18:09:58 +01:00
Dylan K. Taylor
61b857a81c
Fixed ExplodePacket
...
fixed-float my ass!
2017-06-10 19:54:04 +01:00
Dylan K. Taylor
2024e9ecdf
Fixed extremely stupid zero-length bug in BinaryStream
...
pls don't kill me 😢
2017-06-10 18:33:54 +01:00
Dylan K. Taylor
78c09267e5
Typehinted things in BinaryStream, sorted some methods and related bugfixes
2017-06-07 13:53:10 +01:00
Dylan K. Taylor
51b0673b4b
Bite the bullet and enable strict types on everything
2017-06-07 12:53:16 +01:00
Dylan K. Taylor
b9a87ed147
New fields for InventoryActionPacket
...
TODO: use this packet
2017-06-05 20:04:20 +01:00
Dylan K. Taylor
742f593758
Added a new constant to ContainerSetContentPacket
2017-06-05 19:15:30 +01:00
Dylan K. Taylor
1e9ff44890
New field for MobEquipmentPacket
...
If anyone wants to play with the off-hand, the window ID is 0x77 ;)
2017-06-05 19:10:00 +01:00
Dylan K. Taylor
55c4e35407
Added a new PlayerActionPacket constant
...
thanks @jojoe77777
2017-06-05 18:37:53 +01:00
Dylan K. Taylor
54453d0b0a
Refactored entity IDs in packets for consistency and to clarify on types
2017-06-05 15:41:27 +01:00
Dylan K. Taylor
2b02fcfe2c
fixed #992
2017-06-04 16:54:35 +01:00
Dylan K. Taylor
138fb88431
More default packet fields
2017-06-04 14:53:31 +01:00
Dylan K. Taylor
5baf59ca56
fix #990
2017-06-03 20:25:24 +01:00
Dylan K. Taylor
902957cb53
more defaults for optional fields, close #985
2017-06-03 17:41:40 +01:00
Dylan K. Taylor
3463bea932
add defaults to MobEffectPacket
...
these fields may be unspecified if we are only removing effects
2017-06-03 15:21:24 +01:00
Dylan K. Taylor
22ba017965
Binary strict types ( #969 )
...
* Some Binary cleanup, type-hints and strict types
yes, I know this is very crashy... that's good, because it highlights unexpected behaviour
* added some default values
2017-06-03 09:39:45 +01:00
Dylan K. Taylor
8bb0e8d398
Fixed a mistake in DropItemPacket encode
2017-06-02 17:52:10 +01:00
Dylan K. Taylor
e4e4ef5f2a
Fixed preprocessor issues with signed bytes and floats, close #967
2017-06-02 12:50:48 +01:00
Dylan K. Taylor
2db6ea6b18
Updated creative inventory data
...
some items will show wrong damage values due to a bug in meta handling on master
2017-06-02 11:00:36 +01:00
Dylan K. Taylor
b6ae92e1a7
Updated crafting data and item serialization for 1.1, fixed #963
2017-06-02 10:36:14 +01:00
Dylan K. Taylor
846e3b6f1e
New fields for StartGamePacket
2017-06-01 19:48:06 +01:00
Dylan K. Taylor
0e525ac1c3
Autogenerated data for 1.1.0.55
2017-06-01 19:24:17 +01:00