Commit Graph
100 Commits
Author SHA1 Message Date
Andrew 83750309c7 WitherSkull's can turn blue. Who knew? 2013-08-20 04:58:45 +12:00
Andrew 8ebd632363 Setting viewSelfDisguise on the disguise now updates it 2013-08-15 08:57:30 +12:00
Andrew c56972d7dd Released 7.3 2013-08-13 22:06:52 +12:00
Andrew f152c677c6 Fix the disguises only refreshing theirselves 2013-08-13 22:05:13 +12:00
Andrew 2b2f5d4aed Rename discard() to removeDisguise(). Make the disguise reusable 2013-08-13 21:57:21 +12:00
Andrew 448c227303 Read desc
Added discard() to disguise
Renamed methods and added comments to make it easier to understand
Moved old calls to use the discard() instead
2013-08-13 21:44:54 +12:00
Andrew 76a0949c30 Rename internal methods 2013-08-13 20:29:25 +12:00
Andrew 6b5b13ae79 Add md_5 repo to pom 2013-08-13 20:26:48 +12:00
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 1e8206baa5 Let them get the event. But just don't let cancel do anything 2013-08-12 07:25:48 +12:00
Andrew ec96bdd962 Read desc
Disguises can now have velocity sent toggled indivially
Disguises can also have self view toggled
Disguises can also have self hearing toggled.
Changed when the undisguise event is fired so its only fired when you
can cancel it
Disguises now undisguise only when the entity is no longer valid - Its
not in the world
Fixed small bugs
2013-08-12 07:24:52 +12:00
Andrew 41d5b60ffe Changed events to have a better naming system. 2013-08-12 06:32:51 +12:00
Andrew 18d97c0077 Remove public watcher constructor and construct it internally 2013-08-11 09:12:01 +12:00
Andrew 0ae9a0a77a The disguiser is a pervert sometimes too ;D Let him see some action 2013-08-09 23:16:23 +12:00
Andrew a6a658003d Released 7.2.4 2013-08-09 09:22:11 +12:00
Andrew 6b58c8ef5f Added getProfessionId() and setProfessionId(int id) 2013-08-09 09:15:28 +12:00
Andrew 66be1f8fa9 Sort by name 2013-08-09 09:14:44 +12:00
Andrew e80523c59f Fixed error 2013-08-09 05:56:13 +12:00
Andrew ea5547a6c6 Add a sanity check 2013-08-07 22:51:55 +12:00
Andrew 1d5bcebce9 Add method to disguise next entity. Use entity ID's not entitys. 2013-08-07 22:51:42 +12:00
Andrew 7d5b72b9c5 Add another check for sending data 2013-08-07 22:51:14 +12:00
Andrew fc9337504c Make dem entity constructors Deprecated cos they look ugly 2013-08-07 22:50:52 +12:00
Andrew d74fed7e39 Fix bad stance, you can now disguise based on a entitytype 2013-08-07 22:50:27 +12:00
Andrew f3efa438ca Released 7.2.3 2013-08-06 00:24:11 +12:00
Andrew cd11dc3572 Don't throw a error if tracker not found. Just run again later 2013-08-06 00:22:04 +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 d59b3c8a60 Released 7.2.2 2013-08-01 21:27:52 +12:00
Andrew c2fdb3c201 Removed sanity checks and idiot checks 2013-08-01 21:19:50 +12:00
Andrew cf2cc926ae Released 7.2.1 forgot why 2013-08-01 21:19:41 +12:00
Andrew 3bfda072c0 Released 7.2 2013-08-01 20:30:22 +12:00
Andrew 60246748a2 Can now add items to disguises. 2013-08-01 20:29:04 +12:00
Andrew 5375edc14c Added disguise constructors using entitytype 2013-08-01 19:57:14 +12:00
Andrew 0981a0a88a Player is no longer invisible to himself when undisguising 2013-08-01 19:56:27 +12:00
Andrew ec69f17aa3 Released 7.1.1 2013-07-31 19:39:55 +12:00
Andrew 47d84ed794 Removed RedisguisedEvent 2013-07-31 19:39:16 +12:00
Andrew 38a26ecb44 Released 7.1 2013-07-31 17:47:29 +12:00
Andrew f15966a0f2 More config options. Added hearing yourself disguised option 2013-07-31 17:46:24 +12:00
Andrew d12e58899e Released 7.0 2013-07-31 17:18:09 +12:00
Andrew 19120f5d6a Changed config file so viewing yourself as a disguise isn't default 2013-07-31 17:18:02 +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 0ea559cd60 Released 6.9 2013-07-29 15:31:44 +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 af51d15d59 Make flagwatcher constructor public 2013-07-29 15:03:49 +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 957cf83e67 Cleaned up minor stuff 2013-07-29 14:53:32 +12:00
Andrew 9284990ae1 FlagWatcher no longer wants a JavaPlugin to be constructed 2013-07-29 11:21:42 +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 53b5be001d Sort by name 2013-07-29 11:19:59 +12:00
Andrew 293b4f7de1 Fix bug and change Values to use switch statement 2013-07-28 12:05:47 +12:00
Andrew b80eecfc63 Fixed typo 2013-07-28 11:55:59 +12:00
Andrew 2b0df513e1 Clean it up some more 2013-07-28 11:20:13 +12:00
Andrew 15c2ee6305 Move calls elsewhere and rename some methods and remove old code. 2013-07-28 11:01:09 +12:00
Andrew e659875347 Allow devs to change the sounds of disguises 2013-07-28 11:00:43 +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 593f3f492b Store the type of watcher this disguise will use 2013-07-28 10:59:49 +12:00
Andrew e755ed24db Let developers construct the watcher themselves 2013-07-28 10:58:21 +12:00
Andrew 4c81ea1b95 Added new constructor for mob disguise 2013-07-24 15:57:16 +12:00
Andrew 384a20ab6e Fixed a error when custom name longer then 64, fixed derp with a method return 2013-07-24 15:57:05 +12:00
Andrew 1e511bede0 Added ability to check kind of Disguise 2013-07-24 15:56:41 +12:00
Andrew b809790ea3 Add events 2013-07-24 12:16:54 +12:00
Andrew a0892c56c1 Clean up code 2013-07-24 12:16:47 +12:00
Andrew 296f3b869b Released 6.8.1 2013-07-23 06:44:34 +12:00
Andrew 29ec18fe03 Fixed the wrong boolean being returned 2013-07-23 06:44:27 +12:00
Andrew f5e5b0c261 Released 6.8 2013-07-23 06:39:12 +12:00
Andrew 18ea8e079c Fixed entity damage sounds and check if entity can age before modifying pitch 2013-07-23 06:38:54 +12:00
Andrew dbffa801c7 Don't try to use the watcher if the watcher doesnt exist 2013-07-23 06:38:29 +12:00
Andrew bc08c933ca Fix Bat watcher 2013-07-23 06:38:16 +12:00
Andrew 2ca0dbbc28 Add fall sounds for things that shouldn't fall 2013-07-23 06:37:50 +12:00
Andrew 114a0fd285 Add method to see if the disguise ages 2013-07-23 06:37:15 +12:00
Andrew 573e307d19 Fixed bat sound bug. Fixed unable to check if the sound is baby/adult 2013-07-23 05:15:45 +12:00
Andrew b34033d942 Sort by name 2013-07-23 02:18:34 +12:00
Andrew 88e6fc1512 Released 6.7 2013-07-23 02:14:09 +12:00
Andrew 6ae7d703b0 Fix a npe 2013-07-23 02:06:19 +12:00
Andrew af6e6a1aa9 Added villager sounds and witch sounds (Which don't work) 2013-07-23 02:04:42 +12:00
Andrew a74465157b Read desc
Play damage sound even if the damaged doesn't play the sound
Change pitch depending on the disguise and the disguised.
Change volume depending on the sound + previous volume
2013-07-23 01:33:58 +12:00
Andrew efede32c9b Added .equals and fixed up velocitys to look better for worse pings 2013-07-23 01:32:29 +12:00
Andrew 890e17ba36 Set the sound strength when loading the entitys 2013-07-23 01:32:05 +12:00
Andrew 3e0b557d14 Change sounds to store a string instead, added horse types sounds. Added sound strength for hurt/death 2013-07-23 01:31:11 +12:00
Andrew 67e9aec7d1 Add break for DisguiseType switch statement 2013-07-23 01:30:40 +12:00
Andrew ad47108567 Allowed .equals() to be used on disguises and watcher 2013-07-23 01:30:21 +12:00
Andrew 0898c3c387 Set the disguise radius in config if not set 2013-07-22 22:36:38 +12:00
Andrew e7f283dc25 Read desc
Don't disguise the command sender when doing a radius
Fixed saying a incorrect entity count when undisguising
2013-07-22 22:36:24 +12:00
Andrew d3da599ea8 Added more aliases to commands 2013-07-22 22:35:48 +12:00
Andrew 238039a318 Changed max disguise radius default to 50 2013-07-22 22:35:27 +12:00
Andrew 709f07e610 Added more/better/worse checkin for cross referencing data types 2013-07-21 22:19:10 +12:00
Andrew c6d4a115bc Released 6.6 2013-07-21 18:24:38 +12:00
Andrew 0128452069 Read desc
Fixed vechile spawn packets looking strange
Fixed item frame crash
Fishing hook semi-fixed. Can't fix completely.
Fixed a safety check (Wasn't really needed tho)
All disguises should now float in the air
Tnt is fixed.
Fireworks is fixed
2013-07-21 18:23:52 +12:00
Andrew 85ee40384a Set the bat to flying 2013-07-21 17:03:25 +12:00
Andrew fa855c3434 Released 6.5 2013-07-21 15:37:37 +12:00
Andrew 0888f33d1d Added the disguise types which don't need vectors 2013-07-21 15:37:29 +12:00
Andrew 3f85f0f45a Use switches instead of ifs 2013-07-21 15:19:47 +12:00
Andrew 285f8f51fd Read desc
Now set data which is different type then expected.
Added scheduler
2013-07-21 15:19:33 +12:00