Commit Graph

113 Commits

Author SHA1 Message Date
Andrew
01597b4f5d Read desc
Moved packet listeners to PacketsManager
Fixed a bug with FlagWatcher setting values it shouldn't
Cleaned up api calls
Cleaned up code
Added commenting
2013-08-13 15:19:50 +12:00
Andrew
ea5547a6c6 Add a sanity check 2013-08-07 22:51:55 +12:00
Andrew
9f7b3620ca Add missing break, remove boolean and just continue 2013-08-06 00:21:47 +12:00
Andrew
e19af33a47 Fixed a missing break in a switch statement 2013-08-06 00:08:53 +12:00
Andrew
15b4d2cbfb Why give a error when protocollib not found. It will never be thrown. 2013-08-06 00:04:43 +12:00
Andrew
e3c83482d8 Configuration should now update. Doesn't keep comments -.- 2013-08-06 00:04:01 +12:00
Andrew
fd3903f311 Fixed mentioned bug 2013-08-05 17:31:05 +12:00
Andrew
333cbded13 Disguises should now appear at the right location for entity sizes. But sometimes it disappears 2013-08-05 17:26:56 +12:00
Andrew
60246748a2 Can now add items to disguises. 2013-08-01 20:29:04 +12:00
Andrew
f15966a0f2 More config options. Added hearing yourself disguised option 2013-07-31 17:46:24 +12:00
Andrew
fa9a350106 Read desc
Now throws a error when disguising when the player logs in right away -
Informational
Packet 44 is now using the ProtocolLib accepted id.
2013-07-31 17:12:39 +12:00
Andrew
f3f451a9c6 Fix crashes 2013-07-30 15:31:07 +12:00
Andrew
6af89013c5 Read desc
Lots of code cleaned up
Added viewing yourself as a disguise - It can be laggy..
2013-07-30 12:44:00 +12:00
Andrew
cf5ec6d722 Fixed up the yaw some moar 2013-07-29 15:25:36 +12:00
Andrew
95256f8d6f Stop with the checks for yaw. Useless. 2013-07-29 15:04:19 +12:00
Andrew
b3f2fcaed2 Read desc
Cleaned up the main packet listener.
Fixed a problem with facing direction. Stupid me only accounted for
living entitys. Forgot this problem extended to disguised non-living
Added some commenting
2013-07-29 14:56:47 +12:00
Andrew
57ebeacdd6 Read desc
Moved packet constructing out of Disguise class.
Fixed datawatcher error.
Fixed datawatcher screwup where I was setting the wrong values
2013-07-29 11:21:25 +12:00
Andrew
b80eecfc63 Fixed typo 2013-07-28 11:55:59 +12:00
Andrew
cd44c50f2e Fetch the watcher that it will use. And stop using empty watchers 2013-07-28 11:00:29 +12:00
Andrew
890e17ba36 Set the sound strength when loading the entitys 2013-07-23 01:32:05 +12:00
Andrew
0898c3c387 Set the disguise radius in config if not set 2013-07-22 22:36:38 +12:00
Andrew
0888f33d1d Added the disguise types which don't need vectors 2013-07-21 15:37:29 +12:00
Andrew
3e4a9b9f15 Moved update checking to the listener 2013-07-21 15:14:59 +12:00
Andrew
2138c7bc4f Read desc
Removed duplicate horse watchers
All applicable disguisetypes are now the same names as entity type.
Fixed bug where it sometimes didnt return disguisetype when fed
entitytype
Added zombie_villager disguisetype even tho its not that big a
disguise..
Changed the entitytype I store to the bukkit's version. Should work the
same.. Untested ofc.
Hopefully broke peoples plugins :)
2013-07-16 23:42:35 +12:00
Andrew
5eca9c9d12 Now able to set the max radius for disguiseradius and undisguiseradius 2013-07-16 18:53:39 +12:00
Andrew
0e43fb481d Fixed some typos in the commands 2013-07-16 17:23:11 +12:00
Andrew
fafa69415e Quick fix before 6.2 - Removed scheduler delay 2013-07-15 20:02:43 +12:00
Andrew
7ff7558809 Entitys now face the right way when spawning 2013-07-15 19:59:30 +12:00
Andrew
9ea389eaf8 Read description
Changed how I set the default datavalues.
Crashes should now be a thing of the past..
Painting is no longer glitched. (Still goes in floor)
Horse watcher is better.
Updated outdated values.
Updated incorrect yaw for disguises
2013-07-15 19:33:23 +12:00
Andrew
dcc3fcea50 Change the method to accept a string and feed it a string instead 2013-07-13 08:19:24 +12:00
Andrew
84919eeea5 Stop the disguised recieving packets 2013-07-12 08:33:17 +12:00
Andrew
10595695c6 Sort by name 2013-07-12 06:38:38 +12:00
Andrew
65e42e0132 Create a new entity and start changing attribute packets 2013-07-12 06:38:07 +12:00
Andrew
8ca7f25b4a Small textual update 2013-07-10 07:25:12 +12:00
Andrew
c70f0ab5b4 Updated to 1.6.2 2013-07-09 14:51:35 +12:00
Andrew
728766ef48 Auctally set the metadata.. 2013-07-07 19:18:17 +12:00
Andrew
e6457d0bb4 Sort by name 2013-07-07 03:43:59 +12:00
Andrew
1c056089bc Auctally grab the datawatcher 2013-07-07 03:42:25 +12:00
Andrew
5db33ffcf6 Don't deep clone meta. Doing that already! Cancel attributes packet. Non-living dont send it.. 2013-07-07 02:34:12 +12:00
Andrew
1089032e4a Update LibsDisguises to 1.6 2013-07-02 15:29:12 +12:00
Andrew
009a4608b8 Changed update message coloring to red 2013-06-25 15:15:38 +12:00
Andrew
90c7817634 Fixed a error for the updater. 2013-06-25 13:37:17 +12:00
Andrew
1ddc880e3b Fixed a error.. 2013-06-25 13:35:32 +12:00
Andrew
ce9697b1ab Added new constructor for MiscDisguise, fixed potential issue in packet editing 2013-06-05 19:09:41 +12:00
Andrew
174d297445 Fixed update checker, changed listener prioty to highest 2013-06-02 16:10:37 +12:00
Andrew
7324926062 No longer using concurrenthashmap 2013-06-01 18:35:31 +12:00
Andrew
20a75f947a Added update checking for LibsDisguises 2013-05-31 20:55:55 +12:00
Andrew
d1ccc40c59 Read desc
Watcher is never null now
You can now change potion particles etc.
Added LivingWatcher
Cleaned up code
2013-05-31 03:36:59 +12:00
Andrew
3c51dae83b Fix fireball, giant, ghast and items 2013-05-30 08:46:51 +12:00
Andrew
19b61395ee Less bugs. Still writing 2013-05-30 05:17:48 +12:00
Andrew
c78843aa2a Read desc
Tried a little fix for sounds.
Hopefully made a fix for concurrent modification errors
Fixed typo in disguise player command
Added warning and disable if ProtocolLib isn't found
2013-05-30 02:25:00 +12:00
Andrew
ecb4f1e8ec Sorted all members 2013-05-29 10:52:54 +12:00
Andrew
a7908e5738 Added disguising other players commands 2013-05-29 10:44:55 +12:00
Andrew
09b4955e23 Read description
Completely redone how the disguising works.
Sends packets through protocollib now.
Doesn't hide the players anymore. It changes entity trackers.
You can now disguise any entity.
Added painting disguise.
Added disguisesound which stores sounds for each disguise.
Any disguise makes a sound? Its replaced with the proper sound.
Added ability to turn off and on the sounds
Added ItemFrameWatcher and PlayerWatcher
2013-05-29 10:29:36 +12:00
Andrew
902fc99686 Read desc
Fixed enderdragon flying backwards.
Fixed vechiles not facing the right way
Fixed entitys sometimes remaining in the world
2013-05-28 00:11:12 +12:00
Andrew
0bda040a60 Read description
Added command undisguise
Changed perm for undisguise to libsdisguises.undisguise
Moved where the commands are set incase of errors.
2013-05-21 14:23:58 +12:00
Andrew
abe1a93000 Released 3.2 - Added more sounds 2013-05-21 13:19:46 +12:00
Andrew
2ff2acb3a1 Removed isExp() and now supports playing sounds. ALso no crashing for entitys 2013-05-21 12:59:57 +12:00
Andrew
fd243d196c Added villager watcher 2013-05-21 00:27:28 +12:00
Andrew
f9c3bbcf10 Released 3.0 2013-05-20 23:26:37 +12:00
Andrew
0c6d1c9280 Added the rest of disguisable entitys. Fixed crashes 2013-05-20 23:00:59 +12:00
Andrew
86eb1f9af3 Read description
Updated libs disguise to use custom datawatchers.
This ensures that I can now set custom flags on disguises.

Also fixes it looking bugged
2013-05-19 15:44:13 +12:00
Andrew
739ce9f10e First commit 2013-05-18 09:05:19 +12:00