Commit Graph

3743 Commits

Author SHA1 Message Date
Myles
af53275ab9 JavaDoc for quite a lot of the API classes... yay 2016-03-22 18:02:46 +00:00
Myles
eccbb567e8 Clean up some code in Base and MetaIndex 2016-03-22 16:56:36 +00:00
Myles
bae3599388 Update DEBUG to work in APIv2, also fix a few usages to the config API (may need more) 2016-03-22 16:53:07 +00:00
Myles
88ab4e53a7 Merge pull request #261 from HugoDaBosss/apiv2
Add config option to suppress 'Unable to get entity for ID' errors (apiv2)
2016-03-22 16:48:13 +00:00
Hugo Kerstens
25fa2eabbb Small update for descriptions 2016-03-22 17:22:49 +01:00
Hugo Kerstens
e12d8ec466 Add descriptions for the new Config API 2016-03-22 17:17:13 +01:00
Hugo Kerstens
a7022bddf8 Small typo 2016-03-22 17:00:13 +01:00
Hugo Kerstens
523c27237d Small changes for the new Config API 2016-03-22 16:55:58 +01:00
Hugo Kerstens
147891f76b Implement config to the API 2016-03-22 16:53:53 +01:00
Myles
a5ba52ce05 Rename ChunkHandler
Introduce Packet Filtering
2016-03-22 15:36:11 +00:00
Hugo Kerstens
ccb2a4756f Add config option to suppress 'Unable to get entity for ID' errors 2016-03-22 16:27:39 +01:00
Myles
f5a96b791d Move listeners to respectful classes to be registered. 2016-03-22 15:03:02 +00:00
Myles
c628a8a23f Merge pull request #257 from HugoDaBosss/apiv2
Fix armorstands moving incorrectly when using relative movement packets (apiv2)
2016-03-22 14:38:33 +00:00
Myles
80f63d79ef Merge pull request #258 from HugoDaBosss/master
Fix armorstands moving incorrectly when using relative movement packets
2016-03-22 14:37:40 +00:00
Hugo Kerstens
b225afe6ef Fix armorstands moving incorrectly when using relative movement packets 2016-03-22 15:28:00 +01:00
Hugo Kerstens
4e1625b017 Merge pull request #14 from MylesIsCool/master
Update from master
2016-03-22 15:27:12 +01:00
Hugo Kerstens
5c4867365e Fix armorstands moving incorrectly when using relative movement packets 2016-03-22 15:22:21 +01:00
Myles
3549a823cb Don't move when relative 2016-03-22 12:07:43 +00:00
Myles
23a00d2555 Match master 2016-03-21 22:30:05 +00:00
Myles
57931e7231 Patch inventory shield bug 2016-03-21 22:28:11 +00:00
Myles
9e19e0c8af Patch inventory sword bug 2016-03-21 22:24:03 +00:00
Myles
74461609c1 Change to use maps, much better for optimisation. 2016-03-21 19:42:52 +00:00
Myles
7d3e6bc7cb This is why people should read over code :)) 2016-03-21 19:13:55 +00:00
Myles
175606f320 Version bump 2016-03-20 16:40:03 +00:00
Myles
b226e94981 Patch the other mem leak fix across 2016-03-19 23:49:26 +00:00
Myles
7d0687aa4a Fix chance of another leak happening... 2016-03-19 23:47:03 +00:00
Myles
d152b8b9e1 Merge branch 'master' into apiv2 2016-03-19 22:05:57 +00:00
Myles
1fbd561aec Oops, fix 1.8 clients 2016-03-19 22:04:17 +00:00
Myles
a8295c9de0 Merge pull request #254 from Matsv/ifremoveifremoveif
Remove unnecessary if statement, this is always true.
2016-03-19 21:37:04 +00:00
Mats
e894a3c733 Remove unnecessary if statement, this is always true. 2016-03-19 21:53:26 +01:00
Myles
a2f8f28010 Fix memory leak, add command. Merge from master 2016-03-19 20:51:23 +00:00
Myles
704c876772 One line of code can make holes in the world, one line can fix them. (Fixes packet mem leak, also adds useful secret displayleaks command :) ) 2016-03-19 20:45:07 +00:00
Myles
0233e2ab27 Merge pull request #250 from HugoDaBosss/apiv2
Change protocol constants to final fields
2016-03-19 20:25:32 +00:00
BuildTools
5ae8a35740 Change protocol constants to final fields 2016-03-19 01:11:16 +01:00
Myles
ed766eb656 Merge pull request #247 from HugoDaBosss/apiv2
Small optimization for armor searching
2016-03-18 22:04:05 +00:00
Myles
b1b35fe025 Bump version 2016-03-18 21:59:13 +00:00
HugoDaBosss
9b6a9fca3d Small optimization for armor searching 2016-03-18 22:57:16 +01:00
Myles
615128eba2 Bongo bongo bongo 2016-03-18 21:25:41 +00:00
Myles
8f3b938e39 Update readme so I don't forget 2016-03-18 21:24:16 +00:00
Myles
625a1d2191 Eventually we should have some sort of handler for this, but this is fine for now 2016-03-18 21:22:09 +00:00
Myles
8a35c0235e Move everything into the right package.
Clean up a lot of code.
Remove PacketUtil (evil laugh)
Add Pipeline Util
Organise listeners, and add protocol pipe checks
2016-03-18 21:18:48 +00:00
Myles
69e8ddcbf6 Update to match master and all current fixes 2016-03-18 20:22:38 +00:00
Myles
ce8a504750 Merge from other branch to ensure we don't have to redo some of these patches 2016-03-18 18:25:58 +00:00
Myles
11f3844d63 Use GSON instead, should fix memory leak issue with JSON. Also make sure that we use a copy of players for the bossbar. 2016-03-18 18:14:58 +00:00
Myles
56d5f8eec6 Add protocol registry.
Fix some issues with PacketWrapper
Add 1.9.1 port
Add ProtocolVersion detection on boot
Add more type converters
Implement Pipeline properly
2016-03-17 21:24:25 +00:00
Myles
7a98cdd28f Remove more debug code
Correct casting detector in packet wrapper.
Re-order some packets
Implement Plugin Message Transformers
Implement Sound Transformer
Implement Block Entity Transformer
2016-03-17 13:58:49 +00:00
Mats
d40c5851e9 Merge pull request #239 from Matsv/master
Add api method to get player's protocol id
2016-03-17 12:38:51 +01:00
Myles
ccda9f11c8 Remove some debug info, make it so StoredObject protects user.
Implement rewriting of Slot in rewriter.
Implement Enchanting Patch
Implement Brewing Patch
Implement Auto-Team Patch
Implement Inventory Tracker
Remove some TODOs
Implement Item Throwing on elytra
(Should just be plugin channels and a few packets + sounds left)
2016-03-16 23:34:03 +00:00
Myles
7e133a0be8 Include UserConnection in StoredObject
Handle Blocking
Handle BossBars, Holograms
2016-03-16 21:52:00 +00:00
Mats
d0e573613b Add api method to get player's protocol id, 2016-03-16 21:01:04 +01:00