Commit Graph

2994 Commits

Author SHA1 Message Date
fullwall
75b3ec1ceb Catch NSME on network listener set 2022-12-20 21:35:51 +08:00
fullwall
aa61f6b88c Catch exception from protocollib 2022-12-20 21:27:01 +08:00
fullwall
d94cd006ec Send arm swing after tablist 2022-12-19 22:08:58 +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
2e3ba077cf Fix viabackwards on 1.19.3 2022-12-18 23:07:04 +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
33b6e6eb37 Don't forward registration calls in entity registry 2022-12-18 11:53:26 +08:00
fullwall
249074c7bc Fix /npc text pages, add via version backcompat 2022-12-17 11:22:14 +08:00
fullwall
f90b1f747b Implement more methods for custom entity registry 2022-12-16 21:02:49 +08:00
fullwall
d44cebdcfd Make custom entity registry forcibly unfrozen as suggested in #2947 2022-12-16 20:44:26 +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
ab458f4de9 May as well set name to empty component 2022-12-14 23:29:12 +08:00
fullwall
bc16fb9cc3 Create full tablist packets 2022-12-14 22:46:26 +08:00
fullwall
1c4420398c Need to send two packets 2022-12-13 22:20:38 +08:00
fullwall
d49781d090 Add UPDATE_LISTED action 2022-12-13 22:15:08 +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
b4b54dabdc Add camel support 2022-12-10 15:54:57 +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
46b18eee49 Run cleanup 2022-12-10 13:31:11 +08:00
fullwall
b243d9698c Use npc.isProtected() 2022-12-10 13:29:05 +08:00
fullwall
57d27f39ee 1.8.8 compat 2022-12-10 13:23:53 +08:00
fullwall
4212921a98 Implement a few more entity registry methods 2022-12-09 19:40:59 +08:00
fullwall
27d7b2dee3 Forward more registry methods 2022-12-09 19:23:41 +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
fullwall
c68a7ad82f Null check shop name and make default shop name 2022-12-03 00:20:04 +08:00
fullwall
b00ef080c0 Adjust ChannelMetadata Netty version 2022-12-01 22:39:26 +08:00