Commit Graph

2898 Commits

Author SHA1 Message Date
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
fullwall
8a65d4a5a0 Add way to set custom name directly 2022-11-30 06:13:55 +08:00
fullwall
d8a4c73f58 Make /npc shop open on right click with named shops too 2022-11-30 05:35:31 +08:00
fullwall
b8050199f1 Add per-player rotation API 2022-11-28 23:10:50 +08:00
fullwall
f93266135b Cast to player in MoneyAction 2022-11-27 00:32:05 +08:00
fullwall
b28d689cbd Add onRemove for cleanup code 2022-11-23 19:13:17 +08:00
fullwall
5408e7059c Fix colors in /npc horse 2022-11-23 19:03:24 +08:00
fullwall
0e97f2f23f Import deps for javadoc purposes 2022-11-17 18:52:32 +08:00
fullwall
bfbc2415a5 Enforce collidability even if not explicitly set 2022-11-16 21:58:05 +08:00
fullwall
9d0028541e Set sleep status every tick for now (only necessary on 1.14 and below) 2022-11-15 21:30:23 +08:00
fullwall
d9c55b97b0 Implement cancellable variant 2022-11-14 23:53:14 +08:00
fullwall
868c7a463d Check for outdated versions of minecraft in SleepTrait 2022-11-14 18:02:52 +08:00
fullwall
12faab3b53 Fix NPE in /npc lookclose 2022-11-14 00:14:28 +08:00
fullwall
ed9230c680 Implement knockback event 2022-11-13 23:33:18 +08:00
fullwall
da19c909fe Implement isPushableByFluid metadata up to 1.13.2 2022-11-13 20:54:06 +08:00
fullwall
adc4e0cbb0 Have to use basic logger until libraries loaded 2022-11-13 19:32:02 +08:00
fullwall
a3780e4c4f Adjust lookclose 2022-11-13 16:02:17 +08:00
fullwall
7d2a222143 Trial using runtime maven dependencies to reduce jar size 2022-11-13 12:50:45 +08:00
fullwall
06b1568e07 Clear sleeping status on despawn, add some messages in /npc hurt for non-damageable entities 2022-11-12 21:51:15 +08:00
fullwall
85dd78e582 Fix NMS#sleep 2022-11-12 19:50:05 +08:00
fullwall
c02391ccc3 Subtle behaviour change to make players remove themselves from tablist on death 2022-11-12 16:17:06 +08:00
fullwall
102630a5e0 Pass wander pause through to wander goal, fix SleepTrait 2022-11-12 12:51:40 +08:00
fullwall
ce1f306b08 Make /npc pickupitems persistent 2022-11-11 22:41:34 +08:00
fullwall
35245a580b Fix /npc pickupitems message and for players, null casing for /npc panimate START_SLEEPING 2022-11-10 21:31:32 +08:00
fullwall
73689cf9c2 Widen navigating definition 2022-11-07 23:30:39 +08:00
fullwall
cda8aceb5d Minor changes 2022-11-06 23:19:08 +08:00
fullwall
c03160e73e Streamline default vocal chord in preparation for speech API simplification 2022-10-29 22:47:46 +08:00
fullwall
45114dc7b5 Fix wardens not having their dig cooldown set properly 2022-10-28 19:19:43 +08:00
fullwall
d532dae514 Restore behavior tree before calling warden ai 2022-10-27 20:15:10 +08:00
fullwall
372d209be1 More sane highlight colour handling, be flexible with name length if placeholder immediately replaces 2022-10-26 16:59:11 +08:00
fullwall
891b480bea Add requireUndamaged to item cost 2022-10-26 15:44:03 +08:00
fullwall
a91f0cd2ee Fix /npc text remove clickable not working, make /npc shop item action work on material alone for now 2022-10-26 12:33:23 +08:00
fullwall
ebe1d27986 More robust way of checking EntityTransformEvent existence 2022-10-26 01:25:30 +08:00
fullwall
f8cdbc4515 Add SleepTrait 2022-10-25 17:07:11 +08:00
fullwall
353699fe80 Add arglength checking for /npc command clearerror 2022-10-25 15:58:57 +08:00
fullwall
bbf7ca2f98 Add /npc command clearerror 2022-10-24 22:01:40 +08:00
fullwall
f6d7ebe809 Add STOP_ELYTRA PlayerAnimation, add a right click option to /npc shop to avoid having to make a command for it 2022-10-22 10:42:44 +08:00
fullwall
84e59407e4 Switch to entities unload event for new paper chunkloading system 2022-10-19 01:47:07 +08:00
fullwall
b88dbf2e50 Convert command describe to minimessage 2022-10-17 16:56:52 +08:00
fullwall
d04ea81225 WIP fix for NPCs not despawning properly 2022-10-17 01:17:32 +08:00
fullwall
2b19473832 Rework HologramTrait implementation 2022-10-16 10:41:34 +08:00
fullwall
dee442e935 Adjust /npc text to consider delay in right click as well 2022-10-15 20:40:05 +08:00
fullwall
5a5bc1349d Update /npc text editor to minimessage 2022-10-15 20:37:27 +08:00
fullwall
b3aa62a060 Fix /npc text incorrect formatting 2022-10-15 19:32:25 +08:00
fullwall
856b40b890 Add /npc speak --range 2022-10-15 16:59:09 +08:00
fullwall
1213c5462c Remove <reset> from text 2022-10-13 11:08:16 +08:00
fullwall
b686323cd7 Add reset to NPC text 2022-10-09 19:59:15 +08:00