5474 Commits

Author SHA1 Message Date
Dylan K. Taylor
e22bb213af Oops 2017-04-22 00:47:01 +01:00
Dylan K. Taylor
179210aa27 Merge branch 'api3/network' into api3/network-mcpe-1.1 2017-04-21 22:50:14 +01:00
Dylan K. Taylor
6ece57e23e Merge changes from master 2017-04-21 22:48:18 +01:00
Dylan K. Taylor
be631ad6f7 Fixed disconnects properly 2017-04-21 20:31:47 +01:00
Dylan K. Taylor
2204942338 Fixed the half-done hunger implementation, fixed lots of bugs related to hunger
- Fixed starvation doesn't deal any damage at all (Human->getFood() returns a float, not an int, === 0 won't work so great)
- Added exhaustion for sprinting, walking, jumping and sprint-jumping as per MCPE (these use MCPE values, and yes MCPE does walking exhaustion!)
- Fixed attributes don't get reset after player death
- Added food and hunger regeneration in peaceful difficulty
- Added API methods Living->jump() (motion isn't updated yet, so this won't actually do much if plugins try to use it) and Living->getJumpVelocity()

TODO: implement exhaustion for swimming
2017-04-21 19:48:25 +01:00
Dylan K. Taylor
00a226921c Fixed server crash when taking damage after being killed when having Health Boost effect 2017-04-21 18:52:04 +01:00
Dylan K. Taylor
e7406ba096 Fixed squid health attribute errors 2017-04-21 14:42:19 +01:00
Dylan K. Taylor
a356e36340 Autogenerated data for 1.0.7.0
Did they actually _change_ anything or just trying to keep it on par with the game version? >_<
2017-04-21 13:22:36 +01:00
Muqsit Rayyan
547a09c8d4 Fix "Creating default object from empty value" (#858)
while setting lore to items.
2017-04-20 20:39:09 +01:00
Dylan K. Taylor
3f1790bcb8 Found some missing data flags and proper fix for ladders 2017-04-20 19:42:00 +01:00
Dylan K. Taylor
a0ba8f0098 Added some new metadata, fixed others, fixed TNT (again) 2017-04-20 17:52:24 +01:00
Dylan K. Taylor
feb538900b Added a couple of entity metadata properties 2017-04-20 16:05:46 +01:00
Dylan K. Taylor
5ce860c2f5 Updated AnimatePacket with extra float handling 2017-04-20 15:39:12 +01:00
Dylan K. Taylor
6c5ca9b256 Protocol updates for 1.1.0.5 2017-04-20 13:54:55 +01:00
Dylan K. Taylor
de95046c11 Reduce header sizes on PR template
Stop getting in my face
2017-04-20 10:43:10 +01:00
SalmonDE
9e2b26de23 Remove redundant null check in PluginCommand (#853) 2017-04-19 17:59:01 +01:00
SOFe
b867cf4c91
Fix a potential newline issue in PULL_REQUEST_TEMPLATE.md 2017-04-19 11:50:49 +08:00
SOFe
d3f4b185f3
Fixed typo in PULL_REQUEST_TEMPLATE.md 2017-04-19 11:49:46 +08:00
Dylan K. Taylor
86de0bddd9 World should only be completely immutable if we're in spectator mode
Fixes being unable to break any blocks at all in adventure mode
2017-04-18 20:01:51 +01:00
Dylan K. Taylor
207056fb9d Fixed adventure mode being useless 2017-04-18 19:51:42 +01:00
Dylan K. Taylor
17e4f45e97 Fixed kicking players not working properly 2017-04-18 19:41:09 +01:00
Dylan K. Taylor
6828ce66b6 Fixed farmland appearing black on clients (farmland is transparent in PE) 2017-04-18 19:40:54 +01:00
SOFe
930945db18 Create PULL_REQUEST_TEMPLATE.md (#845)
Adapted from the PHP RFC template
2017-04-18 16:33:37 +01:00
Dylan K. Taylor
b7b7a93e4e Merge branch 'api3/network' into api3/network-mcpe-1.1 2017-04-18 14:52:06 +01:00
Dylan K. Taylor
d2efcee115 Fixed tiles and entities being closed when replacing chunks, should fix #490 2017-04-18 14:47:42 +01:00
Dylan K. Taylor
eefa8abaf2 Throw exceptions if something attempts to add a closed Tile or Entity to a chunk 2017-04-18 14:45:33 +01:00
Dylan K. Taylor
a34573643f Fixed transparent blocks filtering direct sky light 2017-04-18 14:14:19 +01:00
Dylan K. Taylor
dab73d8950 Implemented sky light generation-time population and updating, obsolete and close #160 2017-04-18 13:05:01 +01:00
Dylan K. Taylor
5e6a0e7ba0 More metadata changes, fixed TNT 2017-04-16 22:03:52 +01:00
Dylan K. Taylor
c5eccc8e1c Minor improvements to Batch encoding 2017-04-15 19:40:06 +01:00
Dylan K. Taylor
b55929b382 Merge branch 'api3/network' into api3/network-mcpe-1.1 2017-04-15 10:30:02 +01:00
Muqsit Rayyan
8a775e0c45 Fix PopSound giving failed click sound. (#829) 2017-04-15 10:02:00 +01:00
Dylan K. Taylor
d7378fe6f4 Some new metadata properties 2017-04-14 19:56:23 +01:00
Dylan K. Taylor
66924729ff Fixed climbing blocks such as ladders and vines
Seems we can now climb ANY block if the climbing flag is true, and nothing if false. This commit adds local block checks to see if a climbable block exists at the entity's feet and if so, sets the flag.
2017-04-14 19:02:53 +01:00
Dylan K. Taylor
f12a6eed29 Fixed vine block placement 2017-04-14 18:25:50 +01:00
Dylan K. Taylor
f2159c5948 Fixed unlit furnaces glowing in the dark, close #508
Whether Furnace extending BurningFurnace actually makes logical sense is a different question, but that cna be resolved any other time.
2017-04-14 15:30:37 +01:00
Dylan K. Taylor
4ab8233fe0 Fixed shooting bow while sprinting, close #827 2017-04-14 15:27:32 +01:00
Dylan K. Taylor
a327a74ece Protocol changes for 1.1.0.3, fixed red sky, fixed crashes 2017-04-14 15:17:56 +01:00
Dylan K. Taylor
f3ab45e7d5 Merged in 1.0.6 changes, added autogenerated data for 1.1.0.3 (doesn't work yet) and deliberately made the same merge error as Mojang 2017-04-14 13:00:43 +01:00
Dylan K. Taylor
cdf6d200ef More protocol changes for 1.1, fixed resource packs 2017-04-14 12:48:50 +01:00
Dylan K. Taylor
40775f5d86 Fixed issues with subtitles not working correctly, close #823 (#825) 2017-04-14 10:42:23 +01:00
Muqsit Rayyan
319763dd93 Fix #823
Thanks to @SuperMaXAleX
2017-04-13 22:32:53 +03:00
SOFe
a455e25665
Merge remote-tracking branch 'jacknoordhuis/patch-2' 2017-04-13 13:28:06 +00:00
Sandertv
1c7773c5f1 Visibility keyword before final or abstract keyword. (#814) 2017-04-13 20:58:53 +08:00
Dylan K. Taylor
7c66af5994 "Fixed" resource packs
TODO: new fields
2017-04-12 11:54:47 +01:00
Dylan K. Taylor
cb7264e0e5 Hexdump unhandled packets 2017-04-12 11:20:58 +01:00
Dylan K. Taylor
f7e1939ae8 Changed some handling of unknown packet content 2017-04-12 11:16:50 +01:00
Dylan K. Taylor
172d7339f9 Autogenerated data for 1.0.6.52 2017-04-12 11:11:37 +01:00
Dylan K. Taylor
894beed59b Removed time stopping fields from SetTimePacket and fixed #526
TODO: rules
2017-04-11 20:13:37 +01:00
JackNoordhuis
c01e0354bd Address #816
Removes redundant compression argument from NBT::readCompressed() and
NBT:: readNetworkCompressed()
2017-04-12 00:42:27 +10:00