Commit Graph

97 Commits

Author SHA1 Message Date
libraryaddict
c61e45c062 Nice going mojang. Can't clamp your yaw to -360 to 360 2014-06-22 01:42:58 +12:00
libraryaddict
bcee5d9677 Fix item_frame disguise 2014-06-21 09:37:53 +12:00
libraryaddict
dc6348cf38 Get rid of the silly getData must return Integer 2014-06-19 10:01:08 +12:00
libraryaddict
2c905e38b2 Add the switch cases for MINECART_COMMAND 2014-06-19 09:26:54 +12:00
libraryaddict
afaf6c16e6 Only send the teleport packet if its a painting disguise 2014-06-16 04:56:00 +12:00
libraryaddict
eb78492fcf Change MiscDisguise thing to Integer instead of int so I can use nulls, this lets me know if a int was set. 2014-06-16 04:29:18 +12:00
libraryaddict
8363b23deb I don't think I need to cancel riding packets. Might be 1.6.4 specific. Anyone care to test? 2014-06-15 21:04:22 +12:00
libraryaddict
20b3d02f76 Change self disguises to globally use the entity id -1 for performance and usage in other plugins 2014-06-15 20:12:07 +12:00
libraryaddict
1edc05d9ff Loop over entities with numbers instead of iterator (CraftBook needs to improve their coding) 2014-06-15 19:33:59 +12:00
libraryaddict
1e607d6bb6 Merge pull request #36 from riking/cauldron
Cauldron Compatibility
2014-06-15 19:31:48 +12:00
riking
0c84316121 Prepare to parse the method searge statements 2014-06-14 19:30:47 -07:00
riking
4ddded6b06 Enquipment -> Equipment 2014-06-14 18:09:14 -07:00
riking
48056c735f More getNmsField/Method calls 2014-06-14 16:06:02 -07:00
riking
c1b5780d77 Use new-style runTask methods 2014-06-14 10:18:52 -07:00
libraryaddict
21d4bba9f4 Max health is now correctly set on entity spawn 2014-06-14 21:11:37 +12:00
libraryaddict
014c34ce0e Add in Item height as well, prevents floating disguises when a item is disguised 2014-06-12 18:06:07 +12:00
libraryaddict
4b06deec1b Fix the id and data crap so its no longer broken 2014-06-06 14:16:16 +12:00
libraryaddict
676d191c52 Merge pull request #30 from riking/stuff
Code cleanup
Fix horse rearing
DisguiseHelp improved
2014-06-05 10:47:56 +12:00
libraryaddict
d23e518c1b Instead of using Object's for gameprofiles. Use WrappedGameProfile 2014-06-05 08:40:15 +12:00
riking
bb0ac727bf Remove more redundant actions 2014-06-04 09:17:47 -07:00
libraryaddict
956fef9ca1 Add a config option which fixes a bug where you can dye sheep/wolf client sidedly 2014-06-04 14:43:58 +12:00
libraryaddict
34f0a13b39 Remove badly thought out and obselete feature that didn't work 2014-06-04 13:58:16 +12:00
riking
db5e77d28f Remove useless local 2014-06-03 18:42:27 -07:00
riking
6d6b766823 For-each loops, remove unused method parameters 2014-06-03 18:42:27 -07:00
riking
5dce8a22e8 Simplify redundant statements and casts 2014-06-03 18:42:27 -07:00
libraryaddict
4e441493c1 Combine inventory listener server and client into one listener. Seeing as they don't need to be seperate and actually cuts down on code 2014-06-04 12:47:52 +12:00
libraryaddict
841dab296d Add setSkin for playerdisguise. This may be removed in future versions 2014-06-01 06:47:05 +12:00
libraryaddict
19aabb2656 Fixed sending data on a flagwatcher not taking their real metadata into account when its adding metadata 2014-05-24 05:14:14 +12:00
libraryaddict
26ccaabe83 Added ability to set the max health of a disguise using attributes 2014-05-23 14:52:21 +12:00
libraryaddict
0c305a8151 Fixed isRightClicking being slightly bad 2014-05-23 14:03:02 +12:00
libraryaddict
ae06e527be Added disable metadata packet - Aka cached 2014-05-23 13:58:21 +12:00
libraryaddict
a70932da4d Forgot to add a hook here.. 2014-05-23 10:33:50 +12:00
libraryaddict
d4ac36b1ef added small note 2014-05-23 10:30:56 +12:00
libraryaddict
71f15dff77 Added a way to selectively disguise only certain entities with disguise radius. Also changed the coloring of the help 2014-05-23 09:14:52 +12:00
libraryaddict
72d07e7f62 Added a slew of options to disable packets for performance gains 2014-05-23 08:14:46 +12:00
libraryaddict
ccb512a20b Tiny tiny cleanup 2014-05-22 05:42:53 +12:00
libraryaddict
05a849a510 Just use the field name instead of regetting it 2014-04-23 11:49:24 +12:00
libraryaddict
62debf30c0 Don't permanantly store the game profile 2014-04-23 11:44:12 +12:00
libraryaddict
43e6e6cc36 Changed the names and some methods so its easily used by outside plugins 2014-04-19 18:22:27 +12:00
libraryaddict
5f03b75eb7 Refresh all disguises using that playername. Not just the caller 2014-04-16 16:26:19 +12:00
libraryaddict
6ce864ae6c Remove old code for player disguises, support 1.7.9 code for disguises! 2014-04-15 02:26:31 +12:00
libraryaddict
3d60fe3c49 Allow players to retain their skins if they disguised as theirselves 2014-04-12 17:07:27 +12:00
libraryaddict
8c2261798e Allow disguises in 1.7.6 - 1.7.8 but no skins for players!! 2014-04-12 16:22:47 +12:00
libraryaddict
5ab3061b20 Now use what we just added 2014-04-09 04:15:19 +12:00
libraryaddict
b6fca92817 Change self disguises to use UUID's instead of integers as the key 2014-04-03 01:49:48 +13:00
libraryaddict
4bc09faa37 If packets are null. Remake the containers boy! 2014-03-24 01:52:39 +13:00
libraryaddict
b5c8d69398 I forget why we delay them. I think I had a really really good reason. 2014-03-24 01:45:31 +13:00
libraryaddict
1dbe7ad056 Check if the packets from transformPackets are null before attempting to use them 2014-03-24 01:45:02 +13:00
libraryaddict
a2e43e98be Don't use setPacket for the packet listeners. That was a bug. Packets are also no longer delayed by a tick 2014-03-23 17:57:57 +13:00
libraryaddict
ae874392ab Clone the packet, should resolve people hearing invisible disguises sounds 2014-03-06 05:13:17 +13:00