Commit Graph

330 Commits

Author SHA1 Message Date
fullwall 8696a5709e Use new API 2024-03-23 23:46:09 +08:00
fullwall 70ac5c9193 Make /npc shop delete (name) output a message, send head yaw packet to just the viewer rather than cached nearby players, bump translations 2024-03-16 23:10:12 +08:00
fullwall 6642923b49 Fix /npc passive flipped message 2024-03-08 12:16:31 +08:00
fullwall e757344d41 Another attempt to avoid charging costs inappropriately 2024-03-07 01:59:47 +08:00
fullwall 903ba91b4c Delete old template code 2024-03-04 20:46:36 +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 52bb50fd8c Add missing description messages, and prompt users to join Discord to contribute to translations 2024-03-02 22:29:05 +08:00
fullwall 81bc83d15a Utilise new API 2024-03-01 01:03:30 +08:00
fullwall 19f08c4607 Attempt to replace the entity tracker without sending packets for initial spawn. EXPERIMENTAL: needs testing. Also add /npc armorstand --headpose 2024-02-18 00:44:38 +08:00
fullwall 4d1b3ee357 Remove STORAGE_TYPE setting, fix a few setting comments 2024-02-11 01:13:49 +08:00
fullwall 66708ac314 Add /npc command cycle 2024-02-05 00:05:51 +08:00
fullwall 8ca8c14f89 Reset packetrotationsession yaw to physical yaw on removal 2024-01-07 17:06:55 +08:00
fullwall 1416557ce3 Fix protocollib detection for /npc mirror 2024-01-02 23:31:02 +08:00
fullwall 4e4112d531 Bump adventure dependency 2023-12-22 02:21:18 +08:00
fullwall 81cce42a93 Implement new event 2023-11-15 22:39:09 +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 840ab30108 Don't cancel NPC - NPC mount events, NMS#mount uses optional boolean flag to force mount. /npc blockbreaker adds to NPC inventory by default 2023-11-05 02:03:57 +08:00
fullwall a42812c4c4 Add /npc skin -s 2023-11-04 12:47:07 +08:00
fullwall 401e34a4a3 Refactor PlayerAnimation to accept a collection of players rather than radius. Rework NPCLinkToPlayerEvent handling 2023-10-30 22:49:02 +08:00
fullwall 751e2a28ac Misc small changes 2023-10-29 02:09:08 +08:00
fullwall e889476e7b Fixes for hologram display entities 2023-10-23 01:58:06 +08:00
fullwall 7f6b6df4cf Bump deps
Del
2023-10-13 21:50:23 +08:00
fullwall 9bb88a6db1 Add some debug for navigation, add --at arg for /npc playsound 2023-10-03 23:06:25 +08:00
fullwall 05048be1f7 Initial 1.20.2 update 2023-10-01 17:27:38 +08:00
fullwall 97ddf858ce Full update 2023-09-20 22:05:05 +08:00
fullwall 28a3e0bf79 Simplify getAllNPCs() implementation 2023-09-03 23:41:38 +08:00
fullwall 63ef3cdc73 Remove /npc scoreboard and make scoreboard trait just persist entity tags 2023-08-28 01:57:30 +08:00
fullwall db6058bbd0 Reimplement hologram display entities using interaction entities as suggested by Owen1212055 2023-08-28 01:49:14 +08:00
fullwall 60e169f352 Remove imports 2023-08-14 01:32:27 +08:00
fullwall 82d841ad62 Add missing imports 2023-08-14 01:31:34 +08:00
fullwall a9f79deb2d Add /npc skin -e 2023-08-14 01:16:00 +08:00
fullwall 8719c1f182 Implement new metadata 2023-08-06 18:57:42 +08:00
fullwall 6fd768992a Tweak remove --owner 2023-08-01 23:18:45 +08:00
fullwall 5138dc615a Small fixes 2023-07-29 23:26:02 +08:00
fullwall 5003f0c367 Fix <item> hologram, cancel EntityTameEvent for protected NPCs 2023-07-19 23:53:43 +08:00
fullwall 0e9dcf210f Fix typo from /npc list change 2023-07-09 20:40:48 +08:00
fullwall a9fea94c61 Catch protocollib errors again, change /npc list to use uuid rather than id 2023-07-09 18:57:30 +08:00
fullwall 5b5811cfea Fix /npc item parsing behavior 2023-07-04 00:45:37 +08:00
fullwall 46f4444c10 Implement new PlayerFilter method, async-friendly chunk trackers 2023-06-25 21:58:09 +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 6d5f881b91 Tweak /npc sound command to allow arbitrary sounds (as long as they are registered with NMS) 2023-06-19 20:55:16 +08:00
fullwall a551fe4890 Add /npc setequipment 2023-06-18 17:23:55 +08:00
Brando! da2ab6324a
`npc hologram margintop/marginbottom` command (#3027)
* Add `npc hologram margin` command

* Revert `mb` and `mt` declaration change.

* Change `margin` to `margintop` and `marginbottom`

Also fix mistake in usage syntax.
2023-06-18 00:08:44 +08:00
fullwall e64816eda2 Make triggers prompt pause the pathfinding to prevent difficult states to problem solve. Add CommandTrigger. 2023-06-14 23:45:36 +08:00
fullwall 9704f1493c Implement new push / knockback events 2023-06-12 21:20:51 +08:00
fullwall 3702b019cd Make some create flags require admin 2023-06-11 17:06:22 +08:00
fullwall 64b200837d Add sittable support to /npc sitting, disable array pooling for now 2023-06-11 16:51:28 +08:00
fullwall 9facad1b2a Initial 1.20 update 2023-06-08 22:37:50 +08:00