Commit Graph

334 Commits

Author SHA1 Message Date
fullwall
188c65f203 Add --permissions to /npc command 2020-03-02 23:40:13 +08:00
fullwall
496a4cbb3b Use Minecraft's no gravity logic and enable it for all default flying NPCs 2020-03-02 14:51:54 +08:00
fullwall
87c2a884c5 Merge branch 'master' of github.com:CitizensDev/Citizens2 2020-03-01 15:30:00 +08:00
fullwall
95ab688877 Fix shulker color setting 2020-03-01 15:29:47 +08:00
fullwall
ad69b483db Add /npc snowman 2020-02-25 14:12:06 +08:00
fullwall
a8676cd739 Add a new look close setting to control enabling while pathfinding 2020-02-25 13:43:19 +08:00
fullwall
225ede02ce Don't use teleport for flying navigation 2020-02-23 11:08:51 +08:00
fullwall
efc41dc492 Add cooldown option to /npc command 2020-02-22 12:57:03 +08:00
fullwall
0e043843e4 Adjust NPC_NAME_TOO_LONG message 2020-02-21 23:52:53 +08:00
fullwall
de94185133 Fix turtle navigation between biomes 2020-02-21 23:50:35 +08:00
fullwall
e52f616a4b Added sitting flag to /npc panda 2020-02-21 20:28:57 +08:00
fullwall
fca5dc21e0 Make bee always flyable 2020-02-21 17:40:27 +08:00
fullwall
b9a08d609a Reformat project 2020-02-14 22:48:40 +08:00
fullwall
ade25b246a Use Minecraft horse controls 2020-02-14 22:42:03 +08:00
fullwall
3bf5881c4b Fix /npc equip for horses on 1.15, add max controllable speed setting 2020-02-14 19:00:06 +08:00
fullwall
72180ff8ee Update pom 2020-01-22 21:44:12 +09:00
apachezy
577b1fcedd Added Simplified Chinese language translation file. (#2028)
* Removed duplicate permissions key in plugin.yml

* Added Simplified Chinese language translation file.
2020-01-19 20:13:16 +09:00
fullwall
c42d5f7aa0 Catch /npc command exceptions 2020-01-17 18:15:21 +09:00
fullwall
36ff6730fd Allow both hands in /npc command 2020-01-17 18:11:23 +09:00
fullwall
89874092ed Use PlaceholderAPI for /npc command 2020-01-16 20:40:32 +09:00
fullwall
529855bd6d Deregister event handlers in deregisterAll(), empty talk item is now equivalent to * talk item 2020-01-16 17:17:58 +09:00
fullwall
cd21b9fb8a Increase max controllable speed 2020-01-12 21:08:29 +09:00
fullwall
41f4c6e1b4 Properly remove wander waypoint marker 2020-01-12 00:33:43 +09:00
fullwall
a0e3b23bc3 Try to migrate ocelot modifiers trait for new MC versions 2020-01-11 13:41:46 +09:00
fullwall
52e288e43f Add -o option to /npc command 2019-12-29 22:14:38 +09:00
fullwall
ab4060964c Add isPowered method 2019-12-24 00:39:27 +09:00
fullwall
1a0282d970 Fix /npc metadata remove and forward getOptional call to avoid default entity type issue 2019-12-23 11:03:08 +09:00
fullwall
5972e3dffc Make LinearWaypointProvider more null safe 2019-12-21 20:25:38 +09:00
fullwall
3186f6de5e Change waypoints to onAttach 2019-12-21 19:09:50 +09:00
fullwall
ba61a48815 Bump pom versions 2019-12-21 18:56:28 +09:00
fullwall
8c165b9d55 Warn on missing delay in text prompt 2019-12-19 16:46:26 +09:00
fullwall
64aa09bc94 Incorrect javadoc version 2019-12-12 00:20:31 +08:00
fullwall
688f78ea6f Merge moduled trait code and discontinue building of 1.10 2019-12-12 00:13:54 +08:00
fullwall
ff9c920df3 Initial 1.15 support 2019-12-11 11:25:10 +08:00
fullwall
0a748c7825 Load /npc spawn --at chunk 2019-12-03 19:01:29 +08:00
fullwall
7715232bb3 Add missing p flag to the annotation 2019-12-02 11:28:34 +08:00
fullwall
0d558c8ee1 Add -p flag to /npc command to run as the clicking player 2019-12-02 11:27:15 +08:00
fullwall
798c82536c Fix bug in tpto 2019-11-28 16:14:29 +08:00
fullwall
d0dcb235b3 Various fixes and features 2019-11-28 16:10:35 +08:00
fullwall
94733ddb81
Update NPCCommands.java 2019-11-18 23:55:11 +08:00
fullwall
727d1508e9 Implement new command method 2019-11-12 15:17:54 +08:00
fullwall
174ec609ca Convert to iterator loop 2019-10-20 09:52:07 +08:00
fullwall
771281ef89 Allow tpto to work with 2 arguments 2019-10-19 13:42:37 +08:00
fullwall
63a88acf81 Fix distance calculations for new pathfinder 2019-10-17 18:04:20 +08:00
fullwall
72002e96fa Don't fall through 2019-10-17 17:38:57 +08:00
fullwall
d7e1110d46 Normalise distance margin calculations across implementations and loosen up the y distance restriction 2019-10-16 18:04:55 +08:00
fullwall
d64876dd65 Temp test fix for spawning 2019-10-03 21:33:06 +08:00
fullwall
d72b6ef9e8 Change isSpawned API to use old valid logic. May fix spawning issues. 2019-10-03 13:14:20 +08:00
fullwall
95e9aa1389 Fix new command trait persistence 2019-10-01 14:16:00 +08:00
fullwall
dabe4bb43e Add error colour setting, don't over-paginate for console commands 2019-09-24 22:05:10 +08:00
fullwall
03f3d1a713 Further fix... 2019-09-23 21:30:12 +08:00
fullwall
023ab5e8a6 Wrong load order 2019-09-23 21:12:21 +08:00
fullwall
c072a0887a Add a super simple command - /npc command. More features as required 2019-09-23 20:29:31 +08:00
fullwall
64e47912c7 Further fixes for guided waypoints 2019-09-22 20:14:33 +08:00
fullwall
b14663c588 Fix guided waypoint provider (?) 2019-09-22 19:23:11 +08:00
fullwall
ccdb7b8d92 Add explanatory message for /npc glowing --color 2019-09-17 19:48:21 +08:00
fullwall
b3589e40f9 Further fix to /npc sound 2019-09-17 19:44:43 +08:00
fullwall
3cef996a24 Fix /npc sound -n bug 2019-09-17 19:30:09 +08:00
SkytAsul
b740cf6c5b Fix exception in chat waypoint trigger (#1928) 2019-08-29 17:22:53 +08:00
fullwall
6f4ec9c4cc Implement new method 2019-08-20 14:35:41 +08:00
fullwall
950ab24800 Add onSpawn to another area of Waypoints 2019-08-12 20:49:36 +08:00
fullwall
5a6820957e Scoreboard tag method doesn't exist in 1.8.8 2019-08-08 22:43:12 +08:00
fullwall
d6ee1e0025 Initialise linearwaypointprovider with NPC 2019-08-07 23:38:37 +08:00
fullwall
51984323dc Fix rename issue 2019-07-23 22:04:36 +08:00
Alex 'mcmonkey' Goodwin
783fe7ad2e
fix defaulting of "/npc sound" ambient 2019-07-23 04:38:20 -07:00
fullwall
f4ef934932 Fix scoreboards, villager level 2019-07-19 01:14:52 +08:00
fullwall
68e9ca68b5 Use NMS#look instead of teleporting to set pitch 2019-07-14 00:24:14 +08:00
fullwall
c7b59c84a7 Fix NPE 2019-07-12 19:18:13 +08:00
fullwall
673ee02542 Migrate glowing stuff to new scoreboard trait, add /npc scoreboard 2019-07-12 15:39:38 +08:00
fullwall
f767c2bbd1 Fix /npc glowing --color 2019-07-12 14:48:10 +08:00
fullwall
0e328ee167 Add /waypoints opendoors 2019-07-12 14:35:30 +08:00
fullwall
82e4f2dcea Delay processing of chunkloadevent 2019-07-07 14:44:08 +08:00
fullwall
74836f6cc3 Add /npc villager for 1.14 2019-07-01 16:14:16 +08:00
fullwall
f9a36bae24 Bump Spigot version 2019-06-26 11:51:58 +08:00
fullwall
8da0b6d228 Preliminary prerelease update 2019-06-24 14:24:11 +08:00
fullwall
d0b358a27c Change /npc mount permission, force chunk load on spawning due to chunk load 2019-06-12 21:06:06 +08:00
fullwall
7b2f08b372 Update /citizens output 2019-05-31 00:23:28 +08:00
fullwall
e7cba79e1a Add a proper 1.14 solution for KEEP_CHUNKS_LOADED 2019-05-29 16:45:18 +08:00
fullwall
489438b2f1 Bump pom, fix trader llamas 2019-05-28 18:03:45 +08:00
fullwall
220fc1623d Use PhTree 2019-05-27 23:19:42 +08:00
fullwall
0e747889e7 Add wander delays 2019-05-26 15:40:54 +08:00
fullwall
04daf1c053 Allow /npc horse -c | -b to be used on chestedhorse entities 2019-05-24 18:32:51 +08:00
fullwall
d9afd7ebdf Don't use door code 2019-05-23 17:32:38 +08:00
fullwall
9fa1646ad6 getField should return null on exception 2019-05-21 19:26:33 +08:00
fullwall
156fbca6ce Add some more explaining text to /npc equip 2019-05-17 17:53:46 +08:00
fullwall
8c30a785a4 Add some javadoc 2019-05-16 19:58:29 +08:00
fullwall
65cbb8850f Support java 12 2019-05-16 17:50:59 +08:00
fullwall
c901bb0ebe Update for 1.14.1 2019-05-14 16:44:32 +08:00
fullwall
4d00e903f3 Too much excluding 2019-05-13 17:04:02 +08:00
fullwall
05e35166c3 Exclude some packages from javadoc 2019-05-13 16:57:25 +08:00
fullwall
68e5fb2570 Fix javadoc pom and reformat other poms 2019-05-13 16:44:50 +08:00
fullwall
47ee8da773 Another javadoc change 2019-05-13 15:34:47 +08:00
fullwall
79d295a7d6 Include Vault properly 2019-05-12 20:52:13 +08:00
fullwall
f28ccb550b Include C-API javadoc 2019-05-12 20:48:17 +08:00
fullwall
b61e909421 Add javadoc goal to C2-main 2019-05-12 20:16:42 +08:00
fullwall
b640788033 Allow chat messages for any equipment slot 2019-05-08 21:04:08 +08:00
fullwall
483c25f11a Add new commands for new 1.14 API 2019-05-07 20:02:14 +08:00
fullwall
b02bcbe38b Temp fix for chunk unloading problem 2019-04-29 15:58:07 +08:00
fullwall
ca8d9c41ea Work around chunk unload change 2019-04-28 20:45:38 +08:00
fullwall
4a73b0faf6 Fix typos for path-distance-margin 2019-04-27 18:31:16 +08:00