Commit Graph

144 Commits

Author SHA1 Message Date
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 40a60fbc8f Remove push override as Paper broke source compatibility 2024-03-10 11:52:38 +08:00
fullwall 992acc5c56 Null check death message 2024-03-01 19:20:29 +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 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 1f1b0debbe Despawn NPCs on chunk borders 2024-01-13 22:48:27 +08:00
fullwall 8ca8c14f89 Reset packetrotationsession yaw to physical yaw on removal 2024-01-07 17:06:55 +08:00
fullwall d005c228ff Move PlayerShearEntityEvent handling to EventListen to cover for snowman 2023-12-22 04:15:00 +08:00
fullwall c81aa299fb Add /npc snowman -f to form snow 2023-12-03 12:33:46 +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 24e7df6a18 Add delay to hologram linking 2023-11-01 22:29:47 +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 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 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 7c0eb422a6 Tweak PlayerDeathEvent to not use npc.getEntity() 2023-09-01 02:36:04 +08:00
fullwall 5003f0c367 Fix <item> hologram, cancel EntityTameEvent for protected NPCs 2023-07-19 23:53:43 +08:00
fullwall 46f4444c10 Implement new PlayerFilter method, async-friendly chunk trackers 2023-06-25 21:58:09 +08:00
fullwall f3b7ba0e52 ClickRedirectTrait is respected for playerfilter 2023-06-20 23:29:36 +08:00
fullwall ad023c3bd5 Various bugfixes including for /npc sitting, item action, event listening to push/knockback events 2023-06-19 20:39:50 +08:00
fullwall cd550e634e Cancel use item twice 2023-06-18 17:53:47 +08:00
fullwall a551fe4890 Add /npc setequipment 2023-06-18 17:23:55 +08:00
fullwall 8e4c38ded1 Implement /npc knockback 2023-06-14 23:47:42 +08:00
fullwall 8b107587e7 QoL fix for npc players with death messages 2023-06-13 20:13:21 +08:00
fullwall 9704f1493c Implement new push / knockback events 2023-06-12 21:20:51 +08:00
fullwall 8df17d2f02 WIP fix for tp cross-world 2023-05-12 01:09:45 +08:00
fullwall deb9976a9b Inline eventlistenchunk 2023-05-07 20:09:37 +08:00
fullwall 283a2a3381 Change EntityDamageEvent listenerpriority to lowest 2023-04-24 21:27:15 +08:00
fullwall 71ecc7086b Implement playerfilter api 2023-04-17 01:47:32 +08:00
fullwall f895169e92 Remove debug code 2023-04-11 01:02:24 +08:00
fullwall fcb0c7d953 Tweak how equipment updates are detected 2023-04-11 00:10:45 +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 cb6f8be7fc Add /npc packet 2023-03-02 23:08:03 +08:00
fullwall c22916bb70 Use new method 2023-03-01 23:05:25 +08:00
fullwall 22e1821f24 Cancel item despawns for item NPCs 2023-02-15 06:02:00 +08:00
fullwall fe4434de91 Don't clear uuid version 2023-02-09 21:09:53 +08:00
fullwall bbfbc767dc Reorder npc update() 2023-02-08 21:06:10 +08:00
fullwall e828782be6 Snowman performance change 2023-01-27 01:54:13 +08:00
fullwall e21681fa26 Add /npc hitbox, WIP packet NPCs 2023-01-03 20:55:27 +08:00
fullwall b8e79b20cf Implement API, check for invalid Player references, remove Text min/max-cooldown settings and fix Text delay/right click cancellations, make SitTrait work with npc#teleport 2023-01-01 15:26:35 +08:00
fullwall 4590193673 Upgrade skull saving 2022-12-27 13:07:12 +08:00
fullwall 550c72a234 getHand() removal 2022-12-26 20:07:16 +08:00
fullwall 8c10fe8b18 Use per player metadata API 2022-12-24 19:53:59 +08:00
fullwall 4c958b5e7c Fix custom name components in 1.8.8-1.12.2, 2022-12-22 23:17:28 +08:00
fullwall f5dcdb8a1d Move settings around 2022-12-19 00:48:50 +08:00