Commit Graph

74 Commits

Author SHA1 Message Date
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
libraryaddict
f14ee20e7c The disguised client no longer appears to mount a vechile if he is not living. This will bug out slightly however. 2014-02-10 12:15:58 +13:00
libraryaddict
306b246f76 Minor performance cleanup. 2014-02-07 13:50:40 +13:00
libraryaddict
a3297c918b Fix crashes as reported by andrewkm 2014-01-31 22:56:05 +13:00
libraryaddict
1cea2e2163 Silly mojang and their silly bugs. Fixed right clicking not always working 2014-01-19 11:32:02 +13:00
libraryaddict
8535ccf2dd Fixed the damage and idle sound getter being completely wrong. 2014-01-19 08:39:23 +13:00
libraryaddict
1c6dc8233f Cleaned up game versions to support more than 2 versions 2014-01-19 08:21:55 +13:00
libraryaddict
d940a44f49 Mobs no longer do horror stories of twisting their head around in circles when disguised as player 2014-01-18 14:46:18 +13:00
libraryaddict
72890b0f90 Corrected pitch calculations not being used when entity spawn packet is made 2014-01-18 14:22:58 +13:00
libraryaddict
c732b373b7 Prevents errors being thrown for unsupported method 2014-01-11 10:06:59 +13:00
libraryaddict
5c94b59801 Don't glitch out when trying to sleep. 2014-01-05 13:13:49 +13:00
libraryaddict
69b104f749 Some cleanup. Forgot what 2014-01-05 12:27:20 +13:00
libraryaddict
9f4ae91b83 Fixed bed crashing people 2014-01-05 11:07:22 +13:00
libraryaddict
5938672ba3 Cancel the 'not sleeping' animation if he is disguised as sleeping 2014-01-03 07:59:56 +13:00
libraryaddict
d7a929021c Modify player sleeping height to a more realistic option 2014-01-03 07:58:05 +13:00
libraryaddict
239737b083 Added setSleeping and isSleeping to player watcher 2013-12-24 18:20:50 +13:00
libraryaddict
038b6478ea Prevent players from being kicked for attacking enderdragon 2013-12-22 17:55:34 +13:00
libraryaddict
f4d0af190c Clean up some moar 2013-12-17 08:03:59 +13:00
libraryaddict
e4d71bb6a4 Check player is online as well. Fixes the errors 2013-12-17 00:11:13 +13:00
libraryaddict
3e4f581943 Possibly fix the entity animations from playing over and over in self disguises 2013-12-15 02:46:08 +13:00
libraryaddict
b026f30087 Add sounds for self disguises player to not be cancelled. 2013-12-15 02:33:11 +13:00
libraryaddict
319c987f94 Added 2 config options to show names above disguised players head 2013-12-09 04:44:02 +13:00
libraryaddict
585f8ad116 Add compatibility for older versions of MC for sounds 2013-12-08 15:36:11 +13:00
libraryaddict
a178fbace7 Fix 1.7 self disguises sounds not playing properly 2013-12-08 15:32:57 +13:00