Commit Graph

3133 Commits

Author SHA1 Message Date
fullwall
1c4a743121 Consistent NPCLinkToPlayerEvent handling for 1.8.8 2023-11-03 00:06:41 +08:00
fullwall
8e4b9ce60d Record language rather than locale string 2023-11-01 23:58:49 +08:00
fullwall
24e7df6a18 Add delay to hologram linking 2023-11-01 22:29:47 +08:00
fullwall
1a8246bb88 Implement JumpPowerSupplier metadata 2023-11-01 01:49:01 +08:00
fullwall
2736f4ab53 Add sitting height offset correction check 2023-11-01 01:24:23 +08:00
fullwall
483b6565cd Adjust hologram mount strategy 2023-11-01 00:58:28 +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
dd247a9ee0 Fix typo causing npcs to be damageable 2023-10-24 23:10:03 +08:00
fullwall
1fa3b22c57 Properly forward slime jump to move controller in 1.17+ 2023-10-23 18:32:34 +08:00
fullwall
8efde00530 Re-mounting interaction entities seems to work 2023-10-23 02:07:59 +08:00
fullwall
e889476e7b Fixes for hologram display entities 2023-10-23 01:58:06 +08:00
fullwall
627811ca7a Don't downcast to Set since some forks change collection type 2023-10-22 10:51:35 +08:00
fullwall
8f6e65c4e2 Fix animation trigger incorrectly registered 2023-10-22 00:33:40 +08:00
fullwall
33dce9174b Add bossbar provider 2023-10-20 22:08:37 +08:00
fullwall
9d9b3c4349 Micro optimisations 2023-10-15 21:57:13 +08:00
fullwall
ad89e9aa83 Make more async friendly 2023-10-15 20:53:01 +08:00
fullwall
ea34a18ebe Remove viaversion from pom 2023-10-15 11:47:20 +08:00
fullwall
ae4495207e remove result message for commands by default 2023-10-14 22:41:10 +08:00
fullwall
291591b7d4 More stub methods to avoid flushing 2023-10-14 21:57:16 +08:00
fullwall
3ae2c0d538 Minor changes 2023-10-14 00:08:49 +08:00
fullwall
7f6b6df4cf Bump deps
Del
2023-10-13 21:50:23 +08:00
fullwall
eb546777de Remove profiler call 2023-10-11 22:07:46 +08:00
fullwall
5829ffcc07 Commit util method 2023-10-09 01:05:41 +08:00
fullwall
58234c469c Override more connection send methods 2023-10-09 00:56:44 +08:00
fullwall
ba74dc8ad2 Fix /npc shop edit multiline item descriptions 2023-10-09 00:54:31 +08:00
fullwall
9bb88a6db1 Add some debug for navigation, add --at arg for /npc playsound 2023-10-03 23:06:25 +08:00
fullwall
d3426bc10a Add a test fix for a one off exception 2023-10-01 22:54:04 +08:00
fullwall
e98cfd5b8e Set MobType immediately 2023-10-01 22:50:30 +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
7b650a2af4 Fix incorrect onDespawn usage leaking teams in ScoreboardTrait 2023-09-18 18:39:23 +08:00
fullwall
3e7b465a04 Fix guided waypoint provider neighbour generation 2023-09-17 22:56:33 +08:00
fullwall
2931f95939 Add some scoreboard team debug 2023-09-13 23:00:02 +08:00
fullwall
bec532952a Update guided help 2023-09-13 00:44:07 +08:00
fullwall
8ca064aab3 Switch text back to manual loading due to type error 2023-09-12 01:33:11 +08:00
fullwall
28a3e0bf79 Simplify getAllNPCs() implementation 2023-09-03 23:41:38 +08:00
fullwall
7c0eb422a6 Tweak PlayerDeathEvent to not use npc.getEntity() 2023-09-01 02:36:04 +08:00
fullwall
6c80f7554d Remove outdated text editor translations 2023-09-01 02:04:06 +08:00
fullwall
85e46c6324 Try to avoid async issues with entity trackers 2023-08-30 00:35:21 +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
c447b0d277 Backport some horse fixes 2023-08-27 19:21:11 +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
Brando!
e0fa527c25
Add option to have players purchase items only once (#3037)
* Add option to have players purchase items only once

* In the process of updating `purchases` to be a map

NOT FINISHED!

* Fix bug in previous commit. Thanks for the help fullwall!
2023-08-14 01:20:41 +08:00