fullwall
321088784c
Check player world in lookclose
2024-03-25 00:39:47 +08:00
fullwall
8696a5709e
Use new API
2024-03-23 23:46:09 +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
5138dc615a
Small fixes
2023-07-29 23:26:02 +08:00
fullwall
8c35505444
Give slightly more leeway for lookclose range
2023-07-08 21:43:23 +08:00
fullwall
46f4444c10
Implement new PlayerFilter method, async-friendly chunk trackers
2023-06-25 21:58:09 +08:00
fullwall
eb10e76ca7
Continue to update paused in lookclose
2023-05-29 23:40:53 +08:00
fullwall
d9a4a3e5e2
Make /npc rotate use arm swing to fix rotation
2023-05-04 01:51:48 +08:00
fullwall
3fe2d189f4
Fix skinlayers trait, add /npc lookclose --linkedbody
2023-05-02 00:50:50 +08:00
fullwall
6a8300980d
Fix an issue with /npc metadata and enum keys, set lookclose target to null if not enabled
2023-04-27 18:55:42 +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
dc384e42f8
Add some debug to shops saving
2023-02-15 05:36:51 +08:00
fullwall
b38a66dbfb
Add /npc lookclose --headonly
2023-01-02 00:24:11 +08:00
fullwall
9103823ebb
Fix per-player lookclose
2023-01-01 18:43:41 +08:00
fullwall
b8a608ec5c
Add /npc lookclose --targetnpcs
2022-12-27 14:22:27 +08:00
fullwall
ab0c706da5
Add perplayer lookclose, rework templates, add message to send on click to shop trait, remove profiler call in player navigation which broke compatibility with certain plugins
2022-12-11 21:28:39 +08:00
fullwall
fef03ea6da
Use new lookup api
2022-12-04 00:59:16 +08:00
fullwall
b8050199f1
Add per-player rotation API
2022-11-28 23:10:50 +08:00
fullwall
a3780e4c4f
Adjust lookclose
2022-11-13 16:02:17 +08:00
fullwall
acca94d911
Aggressively send scoreboard teams
2022-07-25 15:40:39 +08:00
fullwall
7f1bb5b2b7
Fix yaw/pitch calculations for face towards yaw/pitch
2022-06-05 15:43:46 +08:00
fullwall
324d94a21f
Rename /npc pose --save to /npc pose --mirror and add /npc pose --save to save the current NPC pose
2022-04-24 19:22:55 +08:00
fullwall
f358f6fb2e
Work towards lookclose rotation speed changing
2022-04-19 15:20:59 +08:00
fullwall
166aa3d739
Add /trc options to the base /npc lookclose command
2022-04-16 22:49:20 +08:00
fullwall
b0f1290b58
Change EAT_FOOD to LEAVE_BED in 1.18/17
2022-04-13 11:14:37 +08:00
fullwall
97d4c3b117
Make nonliving entities look at entities too, fix /npc lookclose with shulkers spamming noises
2022-02-20 21:56:51 +08:00
fullwall
011e58c739
Fix inverted condition in lookclose
2021-04-07 14:26:07 +08:00
fullwall
74839e9843
Fix NPE in lookclose
2021-04-04 11:31:43 +08:00
fullwall
8039f6e9d3
Add lookclose setting
2021-02-04 09:51:02 +08:00
fullwall
6c2f5fa65a
Remove extra check
2021-01-25 21:30:48 +08:00
fullwall
ac106a6c50
Add line of sight check to lookclose
2021-01-25 21:30:07 +08:00
fullwall
80187501d0
Check lookclose new target from event
2021-01-23 10:52:53 +08:00
fullwall
351cee2cc6
Implement new event
2021-01-20 22:10:47 +08:00
fullwall
eb9764aeb0
Further refactor lookclose
2021-01-20 20:27:46 +08:00
fullwall
fe3f12e424
Refactor lookclose findNewTarget
2021-01-20 19:52:02 +08:00
fullwall
8c0fa7cd17
Comparison should be squared
2021-01-20 17:49:43 +08:00
fullwall
58443ee726
Make lookclose more consistent at looking at players
2021-01-20 17:34:24 +08:00
fullwall
b2f841a40e
Fix shulker bullets with lookclose on
2020-10-12 14:10:23 +08:00
fullwall
27b0bc107c
Generate getters for trait methods
2020-10-07 19:16:41 +08:00
fullwall
0293ac17df
Add default poses
2020-06-29 15:32:37 +08:00
fullwall
2a131102df
Check for range equality in random lookclose
2020-06-13 00:18:59 +08:00
fullwall
9090d1c69b
Fix lookclose target invalidation
2020-04-19 01:28:40 +08:00
fullwall
d13530ff49
Ensure commands run on main thread
2020-04-16 03:04:42 +08:00
Tom Miller
fe024923cf
We can optimize a significant portion of LookClose's findNewTarget method with some changes: ( #2103 )
...
-Build the list of all potential Players and THEN sort by distance. A good chunk of the method's time was spend sorting things it didn't need to.
-Second, reorder the player checks for best performance, where getNPC() is the cheapest check and isPluginVanished is the most expensive check.
In somewhat minimal testing, these changes almost dropped findNewTarget off of my profiling entirely
2020-04-14 01:57:20 +08:00
fullwall
a8676cd739
Add a new look close setting to control enabling while pathfinding
2020-02-25 13:43:19 +08:00
fullwall
03f3d1a713
Further fix...
2019-09-23 21:30:12 +08:00
fullwall
023ab5e8a6
Wrong load order
2019-09-23 21:12:21 +08:00
fullwall
c072a0887a
Add a super simple command - /npc command. More features as required
2019-09-23 20:29:31 +08:00
fullwall
8c30a785a4
Add some javadoc
2019-05-16 19:58:29 +08:00