Commit Graph

1043 Commits

Author SHA1 Message Date
fullwall
22e1821f24 Cancel item despawns for item NPCs 2023-02-15 06:02:00 +08:00
fullwall
dc384e42f8 Add some debug to shops saving 2023-02-15 05:36:51 +08:00
fullwall
e9c989bc55 Add /npc panda -n -r for rolling and sneezing 2023-02-14 23:26:21 +08:00
fullwall
9bf3194710 Add per-line margin to hologram lines for items 2023-02-14 23:19:45 +08:00
fullwall
f64e28f2e8 Simplify boundingbox api 2023-02-14 00:30:03 +08:00
fullwall
871c7c0259 More code refactoring 2023-02-13 22:20:13 +08:00
fullwall
3ae6c29493 Fix npcselector getBlockData error 2023-02-13 20:34:00 +08:00
fullwall
8f43ca70e5 Fix bug in item parsing for holograms, allow arbitrary bounding boxes for BoundingBoxTrait, attempt to unify common code across NMS implementations 2023-02-13 20:32:20 +08:00
fullwall
b0a2c51883 Fix /npc mirror with uuid change 2023-02-11 22:52:53 +08:00
fullwall
142931a86d Simplify skinupdatetracker 2023-02-11 10:47:31 +08:00
fullwall
dddabd13b8 Actually not an off by one 2023-02-10 23:44:54 +08:00
fullwall
0f6842991b Fix off by one command nUsed 2023-02-10 23:42:57 +08:00
fullwall
41ca21a131 Check world first in skin trackers 2023-02-10 21:13:32 +08:00
fullwall
fe4434de91 Don't clear uuid version 2023-02-09 21:09:53 +08:00
fullwall
7244834e34 Make NPCs more likely to swim, add speed setting in water 2023-02-08 22:07:15 +08:00
fullwall
bbfbc767dc Reorder npc update() 2023-02-08 21:06:10 +08:00
fullwall
8ba9d2ceb6 Reorder update() method 2023-02-06 23:28:00 +08:00
fullwall
504a38317c Add --distance argument 2023-02-06 00:43:42 +08:00
fullwall
a61befbdcc Add basic /npc home command 2023-02-06 00:40:01 +08:00
fullwall
ba04e4b05f Fix phantom bugs 2023-02-05 15:25:29 +08:00
fullwall
2a64529bb1 Further tweaks to using item animations 2023-02-03 00:24:02 +08:00
fullwall
f759c81763 Check NPC spawned 2023-02-02 18:48:27 +08:00
fullwall
b21af8dd6e Trial delaying scoreboard removal on death 2023-02-01 23:15:28 +08:00
fullwall
3b00f7718b Refactoring, add debug for shop trait onRemove(), add at argument for PlayerAnimation waypoint trigger 2023-01-31 22:50:25 +08:00
fullwall
c258ad1b9a Send entity teleport packet instead of look only for packet sessions, remove from tablist 2023-01-29 22:15:32 +08:00
fullwall
e828782be6 Snowman performance change 2023-01-27 01:54:13 +08:00
fullwall
126d4f9519 Fix /npc text talk delay message 2023-01-19 21:42:22 +08:00
fullwall
52955febf1 Add null check for A* finder, clone itemstacks in drop trait 2023-01-19 18:11:42 +08:00
fullwall
72c136e97a Add /npc aggressive 2023-01-16 23:54:21 +08:00
fullwall
367cbd330f Replace NPC names in Placeholders rather than Chat trait 2023-01-16 23:39:59 +08:00
fullwall
8ad3a14b7c Check papi/plib enabled 2023-01-07 23:08:37 +08:00
fullwall
eed9170519 Add op/server toggles to shop 2023-01-06 23:34:47 +08:00
fullwall
12f507f89c Try not hooking into viaversion for protocol version 2023-01-06 07:45:13 +08:00
fullwall
aee977ebb3 Fix some 1.8.8 shop compat 2023-01-06 00:41:47 +08:00
fullwall
ffac34f734 Fix player ticking 2023-01-05 22:51:42 +08:00
fullwall
98c5c48c23 Implement new API 2023-01-05 20:05:15 +08:00
fullwall
d9e7ec4ca3 More 1.8.8 compatibility 2023-01-04 23:17:45 +08:00
fullwall
ffef42efb7 Packet NPCs now properly spawn, fix NPE in new pathfinder, fix 1.8.8 compatibility with /npc shop 2023-01-04 23:02:33 +08:00
fullwall
e21681fa26 Add /npc hitbox, WIP packet NPCs 2023-01-03 20:55:27 +08:00
fullwall
6165f4cb12 Null checks in scoreboard trait 2023-01-02 13:20:29 +08:00
fullwall
aa59e15002 Fix legacy skull texture loading 2023-01-02 12:54:19 +08:00
fullwall
fda3c9d5c9 Make default text cooldown range higher 2023-01-02 11:57:27 +08:00
fullwall
433121979c Add a random text delay default setting of 20-40ticks 2023-01-02 08:37:27 +08:00
fullwall
402095c946 Don't reload locationlookup 2023-01-02 00:49:39 +08:00
fullwall
b38a66dbfb Add /npc lookclose --headonly 2023-01-02 00:24:11 +08:00
fullwall
83040ed525 Add basic cost/result placeholders. 2023-01-01 23:28:21 +08:00
fullwall
fa5cdb9211 Cancel location lookup taskg 2023-01-01 21:33:25 +08:00
fullwall
36feecdc2b Fix sneak animation 2023-01-01 20:44:17 +08:00
fullwall
c706b17848 Refresh locationLookup on /citizens reload 2023-01-01 20:01:44 +08:00
fullwall
9103823ebb Fix per-player lookclose 2023-01-01 18:43:41 +08:00
fullwall
b4280103c1 Simplify PlayerUpdateTask 2023-01-01 18:15:10 +08:00
fullwall
b8e79b20cf Implement API, check for invalid Player references, remove Text min/max-cooldown settings and fix Text delay/right click cancellations, make SitTrait work with npc#teleport 2023-01-01 15:26:35 +08:00
fullwall
a669a8a256 Workaround protocollib not supported listed boolean, fix dolphins moving while on ground, add /npc bossbar --range, add /npc create --nameplate --temporaryticks 2022-12-29 23:26:02 +08:00
fullwall
cdb75dbc96 Add warning for npc select within commands 2022-12-27 19:57:48 +08:00
fullwall
027e4d27a9 Simplify command block logic 2022-12-27 19:24:42 +08:00
fullwall
ef49f0762e Set all connected command block sender selected 2022-12-27 19:20:18 +08:00
fullwall
b8a608ec5c Add /npc lookclose --targetnpcs 2022-12-27 14:22:27 +08:00
fullwall
4590193673 Upgrade skull saving 2022-12-27 13:07:12 +08:00
fullwall
550c72a234 getHand() removal 2022-12-26 20:07:16 +08:00
fullwall
36671daeae Check parsed name length 2022-12-26 00:20:21 +08:00
fullwall
27603afdf4 Add /npc mirror for skins 2022-12-25 01:37:54 +08:00
fullwall
886d83eeb4 Use new API 2022-12-24 21:43:08 +08:00
fullwall
8c10fe8b18 Use per player metadata API 2022-12-24 19:53:59 +08:00
fullwall
0e2dd23096 Use names consistently 2022-12-24 13:36:24 +08:00
fullwall
4c958b5e7c Fix custom name components in 1.8.8-1.12.2, 2022-12-22 23:17:28 +08:00
fullwall
45d7a072a1 Catch IllegalArgumentException from ProtocolLib 2022-12-21 18:43:54 +08:00
fullwall
1a102e7d1c Clear previousGlowingCOlor on despawn 2022-12-21 06:47:04 +08:00
fullwall
aa61f6b88c Catch exception from protocollib 2022-12-20 21:27:01 +08:00
fullwall
e7e2efd518 Allow /npc shop to be performed without an NPC selected 2022-12-19 01:44:16 +08:00
fullwall
f5dcdb8a1d Move settings around 2022-12-19 00:48:50 +08:00
fullwall
8d202aa988 Implement metadata 2022-12-19 00:36:53 +08:00
fullwall
e90096eebe Add /npc spellcast 2022-12-18 23:21:08 +08:00
fullwall
3ee17c6dae Fix /npc camel and /npc llama 2022-12-18 22:18:12 +08:00
fullwall
44e988b7d7 Remove debugging code 2022-12-18 15:43:40 +08:00
fullwall
f9def3fe6a Don't send per-player rotation packets as often 2022-12-18 15:39:48 +08:00
fullwall
6ced30fa20 Remove some unused messages 2022-12-18 13:55:31 +08:00
fullwall
5a82133200 Switch to use new method 2022-12-18 13:50:19 +08:00
fullwall
c6e7ce65f5 Add /npc camel, minor code cleanup 2022-12-18 13:25:08 +08:00
fullwall
249074c7bc Fix /npc text pages, add via version backcompat 2022-12-17 11:22:14 +08:00
fullwall
8f29e6ff73 Plugins seem to mess with netty versioning so just always create metadata 2022-12-14 23:31:25 +08:00
fullwall
505b61df17 Send page /npc t ext 2022-12-12 23:51:19 +08:00
fullwall
b78312b8f0 Fix two typos 2022-12-12 07:28:12 +08:00
fullwall
ab0c706da5 Add perplayer lookclose, rework templates, add message to send on click to shop trait, remove profiler call in player navigation which broke compatibility with certain plugins 2022-12-11 21:28:39 +08:00
fullwall
5254f65945 Add camel to horse types 2022-12-10 15:56:55 +08:00
fullwall
dffccdd2d4 Only send entity metadata if dirty 2022-12-10 14:59:27 +08:00
fullwall
2034ca6bf0 Add CommandAction 2022-12-10 13:42:07 +08:00
fullwall
57d27f39ee 1.8.8 compat 2022-12-10 13:23:53 +08:00
fullwall
139158cb48 Initial update to 1.19.3 2022-12-08 23:21:09 +08:00
fullwall
2681e05307 Clone items in ItemAction 2022-12-06 23:56:22 +08:00
fullwall
d34fd48533 Make lookAtFunction use packets for yaw, tweak API further 2022-12-06 23:50:11 +08:00
fullwall
6533cdccf8 Remove shop on trait remove 2022-12-06 22:54:27 +08:00
fullwall
97c2417c49 Create ShopsTrait properly 2022-12-05 22:32:51 +08:00
fullwall
a74e40eb1d Default to using channel metadata 2022-12-04 03:24:57 +08:00
fullwall
06230800b9 Move minecraft placeholder cache to AbstractNPC 2022-12-04 01:38:36 +08:00
fullwall
9da5ac7a37 Minimise netty version 2022-12-04 01:00:50 +08:00
fullwall
fef03ea6da Use new lookup api 2022-12-04 00:59:16 +08:00
fullwall
6fec436f55 Remove some global state from shops 2022-12-03 21:32:58 +08:00
fullwall
c935caa140 Remove some dead code 2022-12-03 21:02:59 +08:00
fullwall
ac387b2de4 Add item args to /npc create and /npc item, remove Nameable reference 2022-12-03 20:50:06 +08:00
fullwall
ede598cc9b Fix some issues with ShopTrait item costs/results and add NBT filter API. Adjust /npc item to be more flexible. 2022-12-03 18:21:46 +08:00