Commit Graph

899 Commits

Author SHA1 Message Date
libraryaddict
04de21dba4 Changed getHorseArmor to return a itemstack, rename getHorseArmor to getHorseAmorAsInt and default owner name is null 2014-06-02 23:39:12 +12:00
libraryaddict
a9d5e8b109 Opps. Fixed the method calling itself instead of the proper API call 2014-06-02 23:28:52 +12:00
libraryaddict
4bbf0fbece Clone the disguise when fetched 2014-06-02 10:06:30 +12:00
libraryaddict
31a0b68bdc Change the use of the disguiseclone command to use references instead 2014-06-02 10:03:59 +12:00
libraryaddict
4b55a24444 Fix AnimalColor getting not working properly 2014-06-02 08:56:18 +12:00
libraryaddict
d7010c6389 Add AnimalColor for Sheep color and wolf color 2014-06-02 08:56:07 +12:00
libraryaddict
e7301e06d0 Get rid of ridiculous message in disguiseclone command 2014-06-02 04:17:11 +12:00
libraryaddict
b999f48fef Added options to choose how long a disguise entity and disguise clone command is valid for 2014-06-02 04:14:35 +12:00
libraryaddict
4262221133 Add Disguise Clone command to clone a entity to look like them 2014-06-02 04:08:54 +12:00
libraryaddict
fb1f7a698c Added constructDisguise api to clone a entity into a disguise 2014-06-02 04:06:38 +12:00
libraryaddict
3426e0adb6 Changed "Can't use command" to follow one message 2014-06-02 03:52:54 +12:00
libraryaddict
6ac7106df7 Added method to get the disguisetype from a entity, including horses, zombie villager and wither skeleton 2014-06-02 03:27:14 +12:00
libraryaddict
41c565384d Read desc - Horse watcher
Fixed horse watching thinking to use Byte when its integers
Deprecated setHorseArmor(int)
Added setHorseArmor(ItemStack)
Fixed setCarryingChest(boolean) forcing true
2014-06-02 03:25:35 +12:00
libraryaddict
0625db63ff Return null instead of a empty string 2014-06-02 03:24:29 +12:00
libraryaddict
0afcef09b5 Check if custom name is null before assuming it is 2014-06-02 03:23:02 +12:00
libraryaddict
5bfd6c5541 Fix outdated code which would make huge problems because of previous fix 2014-06-01 06:53:01 +12:00
libraryaddict
841dab296d Add setSkin for playerdisguise. This may be removed in future versions 2014-06-01 06:47:05 +12:00
libraryaddict
93f807e6c9 Minor code cleanup 2014-05-31 05:34:34 +12:00
libraryaddict
2cb8d90158 Added new method so that you can't get a commentless config 2014-05-31 05:29:40 +12:00
libraryaddict
0e828eaf07 Opps. Fixed DisguiseType's with a _ not displaying properly in DisguiseEntity 2014-05-29 23:31:23 +12:00
libraryaddict
f94748afa5 Yeah. Fix the memory leak plox 2014-05-29 22:16:04 +12:00
libraryaddict
aea49bfc43 Fix a memory leak :( 2014-05-29 22:10:34 +12:00
libraryaddict
56902b8aff Don't fetch the datawatcher twice 2014-05-28 21:53:08 +12:00
libraryaddict
b04f5faea9 Fix config being saved everytime and comments being wiped 2014-05-28 21:42:11 +12:00
libraryaddict
39d01c1bea Use Collection with no <String> or <Player> so that you can feed either in as a parameter 2014-05-28 12:09:16 +12:00
libraryaddict
4e8b0da944 Get rid of this try/catch 2014-05-25 17:58:53 +12:00
libraryaddict
6652959553 Fix up URLDecoding as per @zreed's recommendation 2014-05-25 17:57:34 +12:00
libraryaddict
e24f404e42 Tiny cleanup 2014-05-24 05:24:55 +12:00
libraryaddict
7c12b2e0b3 Did I screw up isAdult.. Huh 2014-05-24 05:18:24 +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
0f09a92e75 Or rather, the opposite of it 2014-05-24 05:05:02 +12:00
libraryaddict
a4f9666cd0 Just use isOnline() 2014-05-24 05:04:12 +12:00
libraryaddict
81854db3d0 Exp packets shouldn't be in the velocity group 2014-05-24 05:02:17 +12:00
libraryaddict
999c80076d Tiny code cleanup 2014-05-24 05:01:51 +12:00
libraryaddict
bff21ab039 Allow sendData of multiple data 2014-05-23 16:51:00 +12:00
libraryaddict
9e4ad0ba8e Added tameable watcher 2014-05-23 16:40:22 +12:00
libraryaddict
f3a81a84a4 Don't bother checking if watcher is null. If they have a entity, they can't have a null watcher 2014-05-23 15:11:20 +12:00
libraryaddict
567a84b8dc Don't do checks if the player is self disguised. Perverts see everything anyways unless we want to show em something special 2014-05-23 15:07:20 +12:00
libraryaddict
1e12939d87 setMaxHealth now sends the packet as well 2014-05-23 15:06:52 +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
eb712a06b9 Clamp the slime size value, don't let them do negative sizes. 2014-05-23 11:31:36 +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
92172f91af Add classgetter 2014-05-23 09:13:35 +12:00
libraryaddict
31dd6ef5e3 Allow -baby to exist in perms 2014-05-23 08:26:43 +12:00
libraryaddict
b44aba87d4 Give errors when they attempt to use misc disguise on living entities with commands 2014-05-23 08:22:07 +12:00
libraryaddict
72d07e7f62 Added a slew of options to disable packets for performance gains 2014-05-23 08:14:46 +12:00
libraryaddict
ecae8b3400 Do sub-sections when saving default config 2014-05-23 08:00:10 +12:00
libraryaddict
eef044a5a6 Fix up multiple options for a single disguise 2014-05-22 08:22:50 +12:00
libraryaddict
ccb512a20b Tiny tiny cleanup 2014-05-22 05:42:53 +12:00
libraryaddict
34418ddab5 Tell them exactly what option they can't use 2014-05-22 05:26:13 +12:00
libraryaddict
0b5e20180d Fixed disguise entity command throwing errors. Cleaned up the messages moar 2014-05-14 10:54:44 +12:00
libraryaddict
3604c83797 Ensure they use the right disguise for the disguisetype 2014-05-14 10:43:13 +12:00
libraryaddict
8db338f533 Deprecate the replaceSounds and add new constructors for miscDisguise 2014-05-14 10:34:41 +12:00
libraryaddict
b7dfb2c66b Changed disguise entity command to do better messages 2014-05-13 22:32:15 +12:00
libraryaddict
720c4f3c66 Set the current version as 1.7 by default as a failsafe 2014-05-13 22:26:34 +12:00
libraryaddict
c5e579f608 Add helpful info for future reference 2014-05-13 22:26:10 +12:00
libraryaddict
96ecf57dd3 Revert "Add a . to the end of the bukkit version. Might help MCPC"
This reverts commit 23da447d7b.
2014-05-12 13:46:29 +12:00
libraryaddict
d81b1d8b7c Removed true/false for disguise commands 2014-05-09 16:35:24 +12:00
libraryaddict
514ad74db3 Why bother pretending its not dirty 2014-05-09 16:31:05 +12:00
libraryaddict
578f2ce504 Add disguiseToPlayers player... to DisguiseAPI. I can't add List<> because of conflicts 2014-05-09 16:28:35 +12:00
libraryaddict
23da447d7b Add a . to the end of the bukkit version. Might help MCPC 2014-05-09 03:02:26 +12:00
libraryaddict
299347d81c Change a message slightly from slap to right click 2014-05-05 21:34:19 +12:00
libraryaddict
c9b9710a78 Don't allow them to set the watcher willy nilly without verifiying it 2014-05-05 19:59:47 +12:00
libraryaddict
19f895667a Give the update messages without exceptions 2014-05-05 19:53:16 +12:00
libraryaddict
6c0a08e95c Typo count by prplz. Somehow doesn't seem to have anyone complaining about it.. 2014-05-02 18:22:09 +12:00
libraryaddict
ebefbfe2c7 Wolf is now tamed if you set the collar color 2014-05-02 16:08:27 +12:00
libraryaddict
080288d2bf Small change for internal debug 2014-04-26 15:42:35 +12:00
libraryaddict
5f69b11ab4 Add another check 2014-04-26 15:34:48 +12:00
libraryaddict
60326253a2 Change the disguiseNextEntity to return a int 2014-04-24 09:50:26 +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
5413b4f852 Change grabSkull to getSkull 2014-04-20 02:13:56 +12:00
libraryaddict
c2e7aae201 Only allow refreshing entity is the entity is valid 2014-04-19 23:14:58 +12:00
libraryaddict
4e09a64abb Just make it a runnable. More convident for my plugins 2014-04-19 23:11:56 +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
74d5dbce9e Read desc
Added methods for other plugins to request GameProfiles
Changed GameProfiles to lookup UUID's with a different API as the old
one barfed
2014-04-19 08:14:02 +12:00
libraryaddict
b0f1a756cc Opps. Change a order 2014-04-18 19:52:54 +12:00
libraryaddict
4ebf7bdf51 Read desc
Added new permission system.
This should allow people to use * better
2014-04-18 19:50:48 +12:00
libraryaddict
5f03b75eb7 Refresh all disguises using that playername. Not just the caller 2014-04-16 16:26:19 +12:00
libraryaddict
1a10b6a774 Use nms to get the uuid 2014-04-15 02:54:04 +12:00
libraryaddict
8511911e7e Just get the playername exactly as it was fed. 2014-04-15 02:29:41 +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
5801356fbf Try avoid infinite loops when sending self disguise 2014-04-13 13:15:04 +12:00
libraryaddict
d4d657e53b My bad.. Didn't know GameProfiles were like this in 1.7 2014-04-12 17:19:46 +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
d53a34f5e4 When using disguise command. 'p' is a subsitute for player 2014-04-12 05:31:46 +12:00
libraryaddict
684d996754 Use randomly generated version 1 UUID's 2014-04-12 04:11:51 +12:00
libraryaddict
4e381f9d60 Remove the UUID fetcher code. Its useless now 2014-04-11 11:54:56 +12:00
libraryaddict
8ac42f97c1 Opps 2014-04-11 08:00:25 +12:00
libraryaddict
d20abcb223 Only return if they are still online. Fixes a bungeecord crash mostly 2014-04-11 07:57:23 +12:00
libraryaddict
7af61ee7df Opps. Now it grabs it from a online player 2014-04-11 04:57:14 +12:00
libraryaddict
4a63ff07ee Always send a empty string. Never lookup a offline players UUID 2014-04-11 04:45:55 +12:00
libraryaddict
0ebfe0a776 Don't use a random UUID. Should fix a protocol crash 2014-04-11 04:34:37 +12:00
libraryaddict
28f70c1963 Fixed self disguises and player disguise falling out of sync 2014-04-09 22:04:18 +12:00
libraryaddict
54411b49de Change the message sent 2014-04-09 04:56:10 +12:00
libraryaddict
9e72e77c66 Read desc
Wait. If the disguise is not able to fetch a UUID. Don't bother making
the lookup happen again when someone sees it again.
Also, we only cares about one name. The name we called the fetcher with!
2014-04-09 04:16:49 +12:00
libraryaddict
5ab3061b20 Now use what we just added 2014-04-09 04:15:19 +12:00
libraryaddict
91623b8886 Random sort by name 2014-04-09 04:15:11 +12:00
libraryaddict
03acc45c6d Add class so I have soemthing to call to get the UUID 2014-04-09 04:14:59 +12:00
libraryaddict
dab0c5d3c5 Add method to get a UUID from a playername and store it for future reference 2014-04-09 04:14:18 +12:00
libraryaddict
1b2c2c4690 Change gameprofile to accept UUID's 2014-04-09 04:13:54 +12:00
libraryaddict
ce75918001 Read desc
Added new command LibsDisguises
Tells the command user who made the plugin.
And if the player who called the command is called by the attractive
name 'libraryaddict' then it also tells that curious user the version of
the plugin.
Worried about it being a exploit? Why? I know of all bugs/exploits and
could just try them all out if I didn't know the version. If there was a
exploit in the first place anyways.
The command is there to give credit to me, and so I can urge servers to
update.

Against this command?
I see you don't like plugin developers getting credit for their work
that you use for free.
Please move back to disguisecraft.
2014-04-07 00:15:47 +12:00
libraryaddict
2879834a7e Close the stream safely 2014-04-05 03:47:33 +13:00
libraryaddict
9a4a9b9845 Fixed reloading the plugin throwing errors. Wasn't closing a stream 2014-04-05 03:44:35 +13:00
libraryaddict
31252e896e Use schedulers instead of BukkitRunnable. Supports re-disguising! 2014-04-05 03:40:17 +13:00
libraryaddict
1b914b9c7b Reset the dead ticks 2014-04-05 03:23:46 +13:00
libraryaddict
a49cea54e7 To prevent disguises remaining on players after death, and enderdragons from missing out on animations 2014-04-04 19:17:56 +13:00
libraryaddict
f3b3c15685 Disguises are now removed 30 ticks after death, and by sending entity remove packets 2014-04-04 18:54:40 +13:00
libraryaddict
3709db548a Fixed a bug with a existing method having the same name as a method with no args 2014-04-04 18:32:49 +13:00
libraryaddict
d16da8d26f Fix small text typos 2014-04-04 18:30:20 +13:00
libraryaddict
fb42ffa097 Always refresh the disguise. Some plugins like to set the entities health. 2014-04-03 20:53:02 +13:00
libraryaddict
8f63a6eaa0 Removed Deprecated methods and added a few isAdult codes to zombie and ageable watchers 2014-04-03 02:49:33 +13:00
libraryaddict
25df368e9a Added new config options to keep a disguise 2014-04-03 02:39:52 +13:00
libraryaddict
376f18ef95 Maybe something so the disguise can be reused if the entity comes back 2014-04-03 02:06:21 +13:00
libraryaddict
167f14bfe8 Add support for disguiseNextEntity 2014-04-03 02:02:58 +13:00
libraryaddict
07bf03f154 Change the disguises to store UUID's. Not ints. 2014-04-03 01:54:36 +13: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
d141740aa0 Fixed a retarded set value 2014-03-22 03:53:20 +13:00
libraryaddict
f3ef6e13f3 Fixed experience orb self disguise 2014-03-21 02:03:34 +13:00
libraryaddict
789740c358 Add a option to only remove the disguise when it is invalid, only remove the current disguise. 2014-03-16 09:05:12 +13:00
libraryaddict
1ba39f8920 Don't let people disguise as air blocks 2014-03-09 12:05:36 +13:00
libraryaddict
ae874392ab Clone the packet, should resolve people hearing invisible disguises sounds 2014-03-06 05:13:17 +13:00
libraryaddict
143f72a20f Blow disguise for attackers as well 2014-03-03 10:22:29 +13:00
libraryaddict
cb58cdd8d3 Added convidence method for me to use in other plugins 2014-02-28 10:59:22 +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
575756ca72 Remove deprecated warnings from 2 methods 2014-02-08 07:02:20 +13:00
libraryaddict
306b246f76 Minor performance cleanup. 2014-02-07 13:50:40 +13:00
libraryaddict
8139267af8 Small change to a order 2014-01-31 23:00:24 +13:00
libraryaddict
a3297c918b Fix crashes as reported by andrewkm 2014-01-31 22:56:05 +13:00
libraryaddict
6c6d6c6fe2 Fixed disguises interfering with player movement when they appear 2014-01-29 15:57:17 +13:00
libraryaddict
b63df3943f Fixed the disguise blown message not displaying 2014-01-29 15:39:12 +13:00
libraryaddict
b85e26321b Don't send the message if the length is 0 2014-01-26 13:23:53 +13:00
libraryaddict
06f2f4e4b2 Always send the velocity for fireworks so they don't appear so glitched 2014-01-23 15:09:38 +13:00
libraryaddict
6bec4c20c4 Store bukkit itemstack 2014-01-23 09:07:56 +13:00
libraryaddict
a5eddd4305 Fixed primed tnt glitching out 2014-01-23 08:53:34 +13:00
libraryaddict
14c0696c9e Fixed illegal stance 2014-01-23 08:39:17 +13:00
libraryaddict
1ab064ec0e Now can set and get the horse armor on a horse disguise 2014-01-22 18:07:11 +13:00
libraryaddict
85077227a2 Fixed the disguise blown message not being used 2014-01-21 14:05:32 +13:00
libraryaddict
ad109b0cda Tiny tiny code cleanup 2014-01-21 06:35:42 +13:00
libraryaddict
38ee3dc983 Read desc
Changed config methods to DisguiseConfig
Added a new config option to blow a disguise
2014-01-21 06:01:49 +13:00
libraryaddict
ff6567ba23 Why write the fake entity id if we don't use false in the send packet? 2014-01-21 05:34:07 +13:00
libraryaddict
62c2050587 Maybe make the entire runnable this much less laggier. 2014-01-21 05:29:14 +13:00
libraryaddict
7da523c783 Fixed zombie walk sound being outdated 2014-01-20 14:19:34 +13:00
libraryaddict
2aeb55cff9 Changed the feature somewhat 2014-01-20 09:28:49 +13:00
libraryaddict
58ee6f37b7 Add in the long awaited feature to have monsters ignore disguises 2014-01-20 09:25:29 +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
01dd3ef587 Updated the update checker so it uses bukkit as well (ew) 2014-01-19 09:18:58 +13:00
libraryaddict
8535ccf2dd Fixed the damage and idle sound getter being completely wrong. 2014-01-19 08:39:23 +13:00
libraryaddict
f24eaa4854 Fixed player disguise not playing the hurt sound 2014-01-19 08:24:27 +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
2a7985497e Fixed a message assuming a player is a male 2014-01-18 14:23:27 +13:00
libraryaddict
4dc241a90a Removed useless () in DisguiseType 2014-01-18 14:23:16 +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
a1000283c8 Opps. Real fix here 2014-01-15 23:14:40 +13:00
libraryaddict
c4efd3fe8f Don't crash when a empty string is fed for player disguise 2014-01-15 23:14:21 +13:00
libraryaddict
c1374e8523 Fixed a error when chceking for disguise conflicts 2014-01-15 22:40:33 +13:00
libraryaddict
9f35d646ba Fixes a error when disguising as a horse with options 2014-01-11 15:13:51 +13:00
libraryaddict
c732b373b7 Prevents errors being thrown for unsupported method 2014-01-11 10:06:59 +13:00
libraryaddict
7e090bac47 If the version length is more than 7 chars. Its not a real version. 2014-01-08 06:44:36 +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
84234b8788 Fix a packet erroring if player is sleeping 2014-01-05 11:05:19 +13:00
libraryaddict
6dad2c03cf Clone the disguise else targeted disguise throws errors 2014-01-04 22:16:03 +13:00
libraryaddict
6764a984fb Return if the set entity is the same as the existing entity 2014-01-04 22:15:49 +13:00
libraryaddict
c7ae572c15 Add bounding box to cloned disguises 2014-01-04 22:15:18 +13:00
libraryaddict
400b73c232 Add arrow bot as a cancelled sound 2014-01-04 22:14:57 +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
ac1c8efe07 Opps. Missing change 2013-12-31 20:08:27 +13:00
libraryaddict
a7e7097666 Clean up. Fix code. Remove useless code. 2013-12-31 20:08:14 +13:00
libraryaddict
2b3657b7b4 ARE YOU HAPPYU NOW 2013-12-31 18:37:28 +13:00
libraryaddict
a16eb28708 Fixed it more for my true love. Why do I want to eat butter? 2013-12-31 18:33:42 +13:00
libraryaddict
e82cc37383 Another fix for Prince Yukon of the apple farm 2013-12-31 18:30:25 +13:00
libraryaddict
fe19fd440c Nasty hack for Mr apple to spew on 2013-12-31 18:10:29 +13:00
libraryaddict
62febe6d39 Let the entire bounding box for non-players be edited so sayth the lord 2013-12-29 20:36:30 +13:00
libraryaddict
631bc893f4 Magma cube no longer seems to need modified fall speed 2013-12-24 18:25:21 +13:00
libraryaddict
239737b083 Added setSleeping and isSleeping to player watcher 2013-12-24 18:20:50 +13:00
libraryaddict
25471787aa Update getPerverts to be in the DisguiseUtilities 2013-12-24 17:30:39 +13:00
libraryaddict
2f1127e126 Bad fix for slabs issue 2013-12-22 18:13:12 +13:00
libraryaddict
038b6478ea Prevent players from being kicked for attacking enderdragon 2013-12-22 17:55:34 +13:00
libraryaddict
a3ddce6c5f Think its fixed now 2013-12-22 17:35:57 +13:00
libraryaddict
0f280da385 Some working code for apple 2013-12-22 16:58:49 +13:00
libraryaddict
aa32f49bbe What working code I have. 2013-12-22 16:23:55 +13:00
libraryaddict
d00d10f3a8 Fix the bounding box problems. Now just block glitching and suffocation 2013-12-22 14:30:15 +13:00
libraryaddict
f6d0994079 Actually set the bounding box 2013-12-22 13:03:47 +13:00
libraryaddict
686b25d59b Add a way to get and set the bounding box of disguises 2013-12-22 12:36:06 +13:00
YukonAppleGeek
36f9f25116 Always remove disguise and update if necessary 2013-12-20 00:09:33 -06:00
libraryaddict
7bb0008b42 Minor textual fix 2013-12-17 22:23:57 +13:00
libraryaddict
f2daaeefcd Updated the error message so I can give even less support 2013-12-17 08:11:30 +13:00
libraryaddict
f4d0af190c Clean up some moar 2013-12-17 08:03:59 +13:00
libraryaddict
f7878f411d Cleanups here. Cleanups there. Cleanups everywhere. 2013-12-17 07:47:29 +13:00
libraryaddict
e221dc4757 Fixed ocelot settamed and setsitting not working. added issitting and istamed 2013-12-17 07:46:30 +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
d4461f7ade Add the ability to negate options instead of giving options 2013-12-14 17:01:25 +13:00
libraryaddict
319c987f94 Added 2 config options to show names above disguised players head 2013-12-09 04:44:02 +13:00
libraryaddict
8dd604153e Deprecated isFused and setFused as they are the same as isIgnited and setIgnited 2013-12-08 17:34:30 +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
libraryaddict
95e28757b7 Fixed the version checking being wrong. 2013-12-08 10:49:41 +13:00
libraryaddict
cdc02b4090 Cleaned up code. Fixed error for sounds handling 2013-12-08 07:51:37 +13:00
libraryaddict
90e3960923 Clean up the code 2013-12-08 03:33:56 +13:00
libraryaddict
a8b5c44a72 Convert all the packet ids to use the new packettype 2013-12-08 03:30:30 +13:00
libraryaddict
af51c6def0 Fix error 2013-12-06 20:19:08 +13:00
libraryaddict
b29e8e6115 Read desc
Added method to reflection manager to check if after 1.7
Fixed error with packet use entity
Fixed error with walk sounds
2013-12-06 20:13:45 +13:00
libraryaddict
3541e82c48 Minor code cleanup 2013-12-06 05:01:08 +13:00
libraryaddict
a759cfaa59 Changed getHeldItem and setHeldItem in enderman and flagwatcher to setItemInHand 2013-12-05 21:27:46 +13:00
libraryaddict
40694c5030 Added setBaby and isBaby to zombiewatcher. Deprecated setadult for ageable and zombie watcher 2013-12-05 21:21:27 +13:00
libraryaddict
bd83ff0c80 Fix bug. And it only removes the disguises targeted towards certain players. 2013-12-05 21:06:52 +13:00
libraryaddict
6e5241aec3 Add new config option to remove unseen disguises for targeted disguises. 2013-12-05 21:05:58 +13:00
libraryaddict
d415f6340e Start the road to a 1.7 update 2013-12-05 20:38:41 +13:00
libraryaddict
3299d97495 Cleaned up getEntitySize() minorly. 2013-12-05 20:15:58 +13:00
libraryaddict
c6ff4dafe7 Add more commenting, add addEntityAnimations to flagwatcher clone 2013-12-04 07:44:33 +13:00
libraryaddict
063b916c25 Rename stuff. Remove debug output. 2013-12-04 07:38:10 +13:00
libraryaddict
6420a989a9 May as well make firework be refreshed to try combat mojangs brilliant lag idea 2013-12-03 03:00:44 +13:00
libraryaddict
82e86f6669 Fix some errors 2013-12-02 23:31:43 +13:00
libraryaddict
55427dc1fe Make private method public. Remove the error being thrown for temperary player 2013-12-02 23:21:10 +13:00
libraryaddict
9fd631d397 Remove debug 2013-12-02 18:43:41 +13:00
libraryaddict
4f1613dca1 Cleanups. Fix ups. Renames. 2013-12-02 05:10:38 +13:00
libraryaddict
efa75e677f More stuff. Self disguises no work :( 2013-12-02 04:37:07 +13:00
libraryaddict
4dc6853945 Clean up code. Add in code. Forgot what I did. 2013-12-02 03:31:54 +13:00
libraryaddict
a969811c64 More stuff including a small amount of cleanup 2013-12-02 02:36:42 +13:00
libraryaddict
25a6e713af Don't bother checking if the entity is disguised before cancelling packet as it should be cancelled anyways 2013-12-02 01:36:55 +13:00
libraryaddict
4aa148d1eb Update other code to reflect this 2013-12-02 01:35:43 +13:00
libraryaddict
58485e9b1c Make canSee do stuff 2013-12-02 01:35:20 +13:00
libraryaddict
7505b0aca8 Make getPerverts return only the people who can see the disguise 2013-12-02 01:34:27 +13:00
libraryaddict
d8548400a6 Start of a targetted disguise 2013-12-02 01:32:38 +13:00
libraryaddict
d1f1610d41 Add ignited for creeper, seems to be the only change. Idk what this does exactly for a disguise yet 2013-12-01 21:55:56 +13:00
libraryaddict
857669fa86 Fixed armor helmet not appearing if you have no helmet and are holding a item 2013-11-30 23:09:29 +13:00
libraryaddict
c63a08eca4 Finally isolated the packet for 'Send armor flying everywhere' 2013-11-30 22:22:33 +13:00
libraryaddict
7d7020275e Sort the methods 2013-11-27 16:55:03 +13:00
libraryaddict
d9febc03d5 Readd ITEM_FRAME as a disguise. But not one that works. 2013-11-27 16:54:38 +13:00
libraryaddict
473769eb26 Read desc
Added method getBukkitEntity to reflectionmanager
Added a way for itemframe values to exist.
2013-11-27 16:38:51 +13:00
libraryaddict
ca913347ce Changed DisguiseType value fetching to EntityType as Itemframe isn't supported. 2013-11-27 16:26:31 +13:00
libraryaddict
be3712ccd0 Fixed array size exception with armor slot 2013-11-27 11:40:38 +13:00
libraryaddict
782e5925b1 Removed item frame disguise as it cannot move and is effectively useless 2013-11-25 16:52:09 +13:00
libraryaddict
4c52a26b46 Released 7.7.4 2013-11-25 16:31:11 +13:00
libraryaddict
881d76eafa Code cleanup, fixed primed tnt disappearing 2013-11-25 16:26:24 +13:00
libraryaddict
6d1e9a7655 Change entity in disguise to getEntity() 2013-11-25 15:52:08 +13:00
libraryaddict
dfb11dceda Fixed self disguises, wonder if I introduced new bug. 2013-11-25 15:45:37 +13:00
libraryaddict
f9eedb7528 Code clean up 2013-11-25 15:45:23 +13:00
libraryaddict
0e0418b7be Added new config option AddEntityAnimations 2013-11-24 10:05:08 +13:00
libraryaddict
4e72ad359c Don't let the disguisers use deprecated methods 2013-11-24 09:16:04 +13:00
libraryaddict
698881f348 Sorted the order the disguisehelp displays 2013-11-24 09:10:28 +13:00
libraryaddict
97452d516d Renamed types, fixed error where you couldn't set the type of disguised. 2013-11-24 09:08:37 +13:00
libraryaddict
bb15a52022 Moved the createDisguise in miscDisguise up to get rid of a error 2013-11-24 09:01:32 +13:00
libraryaddict
a97f9b22af Changed the painting to art else it conflicts with disguisetype in disguisehelp 2013-11-24 08:59:20 +13:00
libraryaddict
f2755fcb8b Do the changes for the base disguise command 2013-11-24 08:53:25 +13:00
libraryaddict
e48c8db360 Add painting to disguise help 2013-11-24 08:53:08 +13:00
libraryaddict
979ff545a5 Deprecated the setId() of the watchers. Not going to remove them. But still shouldn't be used. 2013-11-24 08:48:39 +13:00
libraryaddict
3ab4706af3 Fixed spelling in GhastWatcher 2013-11-24 08:45:32 +13:00
libraryaddict
42cac092f6 Modify the painting spawn packet to match the changes 2013-11-24 08:43:36 +13:00
libraryaddict
bfd2b1b329 Add compatibility to misc disguise 2013-11-24 08:43:16 +13:00
libraryaddict
4d42dca712 Sort them 2013-11-24 08:42:12 +13:00
libraryaddict
fddbabf931 Add compatibility to flagwatcher for the new watchers 2013-11-24 08:27:01 +13:00
libraryaddict
a19b3a7833 Add falling block watcher 2013-11-24 08:26:46 +13:00
libraryaddict
15eab31347 Add painting watcher 2013-11-24 08:26:40 +13:00
libraryaddict
8679ddf4b6 Add splash potion watcher 2013-11-24 08:26:33 +13:00
libraryaddict
6dfeb5f10a Minor code cleanup 2013-11-24 07:29:13 +13:00
libraryaddict
d6fba4c402 Send teleport packet for all misc disguises (why not) and do the pitch for the disguise minecarts (facing direction) 2013-11-24 06:59:56 +13:00
libraryaddict
15a8974d1e Added undisguise message for undisguiseentity 2013-11-24 06:43:52 +13:00
libraryaddict
951d60f0aa Prevent minecarts disguised as minecarts from getting a Y height modifier 2013-11-24 06:38:46 +13:00
libraryaddict
1fc72e10cc Fixed a array size exception 2013-11-24 06:31:41 +13:00
libraryaddict
94a7237803 Read desc
Fixed disguises facing direction not updating automatically to the
correct direction.
Its not 100% perfect, but the alternative is to delay the packet another
tick which is not realistic as people could change disguises in that
time.
2013-11-23 15:53:17 +13:00
libraryaddict
2f85d35df1 Fixed the wrong constructor when a self disguise is removed 2013-11-23 15:50:10 +13:00
libraryaddict
26770e5b7a Send a entity teleport packet for falling block to prevent it glitching into the ground 2013-11-23 15:25:25 +13:00
libraryaddict
447f267811 Stop trying to send a self disguise if the player isn't valid. 2013-11-23 15:21:30 +13:00
libraryaddict
17c2d95e1d Fixed falling block disguise not working 2013-11-23 13:10:38 +13:00
libraryaddict
3fd4ddf964 Deprecated setRiding and isRiding as they are no longer in the game 2013-11-23 09:39:36 +13:00
libraryaddict
73e4c3a7c6 Renamed another method to be deprecated. Sorted them. 2013-11-23 09:19:30 +13:00
libraryaddict
0a98e90afc Read desc
Renamed the package utils to utilities
Moved Values and DisguiseSounds into it.
Renamed Values to DisguiseValues
Renamed another method in DisguiseValues
2013-11-23 09:10:20 +13:00
libraryaddict
a502792df2 Read desc
Moved more methods into DisguiseUtilities
Renamed things to look better
2013-11-23 09:04:31 +13:00
libraryaddict
93ef0a26d4 Read desc
Removed a few classes to a new package
Renamed methods and deprecated them as retarded names.
Fixed DisguiseAPI instance opening new calls and just moved that into a
new class
2013-11-23 08:52:15 +13:00
libraryaddict
81933b90bd Fixed a weird system where I use strings for getting the watcher class 2013-11-23 08:22:06 +13:00
libraryaddict
6b225f18c3 Change the casting checking to look better 2013-11-23 05:02:53 +13:00
libraryaddict
201a4a21a0 Fixed casting problems 2013-11-23 04:39:42 +13:00
libraryaddict
ce76bb47c5 Fixed a error which happened rarely 2013-11-23 04:39:35 +13:00
libraryaddict
b93f5d3ea4 Change disguisehelp to use reflection for watcher values and a new EnumHelp thingy 2013-11-23 04:21:03 +13:00
libraryaddict
e41b80ebc0 Fix disguises still being visible as usable. And classes existing when they don't. 2013-11-23 04:20:36 +13:00
libraryaddict
86d728f90d Fix the errors due to health being changed to a float 2013-11-23 04:20:03 +13:00
libraryaddict
49b81b0deb Don't print exception because sometimes the class doesn't exist. 2013-11-23 04:01:54 +13:00
libraryaddict
441d69fd62 Change to throwable as exception doesn't catch it 2013-11-23 04:01:32 +13:00
libraryaddict
13fbc4bbb6 Fix incorrect horse sounds to use mob.horse instead of just horse 2013-11-23 03:19:00 +13:00
libraryaddict
4beeb63034 Convert all sounds to strings so non-existing sounds do not stuff the plugin 2013-11-23 03:15:26 +13:00
libraryaddict
1818f5f1e6 Read desc
Convert the disguisetype to use entitytypes dymanically set when the
disguisetypes are loaded, so if the entitytype doesn't exist. The plugin
will still load.
2013-11-23 03:15:07 +13:00
libraryaddict
65077f1d7b Fix for a error being thrown when there is no error 2013-11-20 00:03:11 +13:00
libraryaddict
06b9734c3e Fixed the error with a field being fetched in entity class 2013-11-19 23:38:34 +13:00
libraryaddict
5c41c04dd8 Read desc
Changed minecarts to appear lower to the ground
Changed the player constructor so its compatible with 1.7
Changed the vechile spawn to use the constructor cos YOLO
2013-11-19 23:36:25 +13:00