Commit Graph

2156 Commits

Author SHA1 Message Date
fullwall
cf874bd301 Temp fix for new 1.14 builds 2019-04-26 23:39:15 +08:00
fullwall
53efb60b68 Add random looking feature to lookclose 2019-04-26 21:14:15 +08:00
fullwall
4c7bc91eaa Fix path distance margin setting 2019-04-26 20:34:21 +08:00
fullwall
cc7d3ae85f Refactor and bugfix customNameUpdate 2019-04-26 18:20:34 +08:00
fullwall
0922694604 Allow users to set the path distance margin as well 2019-04-26 18:10:23 +08:00
fullwall
e4717d4bc7 Fix gravity, half-fix look close bug 2019-04-26 17:53:53 +08:00
mcmonkey
3d893d81d0
bump maven plugins, use ECJ for 1.14 compile 2019-04-25 17:57:54 -07:00
fullwall
eac158eb83 Add shulker peek-look-close 2019-04-25 17:11:02 +08:00
fullwall
ca5cb195b7 Reset pitch after navigation end 2019-04-25 17:03:18 +08:00
fullwall
86f4118683 Set destVector for doors as well 2019-04-25 16:57:36 +08:00
fullwall
0f45b85ca3 Compare to destination vector not block vector for A* 2019-04-25 16:55:48 +08:00
fullwall
dbef2882cd Make fishhook tickable - still not rendering 2019-04-25 16:51:54 +08:00
fullwall
c75218e966 Bugfixes 2019-04-25 16:42:07 +08:00
fullwall
0ec8ea68e8 Upgrade to MethodHandles 2019-04-25 15:43:44 +08:00
fullwall
ae96a02e49 Fix backwards compat issue with 1.13.2 2019-04-25 14:41:45 +08:00
fullwall
e6a3329ddc Update pom 2019-04-25 13:27:32 +08:00
fullwall
2d05ca134e Preliminary 1.14 update 2019-04-24 21:01:22 +08:00
fullwall
d08f56e6b1 Implement events 2019-04-23 22:39:51 +08:00
Alex "mcmonkey" Goodwin
75a60aca06
add dev builds link to readme 2019-04-19 04:49:11 -07:00
mcmonkey
043b9e87e5
NPC name coloration quick-patch
this section of code could really stand a total rewrite. Fixes issues with longer-than-16-character coloration, doesn't fix trouble with longer-than-32 if there is any (based on Discord reports)
2019-04-13 07:08:07 -07:00
fullwall
aea3cd37a7 Merge branch 'master' of github.com:CitizensDev/Citizens2 2019-03-28 22:46:45 +08:00
fullwall
068b85a647 Add extra look call to /npc moveto 2019-03-28 22:46:26 +08:00
mcmonkey
fe69d6c0b8
(BREAKING) initial patch for 1.13 NMS repatch 2019-03-16 20:36:45 -07:00
mcmonkey
2d0370a55e
patch NPE in followTrait#toggle 2019-03-09 10:36:48 -08:00
Alex "mcmonkey" Goodwin
7c348bff13 Update quick-select and talk items to material names (#1710)
also add back-support for if the original IDs are used (there's no good generic legacy ID upverter, but recognizing the old default numbers should suffice for 99% of servers). Should be cross-compatible with all supported minecraft versions, but is *required* in particular for 1.13
2019-03-09 14:19:31 +08:00
mariaum
7d7bf356de Improve 1.8 performance by not just catching exceptions. (#1697) 2019-03-08 00:12:29 +08:00
fullwall
1c9991cf0b Merge branch 'master' of github.com:CitizensDev/Citizens2 2019-03-01 20:50:59 +08:00
fullwall
3feaf43f48 Add unmount flag to /npc mount 2019-03-01 20:50:44 +08:00
mcmonkey
883243a1f1
update maven shade plugin 2019-02-20 07:42:10 -08:00
mcmonkey
1462972f3c
update bStats repo 2019-02-19 02:16:26 -08:00
mcmonkey
f84b6fa08f
fix vault dependence, remove hc repo 2019-02-19 02:12:27 -08:00
Alex "mcmonkey" Goodwin
e281656ad7 Add permission nodes to the commands in plugin.yml, fixes #1700 (#1701) 2019-02-16 14:46:04 +08:00
fullwall
8ed08f0b2e Add skull null check 2019-02-10 12:17:15 +08:00
fullwall
3682faebec Implement new API and fix an error from Paper 2019-02-05 18:12:02 +08:00
fullwall
d7aab0acbd Incorrect comparison 2019-01-19 15:35:09 +08:00
fullwall
e61af2d351 Add fallback wander goal 2019-01-19 15:31:38 +08:00
fullwall
a0aaefcbea Fix compile error, add some wander waypoint API 2019-01-19 00:33:05 +08:00
Silthus
52b3902aca refactor(api): dynamically fetch the current default npc registry (#1672)
The api now allows setting the default NPC registry therefor commands
and listeners need to fetch the latest version of the NPCRegistry.

#1671
2019-01-19 00:18:43 +08:00
fullwall
5447561d3d Validate state 2019-01-18 01:56:47 +08:00
fullwall
71b8744060 Implement new API 2019-01-18 01:55:31 +08:00
Alex "mcmonkey" Goodwin
a21d16c581 (experimental) fix for #1569 turtle NPC navigation issues (#1644)
* (experimental) fix for #1569 turtle NPC navigation issues

* (for turtle issue) remove the stray field and set the internal field instead
2018-12-26 14:03:08 +08:00
mcmonkey
50619f3aad
update old version in main plugin pom 2018-12-22 22:22:07 -08:00
Alex "mcmonkey" Goodwin
9e0b4e0ab9 Improve handling of NPC names, fixes #1640 (#1642)
* Improve handling of NPC names, fixes #1640

Moves the logic to a Util method (instead of duplicated in each module), and adds the "prefixColors" portions (replacing just a static 'RESET' code).
If colors and effects are combined, using only the most recent effect is sufficient (eg reapplying bold) as that should produce effectively no change while still having a color code stuck into the name as is needed to break NPCs looking like real players internally.

* Additional NPC name improvement: fix color code splliting

a name consisting of a color code followed by 15 letters would get split in the middle of the color code, rather than around it. This fixes that.
2018-12-20 04:44:06 +08:00
mcmonkey
738a75e5c9
patch other altered field 2018-12-14 15:24:28 -08:00
mcmonkey
8e9eb3d373
Fix rare error with certain delay trigger setups, for #1630 2018-12-13 01:31:14 -08:00
mcmonkey
eea6e83e83
Patch for latest spigot, may have issues, for #1635
cross-compat is getting messy as Spigot is changing too many names within a single version label
2018-12-13 01:13:42 -08:00
mcmonkey
9ac3f0fa0c
patch other newly named NMS fields 2018-12-10 07:26:05 -08:00
Alex "mcmonkey" Goodwin
62d264bf31 Patch 1.8 pathfinding issue (#1629)
Some users have reported 1.8 server freezing here - looks like the original NMS method was miscopied, this patch should bring it properly in-line.
2018-12-08 07:00:47 +08:00
mcmonkey
2a65357aff
add a fallback handling for older builds of spigot 2018-12-07 06:01:17 -08:00
mcmonkey
28cc67cbad
patch for latest spigot 1.13.2 build 2018-12-07 00:44:25 -08:00