NavidK0
99daf8246d
Progress! Some mob disguises are working now
...
Added in dual hand animations
Removed libraryaddict
2016-03-06 01:57:11 -05:00
NavidK0
cf1b15942c
Update disguises to use EntityEquipment, makes life easier
...
Update ItemInHand calls to ItemInMainHand and OffHand
Still not ready for use yet, disguises do not work
2016-03-05 23:14:19 -05:00
NavidK0
a94d583f0b
Fix a strange issue with .gitignore excluding files, fixes Jenkins again
2016-03-04 23:45:38 -05:00
NavidK0
1576c895b5
Switch to ProtocolLib MinecraftKeys wrapper
...
Add in helper method to quickly create DataWatcher.Item objects
Typo in last commit, meant to say, disguises will NOT show up. Sorry to those who got excited. :(
2016-03-04 22:52:52 -05:00
NavidK0
2cf48f7916
It runs, but it's not at all ready for use. Disguises will now show up yet as packets have not been changed.
2016-03-04 21:02:39 -05:00
NavidK0
40e56621a8
Why'd I put weather and lightning in there?
2016-02-19 15:36:47 -05:00
NavidK0
50623a9be2
Added new entities to DisguiseType
...
Changed entity Ids to reflect new entity Ids in Spigot 1.9
Cleaned up code
2016-02-19 15:29:53 -05:00
NavidK0
9847ff035a
1.9+ Initial Commit
...
LibsDisguises.instance is no longer exposed, replaced with LibsDisguises.getInstance()
2016-02-19 14:23:46 -05:00
NavidK0
321ecdb3c2
Cleaned up code
2016-02-18 17:45:11 -05:00
NavidK0
0b79bb5d06
Changed dependencies from file to proper dependencies, also added flatDir to repository block.
2016-01-26 23:01:14 -05:00
NavidK0
758df7990e
- Cleaned up code
...
- Future proofed code via reflection again (DamageSource in PacketsManager)
2016-01-22 00:41:45 -05:00
NavidK0
66ab7ac3ef
Fixed ConcurrentModificationException on PaperSpigot/SportsBukkit.
2015-12-29 15:44:19 -05:00
NavidK0
e7a5d0763f
Hotfix for PaperSpigot/SportsBukkit issue with HashMap.KeySet() != Set
...
Should fix issues with
0265f4eaef
2015-12-28 19:34:44 -05:00
NavidK0
05effaa82c
Updated timings for runnable task
...
Updated version for 8.6.5
2015-08-12 17:20:41 -07:00
NavidK0
a4a965d450
Fixed bug where disguise would be visible for a few seconds after teleporting.
2015-08-12 16:21:08 -07:00
NavidK0
41cfa8eeaa
Fixed bug where players switching worlds would become invisible.
...
Fixed bug where arrows wouldn't blow disguises.
Added default permission for /libsdisguises reload (only ops can use by default)
2015-08-02 19:40:47 -04:00
NavidK0
037da7e980
Updated for 1.8.8.
...
Compiled against ProtocolLib 3.6.5.
Fixed a nullpointerexception In Disguise when the disguise would rarely despawn causing the entity to be invalid.
2015-08-01 19:25:48 -04:00
NavidK0
bdb436711f
Added support for spaces in Player Disguises.
...
Use the "\_" (backslash underscore) to place a space in a name.
Example: /d player The\_Great\_Apple
2015-07-18 00:53:42 -04:00
NavidK0
8c633adb8e
Fixed some more permissions related things
2015-07-15 08:33:33 -04:00
NavidK0
ed7d8d0c67
Updated versioning to 8.6.1
2015-07-15 08:29:08 -04:00
NavidK0
7301a60aa4
Fixed incorrect permission for /vsd a.k.a /disguiseviewself
2015-07-15 08:25:15 -04:00
NavidK0
b57e9931b0
Added the new /disguiseviewself command, allows for toggling the disguise model when you see yourself.
...
Permission is libsdisguises.viewself
Aliases are: [dviewself, dvs, disguisevs, disvs, vsd, viewselfdisguise, viewselfd]
2015-07-15 05:51:58 -04:00
NavidK0
1d54ba9997
Added descriptions for all the commands in plugins.yml.
2015-07-15 04:04:10 -04:00
NavidK0
27cc9cd70f
Added rudimentary support for disguising Custom Entities and Modded Entities
...
Added the DisguiseType 'Unknown', obviously can't be used by players
Cleaned up code
2015-07-07 11:30:12 -04:00
NavidK0
aee904200b
Fixed block data for FallingBlock disguises
2015-07-01 16:02:57 -04:00
NavidK0
caa0025e77
Changing build setup for gradle artifact repo
2015-07-01 09:19:00 -04:00
NavidK0
ee313bc753
Removed pointless line
2015-07-01 09:17:50 -04:00
NavidK0
fc0f313f13
Removed pointless line
2015-06-13 09:33:00 -04:00
NavidK0
a3c8029223
Updated to 1.8.7, no code changes?
2015-06-13 09:24:10 -04:00
NavidK0
545fa08e55
Updated for 1.8.6.
...
Code cleanup.
Fixed permissions.
2015-05-30 09:34:38 -04:00
NavidK0
17869698d5
Updated for 1.8.6.
2015-05-30 03:22:38 -04:00
NavidK0
9083a5ba84
Fixed data values for blocks as of 1.8.3.
2015-04-21 16:01:50 -04:00
NavidK0
32f37b74e2
Temporarily commented out setAllowSleep for now until it can be fixed later
...
Updated config.yml
Updated plugin.yml
Updated plugin for latest spigot builds and latest ProtocolLib build
2015-04-13 01:25:48 -04:00
NavidK0
34c8bfb808
Modified Gradle build script to work with Jenkins
2015-03-31 02:16:21 -04:00
NavidK0
1ea2a3f94f
Fixed isInvulnerable for real this time
2015-03-30 23:07:47 -04:00
NavidK0
15c0141c3d
Added config option ContactMojangServers which disables player skins, but stops the plugin from pinging Mojang servers.
...
Added reload command to reload the config.
Tweaked a couple of things.
Fixed isInvulnerable issue.
2015-03-29 22:47:29 -04:00
NavidK0
a33bb0b139
Added config option ContactMojangServers which disables player skins, but stops the plugin from pinging Mojang servers.
2015-03-28 19:59:42 -04:00
NavidK0
4beb5fa730
Removed config options which don't do anything
2015-03-28 19:47:31 -04:00
NavidK0
cbf4e3fc03
Fixed isInvulnerability check in PacketsManager
2015-03-28 19:05:53 -04:00
NavidK0
099e9ad5a3
Updated for 1.8.3
...
Changed project to gradle
Added plugin metrics
Compliant with Java 7
2015-03-25 19:23:16 -04:00
NavidK0
b575c176ab
Removed libs
2015-03-09 20:32:52 -04:00
NavidK0
573f4cdc88
- Changed entire project to gradle
...
- Updated for 1.8.3
- No more errors, woo
2015-03-09 20:28:41 -04:00
Byteflux
c335b245b5
Work towards 1.8 support
...
TODO: Remove future disguise types and test backwards compatibility
2014-12-07 07:59:38 -08:00
libraryaddict
eabfe0d0bf
Reverse this for enderman watcher conversion to 1.8
2014-11-17 14:48:43 +13:00
libraryaddict
7563b4ec0c
Minor fix to getGameProfile(Player)
2014-11-15 10:14:27 +13:00
libraryaddict
f6140620c8
Player Changing world should be nicer for teleports
2014-10-25 23:38:13 +13:00
libraryaddict
02745fc88c
Elder guardian gets to set the byte value
2014-10-01 15:20:42 +13:00
libraryaddict
a253db5ae2
Fix up skin blobs
2014-09-29 17:19:07 +13:00
libraryaddict
5ab0f7e53d
Use unique uuid's for each player disguise. Prevents skinless ppl
2014-09-29 17:05:04 +13:00
libraryaddict
ad788d0f5f
Go away errors
2014-09-29 17:04:47 +13:00
libraryaddict
de94e6a757
Move updatemessage and permission to disguiseconfig
2014-09-29 16:32:47 +13:00
libraryaddict
7864920385
Player setSleeping should work fine now
2014-09-29 16:29:13 +13:00
libraryaddict
4d50358934
Looks like max view distance is 35 chunks, and use minus not plus..
2014-09-29 15:35:38 +13:00
libraryaddict
4921ec07ce
Use a chunk distance of 17 as I think 20 is sometimes out of render?
2014-09-29 14:09:13 +13:00
libraryaddict
0af1924e61
Use getX instead of getblockX. Don't make it 1.8 specific
2014-09-29 14:08:58 +13:00
libraryaddict
465257f11a
Use isPlayerDisguise
2014-09-29 13:18:01 +13:00
libraryaddict
a3b67b9a4f
Run forest! Run! Aka rabbits now hop
2014-09-27 23:59:03 +12:00
libraryaddict
6d38cf0e76
Fix a random in wabbit watcher
2014-09-27 22:35:18 +12:00
libraryaddict
d937fb3e79
Progress
2014-09-27 16:35:21 +12:00
libraryaddict
fb09d93136
Add RabbitType
2014-09-27 15:50:38 +12:00
libraryaddict
66a454c6f4
Add up as valid direction
2014-09-27 15:48:39 +12:00
libraryaddict
702a58c3bf
Fix up basecommand and booleans
2014-09-27 15:41:30 +12:00
libraryaddict
ddac7feda3
Fixed head rotation for self disguise player
2014-09-27 14:55:24 +12:00
libraryaddict
bf3e81522b
Fix self disguises for player
2014-09-27 14:42:00 +12:00
libraryaddict
2e960f1abf
Prevent new self disguises glitching out
2014-09-27 13:11:47 +12:00
libraryaddict
f2d148d0af
Fix rabbit ageable
2014-09-27 12:37:28 +12:00
libraryaddict
71cf9c8b7f
Add doBeam to guardian
2014-09-27 12:37:22 +12:00
libraryaddict
bde2d51233
Add setRabbitType
2014-09-27 12:37:14 +12:00
libraryaddict
41663bee37
Don't need no endermite watcher
2014-09-27 12:37:08 +12:00
libraryaddict
8cecfe98d6
Add support for 1.8 disguises
2014-09-27 12:18:54 +12:00
libraryaddict
3d99e4975a
Use player object instead of string
2014-09-27 12:17:57 +12:00
libraryaddict
d399d80a6c
Add is1_8 to LibVersion (Uses 1.7 and 1.8 dual build)
2014-09-27 12:17:43 +12:00
libraryaddict
96e7cd181a
Tiny performance boost
2014-09-26 16:50:57 +12:00
libraryaddict
d672013583
Block.getById should now work for older versions of mc
2014-09-24 02:52:38 +12:00
libraryaddict
d766d8c1a5
Fixed setSleeping a ltitle
2014-09-22 05:14:44 +12:00
libraryaddict
286a1bde89
Fixed rotation packet. Don't care to check we actually need it
2014-09-22 05:02:07 +12:00
libraryaddict
19689a2ed6
Add ugly delayed packets fix and fixed player disguises
2014-09-22 04:57:46 +12:00
libraryaddict
d64648cfbf
Use a random uuid in gameprofiles.
2014-09-22 04:36:54 +12:00
libraryaddict
f77f5c48ec
Added note for future changes to minecarts and datawatchers. Tho I doubt it will ever fruit.
2014-09-17 04:01:48 +12:00
libraryaddict
ae221d8f25
Changed the basecommand to throw a DisguiseParseException instead of IllegalArguementException
2014-09-17 03:41:04 +12:00
libraryaddict
6ebb341788
Fixed compile issues
2014-09-16 12:57:27 +12:00
libraryaddict
4bd420570e
Move undisguising on world change to world change event
2014-09-16 12:55:38 +12:00
libraryaddict
4ab9b14993
Formatting
2014-09-15 14:54:14 +12:00
libraryaddict
3d0a5fc113
Fix setSleeping for player disguise in 1.8
2014-09-15 02:22:43 +12:00
libraryaddict
14267f5b61
On second thoughts.. Do this.
2014-09-15 02:22:43 +12:00
libraryaddict
572ebf1bc5
Add V1_7_10 to LibVersion for spigot's 1.8 hack
2014-09-15 02:22:42 +12:00
libraryaddict
17822426ab
Demand 'true' or 'false'. Don't allow "fsdfgsd" to be treated as false anymore.
2014-09-15 02:22:42 +12:00
libraryaddict
a34ede1104
Made it throw IllegalArugment exceptions instead of exceptions. Fixed previous commit
2014-09-15 02:22:41 +12:00
libraryaddict
304558cc6e
Try all methods before giving up. Fixes duplicate methods = Funny errors
2014-09-15 02:22:41 +12:00
libraryaddict
c21e1b00ff
Fix coloring for disguisehelp declaring class
2014-09-15 02:22:40 +12:00
libraryaddict
babe5554ab
Add BlockFace aka direction to disguise options
2014-09-15 02:22:39 +12:00
libraryaddict
9f72a3940e
Use the ignoreCancelled param instead of event.isCancelled
2014-09-15 02:22:39 +12:00
libraryaddict
c61cd4b6e0
Fix a method casting problem
2014-09-15 02:22:38 +12:00
Likaos
42778bb214
Return if packet is already cancelled
2014-09-13 20:45:17 +02:00
libraryaddict
13524e78f6
Don't silently swallow exceptions and pretend nothing happened..
2014-09-14 00:22:21 +12:00
libraryaddict
197c500832
Fix error being thrown when using non-flagwatcher option
2014-09-14 00:21:39 +12:00
libraryaddict
785c864d81
Apparently mojang uses the entity id -1 in some packets. May as well use -10
2014-09-14 00:12:06 +12:00
libraryaddict
9be63e1cc8
Sort files and make 4 new options in the disguise class viewable with commands
2014-09-13 21:23:06 +12:00
libraryaddict
ead0fd724c
If the method to use isn't part of a flagwatcher class. Make it gray as its a base
2014-09-13 21:18:18 +12:00
libraryaddict
5115af60a0
Move setcustomname and setcustomnamevisible to FlagWatcher
2014-09-07 03:32:45 +12:00
libraryaddict
7b140d0d36
This will probably cause problems..
2014-09-05 22:32:47 +12:00
libraryaddict
e09bd27bbd
Add PlayerWatcher getWatcher to PlayerDisguise. Shouldn't make problems..
2014-09-05 22:31:16 +12:00
libraryaddict
c7607abdc2
Opps..
2014-09-05 05:23:17 +12:00
libraryaddict
4853015bd8
Fix look packets being weird in 1.8
2014-09-05 05:22:26 +12:00
libraryaddict
e65613e750
Send destroy packet as well. Can't trust mojang to properly send their packets
2014-09-04 15:08:17 +12:00
libraryaddict
7712219328
Fix a looksee packet
2014-09-03 14:53:30 +12:00
libraryaddict
e5eb16faac
Add a new method for converting the datawatchers to 1.8 new indexes
2014-09-03 13:30:11 +12:00
libraryaddict
47366fec94
Don't use constructors for entity_look packet
2014-09-03 11:41:50 +12:00
libraryaddict
81d758ca7f
Fix disguises not showing up straight away
2014-09-03 11:38:28 +12:00
libraryaddict
476c756ad1
Use getIntegers instead of getModifiers
2014-09-02 21:50:08 +12:00
libraryaddict
56b5933837
Not sure if this will do anything bad. But it means we don't use their names if non-skinned player
2014-09-02 20:32:52 +12:00
libraryaddict
af9dfb8d6e
The name to fetch is either the skin or name. Not both. Move the runnables down to make it accessible and prevent the invalid names using it
2014-08-27 04:25:02 +12:00
libraryaddict
3173ceec77
The name to fetch is either the skin or the name. Not both
2014-08-27 04:24:08 +12:00
libraryaddict
837de50833
1.7.10 is NOT smaller than 1.7.2
2014-08-27 04:23:47 +12:00
libraryaddict
a83e0aee6f
Only lookup valid MC names from mojang. We can't save your soul if you do strange names
2014-08-26 14:39:24 +12:00
libraryaddict
a5d8c8ee39
Support 'false' for disguise option permissions
2014-08-20 22:30:33 +12:00
libraryaddict
a505d6f8ab
No its not a problem. Only libraryaddict gets to see that and he's a pervert anyways
2014-08-07 03:56:18 +12:00
libraryaddict
0de45fd6b3
Fixed MobDisguise returning playerdisguise
2014-07-30 20:16:15 +12:00
libraryaddict
94f5eccba1
Return a miscDisguise not playerdisguise when calling addplayer on miscdisguise
2014-07-30 19:53:44 +12:00
libraryaddict
d7834e467f
Since we can't do anything. Just ignore all async sound packets
2014-07-28 22:15:11 +12:00
libraryaddict
2c101cef8b
Revert "Revert "Revert "Use async packet listener for sounds packets. Prevents async concurrent modification exception. May be replaced later."""
...
This reverts commit a06a81182e
.
2014-07-28 22:13:15 +12:00
libraryaddict
20aca0512f
Revert "Fix the async sounds listener"
...
This reverts commit 6e3f5c1606
.
2014-07-28 22:13:11 +12:00
libraryaddict
6e3f5c1606
Fix the async sounds listener
2014-07-28 17:05:29 +12:00
libraryaddict
a06a81182e
Revert "Revert "Use async packet listener for sounds packets. Prevents async concurrent modification exception. May be replaced later.""
...
This reverts commit c6875da657
.
2014-07-28 17:03:41 +12:00
libraryaddict
c6875da657
Revert "Use async packet listener for sounds packets. Prevents async concurrent modification exception. May be replaced later."
...
This reverts commit 4c85f6c319
.
2014-07-28 10:38:10 +12:00
libraryaddict
491736b668
Swap the args for better looking
2014-07-26 11:22:49 +12:00
libraryaddict
a8f55e6edb
Change setSkin on playerDisguise slightly
2014-07-26 11:21:16 +12:00
libraryaddict
b9244866fd
Make sure there is no errors if someone calls setSkin on 1.6 or earlier
2014-07-26 11:17:45 +12:00
libraryaddict
0eba652926
Fixed trying to use properties before they were added
2014-07-26 11:10:48 +12:00
libraryaddict
f81e7bba6b
Cleaned up LibVersion and added V1_7_6
2014-07-26 11:08:26 +12:00
libraryaddict
4c85f6c319
Use async packet listener for sounds packets. Prevents async concurrent modification exception. May be replaced later.
2014-07-26 07:27:31 +12:00
libraryaddict
4038a090d8
Merge pull request #42 from mcat95/patch-1
...
setProfession with professionID
2014-07-24 08:02:12 +12:00
riking
6f15938dae
Use contains instead of equals........
2014-07-23 13:00:38 -07:00
mcat95
1198f52bbd
Update VillagerWatcher.java
...
Moved % 6 to new method :P
2014-07-23 21:52:51 +02:00
mcat95
ddb76d7488
setProfession with professionID
...
With this method, you can disguise as a "generic" villager, which is not in the Profession enum
2014-07-23 20:43:43 +02:00
libraryaddict
d33af82177
Add zombie_villager sounds
2014-07-16 12:37:31 +12:00
libraryaddict
1480dbe5a2
You can now do * disguises and single out disguises they can't use
2014-07-15 12:51:22 +12:00
libraryaddict
6f65448d6e
WitchWatcher has no noticable changes
2014-07-14 13:14:21 +12:00
libraryaddict
8e7028ce96
Sort methods
2014-07-14 13:11:30 +12:00
libraryaddict
67e4631a1a
Fix minecart spawning facing the wrong pitch
2014-07-14 13:10:41 +12:00
libraryaddict
abc0be8bae
Added setHideCape to PlayerWatcher
2014-07-14 13:04:14 +12:00
libraryaddict
288882a427
Update relevent methods
2014-07-14 12:42:45 +12:00
libraryaddict
b859ea28f9
Added setShaking to zombie watcher
2014-07-14 12:42:03 +12:00
libraryaddict
714eaaf0cf
Actually getValue isn't that great a idea
2014-07-14 12:41:55 +12:00
libraryaddict
90a92e8ce1
Minor fixes
2014-07-14 12:27:39 +12:00
libraryaddict
56f3c23949
Add setTargets to wither watcher
2014-07-14 12:25:48 +12:00
libraryaddict
7f27835c07
Add int[] to valid params in disguise commands
2014-07-14 12:25:37 +12:00
libraryaddict
dcd85b88ea
Minor fix to previous commit
2014-07-14 12:25:21 +12:00
libraryaddict
696f952c4e
Change getValue to use generics so I don't have to cast
2014-07-14 12:22:06 +12:00
libraryaddict
7d0175c563
Add witchwatcher (isAggressive and setAggressive)
2014-07-14 12:13:30 +12:00
libraryaddict
29bae6b67a
Fix it casting to integer when its a byte
2014-07-13 07:27:14 +12:00
MeltedLux
e95134d1b9
Damn spelling
2014-07-12 19:39:45 +01:00
libraryaddict
6696060105
Don't blow disguises if the event was cancelled
2014-07-12 08:52:17 +12:00
libraryaddict
98681cd93b
Fix Aggressive misspelling
2014-07-12 07:07:54 +12:00
libraryaddict
5703d5995d
Fix isAgressive in enderman watcher
2014-07-12 07:06:23 +12:00
libraryaddict
3d44760b1b
Changed TargetedDisguise to have its methods return disguises
...
This finishes the commits which allows you to now use a disguise builder
while breaking tons of plugins using Lib's Disguises.
In retrospect. I should make a DisguiseBuilder instead.
2014-07-11 17:16:19 +12:00
libraryaddict
54d785b680
Break all the plugins!
...
Changes all methods returning void in the Disguise objects to return the
Disguise itself.
The methods startDisguise and removeDisguise now return a boolean which
indicates the success of the method called.
Added stopDisguise as its rather obvious when compared to startDisguise
However that method merely calls removeDisguise
2014-07-11 17:07:47 +12:00
libraryaddict
bb442fb3a5
Fix a minor error with the previous commit
2014-07-11 16:37:53 +12:00
libraryaddict
0791461629
Change setSkin in playerDisguise to return the disguise
2014-07-11 16:37:34 +12:00
libraryaddict
d37acf8f84
Breaks existing API usage for setEntity to return a disguise object
2014-07-11 16:36:47 +12:00
libraryaddict
a34f8e1e7e
Remove the 'command' from the permission check
2014-07-11 11:25:55 +12:00
libraryaddict
07bcf29862
Opps. Check if its NOT in the list
2014-07-10 12:50:19 +12:00
libraryaddict
7072b29b28
Small fix I forgot how to understand
2014-07-08 10:34:00 +12:00
libraryaddict
f5a9e20b6f
Add in new perms where you can define valid playernames and misc ids and data. Also sanitize input
...
Now lets you use material names and durability as well
2014-07-08 10:06:23 +12:00
libraryaddict
6e7c76cdf5
Add info on what the id and data combo's do
2014-07-08 09:35:17 +12:00
libraryaddict
8a3dd58559
Don't do y offset if its a sleeping player (looks ugly)
2014-07-08 06:09:37 +12:00
libraryaddict
1df5f6723e
Only resend the player disguise if there is changes that will be noticed.
2014-07-03 21:30:09 +12:00
libraryaddict
8410904f94
Return a self constructed gameprofile if profile lookup failed.
2014-07-03 21:21:40 +12:00
libraryaddict
8f2c5d6e54
Don't add potioneffect when watcher already has a potion effect. Don't compare the length of custom name. But check if its null
2014-07-03 18:34:06 +12:00
libraryaddict
aed3bbddf4
Simple formatting
2014-06-30 15:12:24 +12:00
libraryaddict
6742afdaec
Plugin is no longer on BukkitDev
2014-06-29 17:07:59 +12:00
libraryaddict
a89a1f88d7
Add support for permissions without a underscore
2014-06-24 14:26:45 +12:00
riking
9abe0bfeed
Use correct link for ProtocolLib on Forge
2014-06-23 18:33:48 -07:00
libraryaddict
c61e45c062
Nice going mojang. Can't clamp your yaw to -360 to 360
2014-06-22 01:42:58 +12:00
libraryaddict
29e1bf67de
Sort fields by name
2014-06-21 09:48:20 +12:00
libraryaddict
c7127f56f5
Clean up the ItemFrameWatcher and add a small description to config.yml
2014-06-21 09:48:00 +12:00
libraryaddict
bcee5d9677
Fix item_frame disguise
2014-06-21 09:37:53 +12:00
libraryaddict
46773b7b39
Tracker something
2014-06-21 09:37:38 +12:00
libraryaddict
7453053131
Finish up the refresh tracker. Its retarded and I don't want to look at it.
2014-06-21 08:01:42 +12:00
libraryaddict
992e416edf
Send self disguise in the same tracker refresh entry..
2014-06-21 07:58:37 +12:00
libraryaddict
bd317b4cce
Don't silently fail when a disguisetype has a null entitytype
2014-06-21 07:29:34 +12:00
libraryaddict
dea2dc856a
Why was this a Integer..
2014-06-21 07:28:11 +12:00
libraryaddict
c093a4c734
Two simple checks for self disguises
2014-06-21 07:13:07 +12:00
libraryaddict
01023a29ed
Stupid hashsets and hashmaps and their unability to equalsignorecase on strings
2014-06-21 02:12:32 +12:00
libraryaddict
dc6348cf38
Get rid of the silly getData must return Integer
2014-06-19 10:01:08 +12:00
libraryaddict
410f71044f
Forgot this case
2014-06-19 09:29:37 +12:00
libraryaddict
2c905e38b2
Add the switch cases for MINECART_COMMAND
2014-06-19 09:26:54 +12:00
libraryaddict
e40cd3d60e
Add DisguiseType MINECART_COMMAND
2014-06-19 09:24:57 +12:00
libraryaddict
fb3b7d86ee
Deprecate minor capital spelling mistake in minecart watcher
2014-06-18 04:10:04 +12:00
Kane York
c897e05d33
Add dual-licensing notice to Forge mapping code
...
BSD-licensed version here: https://gist.github.com/riking/2f330f831c30e2276df7
As a note, @libraryaddict is not bound by the BSD license, but rather by the implicit license granted from me sending a pull request. Therefore, a LICENSE file is not needed in the distributed jar.
2014-06-15 21:10:30 -07:00
libraryaddict
afaf6c16e6
Only send the teleport packet if its a painting disguise
2014-06-16 04:56:00 +12:00
libraryaddict
eb78492fcf
Change MiscDisguise thing to Integer instead of int so I can use nulls, this lets me know if a int was set.
2014-06-16 04:29:18 +12:00
libraryaddict
8363b23deb
I don't think I need to cancel riding packets. Might be 1.6.4 specific. Anyone care to test?
2014-06-15 21:04:22 +12:00
libraryaddict
d93f689356
Item_Frame is NOT a valid disguise
2014-06-15 20:45:13 +12:00
libraryaddict
ac391d9f07
Just use the methods that I already made
2014-06-15 20:39:35 +12:00
libraryaddict
e9fd160be8
Fixed a missed typo where disguisenextentity comes up with weird disguise names
2014-06-15 20:38:13 +12:00
libraryaddict
20b3d02f76
Change self disguises to globally use the entity id -1 for performance and usage in other plugins
2014-06-15 20:12:07 +12:00
libraryaddict
13cf2f5e85
Removed method, make sure that playerNames are case insensitive when looking them up
2014-06-15 19:46:37 +12:00
libraryaddict
7f5a6d9dc4
Tiny cleanup in ReflectionManager
2014-06-15 19:40:10 +12:00
libraryaddict
bdbaa95fae
Change equipment option to screw up people who disabled it
2014-06-15 19:38:11 +12:00
libraryaddict
8401f9b091
Add and deprecate Equipment packets config setter option
2014-06-15 19:37:00 +12:00
libraryaddict
0496134dee
Formatting by project
2014-06-15 19:35:47 +12:00
libraryaddict
1edc05d9ff
Loop over entities with numbers instead of iterator (CraftBook needs to improve their coding)
2014-06-15 19:33:59 +12:00
libraryaddict
1e607d6bb6
Merge pull request #36 from riking/cauldron
...
Cauldron Compatibility
2014-06-15 19:31:48 +12:00
riking
d1253467a8
Remove debugging throws
2014-06-14 22:45:01 -07:00
riking
7c20a7c3a3
More ReflectionManager stuff
2014-06-14 22:38:16 -07:00
riking
3d64a132a9
More Forge compat changes
2014-06-14 20:19:56 -07:00
libraryaddict
69ea8ed2a0
Change listener to monitor and make sure that PlayerPortalEvent isn't cancelled before removing disguises
2014-06-15 15:00:18 +12:00
libraryaddict
b9087f6fc3
Remove two imports
2014-06-15 14:58:39 +12:00
libraryaddict
7c5a7b0225
Move Disguise and Undisguise events into the Disguise methods instead of the api calls
2014-06-15 14:57:06 +12:00
libraryaddict
264b2ef8a2
Tell the user how many options they ignored.
2014-06-15 14:52:45 +12:00
riking
0c84316121
Prepare to parse the method searge statements
2014-06-14 19:30:47 -07:00
libraryaddict
fd8fa08c6e
Merge pull request #34 from riking/patch-1
...
Restore single-star from 55f2eb6dca
2014-06-15 13:35:00 +12:00
riking
4ddded6b06
Enquipment -> Equipment
2014-06-14 18:09:14 -07:00
riking
2b86c98fbb
Seriously, wtf? Removed reflection on Bukkit API.
2014-06-14 18:06:15 -07:00
riking
48056c735f
More getNmsField/Method calls
2014-06-14 16:06:02 -07:00
riking
2566d8824e
Create getEntityTrackerEntry()
2014-06-14 15:52:11 -07:00
riking
d7a903c86e
Forge compatibility WIP
2014-06-14 14:58:49 -07:00
riking
d1e162bb97
Restore single-star from 55f2eb6dca
2014-06-14 10:22:28 -07:00
riking
4766d2a0d1
Some wording cleanup
2014-06-14 10:18:52 -07:00
riking
c1b5780d77
Use new-style runTask methods
2014-06-14 10:18:52 -07:00
libraryaddict
4c14e6b72a
Make it red.. Ladies love red
2014-06-14 21:16:11 +12:00
libraryaddict
21d4bba9f4
Max health is now correctly set on entity spawn
2014-06-14 21:11:37 +12:00
libraryaddict
e940a9e0e9
Allow boolean params to not require a argument to be true
2014-06-14 20:55:28 +12:00
libraryaddict
61d8ca7b42
Let people see only options they can use
2014-06-14 20:45:19 +12:00
libraryaddict
55f2eb6dca
Let ops use all options
2014-06-14 20:35:42 +12:00
libraryaddict
832a2a4d30
Bat shall no longer sink slowly
2014-06-14 20:34:18 +12:00
libraryaddict
3d26348b69
Why set it to the same values as default
2014-06-14 20:33:10 +12:00
libraryaddict
b4f1569b95
Don't send bat if bat aint flying
2014-06-14 20:32:47 +12:00
libraryaddict
c145ae5106
Add new disguise option to remove disguises on world change
2014-06-14 20:27:48 +12:00
libraryaddict
f777b33917
Read desc
...
Change all the permissions code to a 'better' version
By default people can no longer use options without the option perm or *
DisguiseType returns is now nicer looking
2014-06-14 20:16:48 +12:00
libraryaddict
4d1092f41d
Rearrange this
2014-06-12 18:21:20 +12:00
libraryaddict
cddfbafb3d
Don't include entity class in usable params, allow people to use a EntityType as well
2014-06-12 18:15:41 +12:00
libraryaddict
014c34ce0e
Add in Item height as well, prevents floating disguises when a item is disguised
2014-06-12 18:06:07 +12:00
libraryaddict
0056898e01
Also work for EntityType for DisguiseRadius
2014-06-12 18:05:34 +12:00
libraryaddict
85ff3769cf
Don't attempt to use EntityType's that are null
2014-06-10 12:42:53 +12:00
libraryaddict
53754ee684
Cleaner
2014-06-10 12:42:00 +12:00
libraryaddict
572d94219d
Fix Horse not being found in old versions
2014-06-10 12:31:36 +12:00
libraryaddict
4b06deec1b
Fix the id and data crap so its no longer broken
2014-06-06 14:16:16 +12:00
libraryaddict
7b5d998e25
Set minecart hoppers minecart type in disguisetype
2014-06-06 14:16:02 +12:00
libraryaddict
6bfa4b3d66
Set the miscDisguise id and data
2014-06-06 13:59:22 +12:00
libraryaddict
e3ca6c5b74
Change setGameProfile to setSkin and add logic for it
2014-06-06 00:08:54 +12:00
libraryaddict
708b184fa5
Attempt to use the UUID from the gameprofile
2014-06-05 23:52:04 +12:00
libraryaddict
06fdc16ca2
Make the miscdisguise code readable and not so unreliable for what you want/need
2014-06-05 12:08:28 +12:00
libraryaddict
dd5dc5d320
Don't group them, just colorize them and sort all methods by name together
2014-06-05 11:45:17 +12:00
libraryaddict
676d191c52
Merge pull request #30 from riking/stuff
...
Code cleanup
Fix horse rearing
DisguiseHelp improved
2014-06-05 10:47:56 +12:00
riking
3ebf54c192
Fix FQN in DisguiseType
2014-06-04 15:16:45 -07:00
riking
d645004abd
Revert "Eh, let's just remove the shift by 0. Also doc the method"
...
This reverts commit 23303952b4
.
2014-06-04 14:54:47 -07:00
riking
2ec2cbfb1c
Some help improvements - color yellow if method is specific
2014-06-04 14:54:47 -07:00
libraryaddict
d23e518c1b
Instead of using Object's for gameprofiles. Use WrappedGameProfile
2014-06-05 08:40:15 +12:00
riking
5a288c586e
Fix Horse's Rearing parameter
2014-06-04 12:10:51 -07:00
riking
0d8dce4538
Prefer storing the methods instead of getting them every time
2014-06-04 09:43:29 -07:00
riking
983026a898
Make a callValueOf() method to reduce code repetition
2014-06-04 09:27:52 -07:00
riking
1207d70d6e
Dedent parseDisguise() method for-loop
2014-06-04 09:18:05 -07:00
riking
bb0ac727bf
Remove more redundant actions
2014-06-04 09:17:47 -07:00
riking
23303952b4
Eh, let's just remove the shift by 0. Also doc the method
2014-06-04 08:33:30 -07:00
libraryaddict
7cde5b755e
Read desc
...
Added boolean to disguise which tells you simply if the disguise is in
use or not.
In use means that the plugin stores a reference, doesn't nessercerily
mean there is a entity.
Added method startDisguise() to disguise and cleaned up setEntity().
Helps counter the idiots who hate DisguiseAPI
2014-06-05 00:30:12 +12:00
libraryaddict
f894b34264
Disguise commands now tell you when they didn't disguise successfully
2014-06-05 00:26:35 +12:00
libraryaddict
956fef9ca1
Add a config option which fixes a bug where you can dye sheep/wolf client sidedly
2014-06-04 14:43:58 +12:00
libraryaddict
87c0cb4a78
Actually remove the unknown entity id. Not the known entity ids..
2014-06-04 14:20:02 +12:00
libraryaddict
239bc6d645
Check a second after the future disguise was added that it was successful.
2014-06-04 14:12:09 +12:00
libraryaddict
f535eefabf
Instead of throwing a error then another error. Just make a FlagWatcher after the first error
2014-06-04 14:00:08 +12:00
libraryaddict
34f0a13b39
Remove badly thought out and obselete feature that didn't work
2014-06-04 13:58:16 +12:00
riking
09a58efbd1
Fix the build
2014-06-03 18:47:00 -07:00
riking
db5e77d28f
Remove useless local
2014-06-03 18:42:27 -07:00
riking
46c63ed841
TODO entries
2014-06-03 18:42:27 -07:00
riking
6d6b766823
For-each loops, remove unused method parameters
2014-06-03 18:42:27 -07:00
riking
5dce8a22e8
Simplify redundant statements and casts
2014-06-03 18:42:27 -07:00
riking
009df4a0ad
Turn manual array copies into System.arrayCopy
2014-06-03 18:42:27 -07:00
riking
d32a077359
StringBuilder, rename local, javadocs
2014-06-03 18:42:27 -07:00
riking
c4b48df0ee
Apply unused config value, but keep behavior - looks broken
2014-06-03 18:42:26 -07:00
riking
a25bc46dea
Move tryClose() method in order
2014-06-03 18:41:26 -07:00
riking
180998e5ca
Refactor: tryClose() method
2014-06-03 18:41:26 -07:00
libraryaddict
4e441493c1
Combine inventory listener server and client into one listener. Seeing as they don't need to be seperate and actually cuts down on code
2014-06-04 12:47:52 +12:00
libraryaddict
297dcd351f
Check the current disguise is also the current flagwatcher
2014-06-04 12:42:49 +12:00
libraryaddict
72f8aad151
Put the strings in the same getter. It makes no difference and is cleaner
2014-06-04 12:42:49 +12:00
riking
b96337f29b
Refactor out initConfig method
2014-06-03 17:42:13 -07:00
libraryaddict
6b18fafca4
Changed getOwner in tameable to return null
2014-06-02 23:39:31 +12:00
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