Commit Graph

46 Commits

Author SHA1 Message Date
libraryaddict
93936c3628 Cleanup more reflection 2020-08-13 12:10:48 +12:00
libraryaddict
15b4a6e935 Clean a fair bit of reflection calls, still some left over.. Performance boost. Also fixed /disguise not spacing the disguises you can use 2020-08-13 11:51:32 +12:00
libraryaddict
f67500b7be Fix another typo 2020-08-12 18:04:21 +12:00
libraryaddict
d751a15c6a Fix bad reflection 2020-08-12 17:01:39 +12:00
libraryaddict
deb3fd243b Expand further on BlockData 2020-08-12 15:49:03 +12:00
libraryaddict
4f0290218b Add blockdata as a valid falling block thing, requires setblockdata 2020-08-12 09:36:13 +12:00
libraryaddict
788bc7bc3b Set default locale to English because of dumb bugs 2020-08-06 00:43:21 +12:00
libraryaddict
6565fc5f4f Fix invalid calls to 1.12 methods 2020-07-04 18:01:30 +12:00
libraryaddict
1f847e5ad6 Update to 1.16 2020-06-25 15:33:28 +12:00
libraryaddict
0777947173 Fix #482, unable to disguise as variants with no item equiv 2020-06-24 17:20:18 +12:00
libraryaddict
567f278131 Fix sounds broken on non-1.15 versions 2020-05-24 01:44:19 +12:00
libraryaddict
37e7a0bac7 Add ability to change the sounds for a disguise to whatever you like 2020-05-23 22:48:50 +12:00
libraryaddict
e6b7651571 Armorstand names now adapt to basic entity sizes, and player sneaking. Doesn't handle poses. 2020-05-09 21:57:07 +12:00
libraryaddict
fa778e2709 Increment and get entity id, not the reverse 2020-05-07 22:05:03 +12:00
libraryaddict
759444090b Fixed paper breaking in one of their latest updates 2020-04-28 00:59:49 +12:00
libraryaddict
183ac73579 Remove commands and hopefully permissions from registered information if not used, mainly applies to api version and disabled commands. 2020-04-28 00:09:05 +12:00
libraryaddict
af492c2e3b Add new config option to auto-hide tall disguises, also as a disguise option 2020-04-27 17:31:00 +12:00
libraryaddict
b247a49a23 Better handling for updates checking, can now autoupdate on dev and release builds 2020-04-27 05:09:13 +12:00
libraryaddict
b70fe1c522 Cleaned imports 2020-04-23 22:13:54 +12:00
libraryaddict
822ad1b7fd EntityPose.CROUCHING -> EntityPose.SNEAKING, fixes error in 1.14 and maintainability 2020-04-21 20:31:52 +12:00
libraryaddict
884f9471ca Falling Block and Dropped Item now show their proper name for disguise name 2020-04-21 14:54:10 +12:00
libraryaddict
f10870b727 Rename from CustomDisguise to ModdedDisguise 2020-04-19 08:19:03 +12:00
libraryaddict
28a99d91ff Change how I grab plugin.yml from jars to fix an error with weird classloading 2020-04-17 14:08:21 +12:00
libraryaddict
00507a1194 Use slightly different YAML loading, try fix an issue on a Chinese user's server 2020-04-17 04:41:42 +12:00
libraryaddict
8b39450490 Fixed bossbars disabling self, added support for modded custom entities, disguises now refer to themselves with the right disguise name when possible, cleaned up some code, fixed bossbar error when a server uses a bad bossbar name in their own system 2020-04-16 00:55:35 +12:00
libraryaddict
efbd6e29e3 Renamed messages from "option" to "method" to make things clearer
Added better support for tab completion and ignoring the first arg of falling blocks and item disguises, so /disguise fallingblock setburning - Is now possible
Fixed itemstack parsing returning illegal/unwanted air block
2020-04-04 19:58:21 +13:00
libraryaddict
901c6ef06f Improve extended names, normal player disguises now use teams instead of actual player names to better support names changing at will
Added setName to PlayerDisguise disguise options in command
2020-03-30 20:22:33 +13:00
libraryaddict
1d0a791011 CraftItemMirror -> CraftItemCopy 2020-03-24 12:04:03 +13:00
libraryaddict
7a0f107687 Fix ItemStack serializer being unable to serialize some items
Fix PlayerDisguise using code I forgot to use, instead of real code
2020-03-24 11:54:26 +13:00
libraryaddict
2a6928a498 Clean up code a bit 2020-03-09 09:00:58 +13:00
libraryaddict
7fcd90a338 Move asm to onLoad just incase other plugins are weird loading 2020-02-20 12:11:22 +13:00
libraryaddict
897a6629ae Read for information...
Now using ASM manipulation to remove invalid methods on load
Fixed imports
Fixed Chat Components being used in 1.12
Fixed tab complete showing args for disguise options you can't use
Disguise option permissions now demand a parameter to be the method name
Falling block disguises are now only usable with blocks
LibsDisguises command now tab completes the new options
Libs Disguises command lets you create a vanilla compatible item string
If a vehicle is disguised as a vehicle, don't give no gravity
Fixed horse disguise using almost random values for its flagwatcher settings
Renamed horse disguise setMouthOpen to setEating
Slightly better string for premium info jar location
Skip attributes packets if using older ProtocolLib jar
Don't cancel entity death if entity is dead
Improved disguise permissions checking
Fixed time parameter not being attributed properly
2020-02-19 12:57:39 +13:00
libraryaddict
a581decbe0 Add 1.12 support 2020-02-14 10:06:49 +13:00
libraryaddict
1fcefbcdcc Added 1.13.2 support, made backwards premium 2020-02-13 19:47:02 +13:00
libraryaddict
9656ed4249 Add backwards compatibility for 1.14 2020-02-06 12:15:20 +13:00
libraryaddict
9a555dafb8 Added extended names + config option, fixed nms version incorrect reporting, small code cleanup, fixed player disguises with spaces not being quoted, fixed disguises saving as unknown charset format. Adds #422 2020-01-20 13:35:55 +13:00
libraryaddict
ce292302fe Code cleanup 2020-01-19 15:48:26 +13:00
libraryaddict
7aa3a8a2ef Fixed typos, added DisguiseParser.parsetoString(Disguise) 2019-12-31 19:35:21 +13:00
libraryaddict
dad91c1075 Init reflection after version check 2019-12-24 17:40:56 +13:00
libraryaddict
f130d55170 Correctly serialize and deserialize ItemMeta (Previously not working) #414 2019-12-21 14:45:10 +13:00
libraryaddict
928943eb0f Cast to a generic map not a specific implemention, fixes a specific server version 2019-11-02 13:20:49 +13:00
libraryaddict
a0b47d3741 Fixed minecart command kicking players, fixes #395 2019-09-16 14:35:39 +12:00
libraryaddict
ceb10171c9 Fixes zombie villager disguise, fixed #391 2019-09-16 14:30:16 +12:00
libraryaddict
658c3f0602 Fix invalid serializer for empty optionals, add serializer to MetaIndex and require for all datawatcher objects constructions 2019-07-09 20:52:00 +12:00
libraryaddict
a834190209 Update to 1.14.1, first dev build. Other changes included. 2019-05-18 18:54:51 +12:00
libraryaddict
cada0f4f91 Move classes into packages, clean up packet handling into classes, yaw/pitch should be consistent 2019-01-03 15:13:03 +13:00