Commit Graph

491 Commits

Author SHA1 Message Date
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