Commit Graph

545 Commits

Author SHA1 Message Date
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
libraryaddict
2f7f5ef43c Fixed errors and errors with getPerverts for velocity packets 2013-11-19 22:53:56 +13:00
libraryaddict
95b6c40b7a Fixed the wrong disguise option being returned as the bad permission 2013-11-19 22:53:39 +13:00
libraryaddict
9b30140e22 Fixed problem with disguisehelp command not telling you that you don't have perms. And perms not working. 2013-11-19 22:48:33 +13:00
libraryaddict
3808579614 Annother attempt to fix broken look 2013-11-19 11:46:06 +13:00
libraryaddict
e02e1c9e6b Fix flag watcher not working, fix error with gethandle 2013-11-19 08:48:26 +13:00
libraryaddict
4e101c3ec6 Minor code clean 2013-11-19 08:39:28 +13:00
libraryaddict
33460a6fb7 Finish converting it all to reflection. Removed cb dependency ;D 2013-11-19 08:25:48 +13:00
libraryaddict
85f4bfbdc7 Updated the packets manager to have a accurate count of direct nms calls 2013-11-19 05:55:43 +13:00
Andrew
8b3df2abf4 Fix a error with casting 2013-11-19 05:50:43 +13:00
Andrew
d09d7d6549 Fix the items doing the wrong classes for the getters 2013-11-19 05:50:31 +13:00
Andrew
0ab5500e03 Fixed arrow being mislabelled as moving when its criticial. 2013-11-19 01:31:00 +13:00
Andrew
513b9bdf8f Fixed disguise player not being constructable 2013-11-19 01:30:39 +13:00
Andrew
c54ed4f5dd Add human to the cases 2013-11-19 00:55:44 +13:00
Andrew
209744fab3 Fix incorrect permission nodes 2013-11-19 00:53:22 +13:00
Andrew
9b1ba66efc Throw errors if there is a error when doing the commands 2013-11-19 00:50:39 +13:00
Andrew
c25519158a Update for reflection 2013-11-19 00:49:04 +13:00
Andrew
71d0b64e82 This reverts the 2 reverted commits 2013-11-18 16:24:25 +13:00
Andrew
2820311551 Forced to release build 7.7.0 2013-11-18 16:09:13 +13:00
Andrew
e6daa898d8 Revert "Update entity status packet to use 1 instead of 2"
This reverts commit 22f2ae593b.
2013-11-18 16:07:33 +13:00
Andrew
c1a878a7d9 Revert "Update for 1.7 spigot hack"
This reverts commit 962bbece37.
2013-11-18 16:06:58 +13:00
Andrew
1a4507893f Fixed perms not using backslashes 2013-11-18 16:06:29 +13:00
Andrew
e0240c1044 Limit the setId to the values length on horse and ocelot 2013-11-18 04:43:42 +13:00
Andrew
c2ebe0d347 Same fors lime 2013-11-18 04:43:20 +13:00
Andrew
98677bade3 Use the method instead of setvalue for villager 2013-11-18 04:43:12 +13:00
Andrew
d4774aa3c5 Add reminder, make the horse color random per the color length 2013-11-18 04:39:33 +13:00
Andrew
370e72d9bc Don't display deprecated methods for disguise help. 2013-11-18 04:29:38 +13:00
Andrew
04df1cd162 Changed a string to a class as I'm likely to forget to update it. Also added in warnings for myself for updating. 2013-11-18 04:16:17 +13:00
Andrew
d83c5bcd2c Revert "Print off when it receives packet 32 - Example for ProtocolLib"
This reverts commit 30754429a9.
2013-11-17 01:57:38 +13:00
Andrew
62286cc5a0 Add the ability to get and set the blocks in a minecart. As well as their Y offself 2013-11-16 18:20:22 +13:00
Andrew
30754429a9 Print off when it receives packet 32 - Example for ProtocolLib 2013-11-16 12:12:29 +13:00
Andrew
32cafd1b57 Add the ability to set and get the wither invulunbility. 2013-11-15 14:19:05 +13:00
Andrew
3e8532e6ff Add the ability to set and get age in ageable watcher by number 2013-11-15 14:18:50 +13:00
Andrew
95262097ca Opps. Thats for living disguises only 2013-11-15 09:10:35 +13:00
md-5
9365f6e1f1 Remove 'ban' code. 2013-11-14 16:36:53 +11:00
Andrew
0f4d687f65 Add some more motds to the banned servers. 2013-11-14 12:29:31 +13:00
Andrew
1050ded526 Added leash hitch as a disguise sound. Regardless of it having no sounds 2013-11-14 12:20:38 +13:00
Andrew
22f2ae593b Update entity status packet to use 1 instead of 2 2013-11-14 12:20:08 +13:00
Andrew
68d16995e0 Made the permission option baby also stand for setbaby 2013-11-14 10:43:24 +13:00
Andrew
49347b6a46 Add 'adult' to the thingy 2013-11-12 17:47:59 +13:00
Andrew
c1ada67da6 Add better perms handling and a way to disable options for constructing disguises 2013-11-12 17:46:39 +13:00
Andrew
f02d212c9b Tiny code cleanup 2013-11-12 17:46:24 +13:00
Andrew
78bc04a4b4 Fix it doing the wrong stuff for baby baby ohhh 2013-11-12 17:46:02 +13:00
Andrew
f5c48eb264 Add isBaby and setBaby to ageable watcher 2013-11-12 16:35:22 +13:00
Andrew
40c41fe1d0 Fix the /disguiseplayer command not working for console 2013-11-12 16:35:10 +13:00
Andrew
0576614825 Add 'baby' for constructing a disguise, and inform them that true/false is soon to be removed 2013-11-12 16:34:54 +13:00
Andrew
962bbece37 Update for 1.7 spigot hack 2013-11-11 10:13:44 +13:00
Andrew
e537fb8923 COs of the last commit we can remove this 2013-11-11 03:30:47 +13:00
Andrew
74d608afb9 When constructing misc disguise. You can now set the itemstack 2013-11-11 03:29:57 +13:00
Andrew
c4be1b989e Return the incorrect command usage with a .0 for float/double 2013-11-11 03:29:42 +13:00
Andrew
48efa79ef7 Small fix before release 2013-11-08 09:32:24 +13:00
Andrew
534fd07cda Added disguise leash hitch 2013-11-08 09:29:32 +13:00
Andrew
aae8903644 Added override to wolf set/get health 2013-11-08 09:23:46 +13:00
Andrew
58b8a10fad Cleaned up names in DisguiseHelpCommand 2013-11-08 09:23:28 +13:00
Andrew
643f2b1c85 Changed enderman watcher to override held get/set and deprecated the rest 2013-11-08 06:37:36 +13:00