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
3a5b13c170
Cleanup, change packet tracker removal method (needs checking for geyser debug message)
2024-02-29 13:10:44 +08:00
fullwall
8864d89791
Preliminary trader view support for /npc shop
2024-02-19 05:41:48 +08:00
fullwall
66708ac314
Add /npc command cycle
2024-02-05 00:05:51 +08:00
fullwall
deded77f34
Add a setNavigationType NMS method
2024-01-29 22:24:43 +08:00
fullwall
107e3b3296
More robust backwards compat
2024-01-13 14:05:57 +08:00
fullwall
cd25930373
Fix canSee(Entity) not existing on old minecraft versions
2024-01-13 14:02:12 +08:00
fullwall
8ca8c14f89
Reset packetrotationsession yaw to physical yaw on removal
2024-01-07 17:06:55 +08:00
fullwall
06b0e2d800
Don't set body yaw with head yaw
2023-12-11 23:17:34 +08:00
fullwall
7d2b50be40
Missed messages file
2023-12-03 16:08:44 +08:00
fullwall
49036e1967
Support FollowTrait on 1.8.8
2023-12-02 14:55:37 +08:00
fullwall
a1e4255771
Redecompile 1.20.2 minecraft pathfinder
2023-12-01 23:43:58 +08:00
fullwall
8693de6b5f
Avoid copying
2023-11-17 01:59:18 +08:00
fullwall
145d6ce616
Trial a iteration performance tradeoff for PlayerUpdateTask
2023-11-17 01:33:46 +08:00
fullwall
81cce42a93
Implement new event
2023-11-15 22:39:09 +08:00
fullwall
ad0f5caac5
Fix playeranimation on outdated minecraft versions
2023-11-07 23:43:48 +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
998484718f
Only certain items require repeated use animations
2023-11-05 15:35:48 +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
1a8246bb88
Implement JumpPowerSupplier metadata
2023-11-01 01:49:01 +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
d17ca61e6e
Implement event, and use it to link hologram display entity. unify some old tracker implementations. WIP implementation of unified player linking
2023-10-30 01:37:00 +08:00
fullwall
751e2a28ac
Misc small changes
2023-10-29 02:09:08 +08:00
fullwall
7f6b6df4cf
Bump deps
...
Del
2023-10-13 21:50:23 +08:00
fullwall
5829ffcc07
Commit util method
2023-10-09 01:05:41 +08:00
fullwall
28916be24e
More reflection to avoid accessing record type
2023-10-01 17:32:13 +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
c994315060
MOdified method signature
2023-09-20 21:52:53 +08:00
fullwall
fe0d058160
Null check knockback event
2023-09-20 20:31:05 +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
3e374b7289
Add messag
2023-08-14 01:16:58 +08:00
fullwall
5138dc615a
Small fixes
2023-07-29 23:26:02 +08:00
fullwall
e1a4f88126
Work around a paper API mismatch with spigot
2023-07-12 01:08:54 +08:00
fullwall
c0be235538
Send an extra headrotation packet since spigot resets head rotation now, make some protocollib methods async, bump avoid-water costs by one block
2023-07-08 21:36:04 +08:00
fullwall
5b5811cfea
Fix /npc item parsing behavior
2023-07-04 00:45:37 +08:00
fullwall
a06b2ed2c6
Pushed missing file
2023-06-26 00:13:20 +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
64b200837d
Add sittable support to /npc sitting, disable array pooling for now
2023-06-11 16:51:28 +08:00