fullwall
e757344d41
Another attempt to avoid charging costs inappropriately
2024-03-07 01:59:47 +08:00
fullwall
8672b4b997
Revert previous change. Fix commandtrait charging for a cost of 0
2024-03-05 10:00:42 +08:00
fullwall
b6f5184192
Further command trait cleanup of /npc command clearerrors and added /npc command forgetplayer
2024-03-03 18:49:45 +08:00
fullwall
473135c7fb
Rework individual command cost to be a value flag rather than an argument, reduce public-facing command ID exposure
2024-03-03 18:20:09 +08:00
fullwall
92066dde7b
Fix non-english locales, multiplex shop inventories for better trader UI experience
2024-03-03 01:27:23 +08:00
fullwall
66708ac314
Add /npc command cycle
2024-02-05 00:05:51 +08:00
fullwall
44e68147ab
Fix hand recording
2024-01-26 23:43:50 +08:00
fullwall
c3791d162f
Fix for commands with multiple preconditions
2024-01-26 19:48:53 +08:00
fullwall
dbd9cdf1f1
Fix hand tracking
2024-01-26 18:55:11 +08:00
fullwall
8ca8c14f89
Reset packetrotationsession yaw to physical yaw on removal
2024-01-07 17:06:55 +08:00
fullwall
07fb13c284
Add /npc hologram viewrange, add /npc playerfilter --applywithin, work towards auto-hologram-sneak
2023-11-05 20:58:37 +08:00
fullwall
7f6b6df4cf
Bump deps
...
Del
2023-10-13 21:50:23 +08:00
fullwall
28a3e0bf79
Simplify getAllNPCs() implementation
2023-09-03 23:41:38 +08:00
fullwall
5003f0c367
Fix <item> hologram, cancel EntityTameEvent for protected NPCs
2023-07-19 23:53:43 +08:00
fullwall
29a98c8da6
Charge costs directly
2023-07-11 11:25:26 +08:00
Brando!
a2d7284fbc
individual costs for NPC commands ( #3033 )
...
* Add individual cost option for `/npc cmd cost`
* Add individual experience cost option for `/npc cmd expcost`
* Begin individual item cost impl
Everything is finished except for saving/loading the items. I just need to figure out how to properly save the ItemStacks either by using the DataKey or by somehow figuring out how to use the Persist API
* Add item saving and loading
* Add cost and exp cost to describe message
* Remove debug/todo things
* Make `-1` default to allow for cost-free commands
* Update `describe` function to have proper space alignment
* Change names of cost values
* Update parameter name
2023-06-25 13:41:19 +08:00
fullwall
308690841a
Add some basic command permissions to ignore errors
2023-05-14 21:09:37 +08:00
fullwall
163499f219
Add shift click max buy/sell to the shop trait
2023-04-06 02:35:08 +08:00
fullwall
4a55753409
Improve triggers editor.
2023-03-25 21:49:30 +08:00
fullwall
46633409c3
Adjust command costs so that they are only charged after checking that the command can be used, adjust itemcost algorithm
2023-03-16 22:01:04 +08:00
fullwall
2d8ea825a2
Fix time conversion code
2023-03-14 14:31:07 +08:00
fullwall
b9f10a2e0c
Fix Java 8 compat
2023-03-13 21:46:52 +08:00
fullwall
74a861142b
Add durations to settings, allow falling distance to be set for all mobs
2023-03-12 22:30:19 +08:00
fullwall
8235ed160f
PICKUP_ITEMS now defaults to false rather than isProtected
2023-02-26 15:51:59 +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
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
2034ca6bf0
Add CommandAction
2022-12-10 13:42:07 +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
bbf7ca2f98
Add /npc command clearerror
2022-10-24 22:01:40 +08:00
fullwall
b88dbf2e50
Convert command describe to minimessage
2022-10-17 16:56:52 +08:00
fullwall
30b2f5a8e2
Placeholders for speech bubbles, /npc command errormsg
2022-08-21 16:15:40 +08:00
fullwall
9592de5716
Sets.difference is not working in 1.8.8
2022-08-17 23:33:29 +08:00
fullwall
8b488ddc61
Fix spaces in server names
2022-07-29 02:03:16 +08:00
fullwall
9cf7779ff4
Work on /npc shop, QoL tweaks, fix scoreboard team removal
2022-07-26 23:50:28 +08:00
fullwall
ac92bafa71
Null check command charged
2022-07-25 00:23:44 +08:00
fullwall
8c004fc122
Work on /npc shop
2022-07-21 23:13:51 +08:00
fullwall
674a621cf3
Fix itemcost, don't execute commands if cost not reached
2022-07-17 02:28:17 +08:00
fullwall
a81d8db87d
Null check bossbar style
2022-07-17 02:10:38 +08:00
fullwall
aaca31740b
QoL changes to /npc list /npc command
2022-07-10 01:17:26 +08:00
fullwall
55f8a1f75c
Fix say in /npc command
2022-06-30 16:10:16 +08:00
fullwall
5cd35fdcea
Make --id check less specific
2022-06-25 18:15:19 +08:00
fullwall
659a5b17ad
Match npc commands slightly more safely
2022-06-25 16:47:48 +08:00
fullwall
1cdeda5d5d
Add 'say' option to /npc command and add the NPC id for /npc commands
2022-06-25 16:47:13 +08:00
fullwall
3ff64493cd
Fixed commandtrait output
2022-06-02 20:15:45 +08:00
fullwall
97da84c192
Fix gcooldown not working when used in isolation
2022-04-30 02:39:26 +08:00
fullwall
b26dfb3d0f
Implement new PathStrategy method, improve swimming navigation
2022-02-19 16:36:31 +08:00
fullwall
208b1c9ca2
Add extra info to /npc command
2022-02-19 14:36:45 +08:00
fullwall
88ab30840b
Add debug to chunk load tracking, clarify charging logic in commands
2022-02-15 00:40:24 +08:00