fullwall
4bfededf7a
Add food ticking for players if /npc ai is enabled, update player pose and xp ticks
2024-03-05 10:47:37 +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
06b0e2d800
Don't set body yaw with head yaw
2023-12-11 23:17:34 +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
de885501cd
Allow next page and previous page items to be set
2023-11-05 17:41:18 +08:00
fullwall
c046404799
Run autoformatter
2023-11-05 16:35:22 +08:00
fullwall
05048be1f7
Initial 1.20.2 update
2023-10-01 17:27:38 +08:00
fullwall
0b076b1a21
Players should push entities by default rather than use /npc collidable which is performing double duty
2023-05-04 01:20:57 +08:00
fullwall
07d2c970d0
Null checks
2023-04-11 18:16:56 +08:00
fullwall
fcb0c7d953
Tweak how equipment updates are detected
2023-04-11 00:10:45 +08:00
fullwall
f88c2771a8
Use armor stands for holograms
2023-03-30 23:13:38 +08:00
fullwall
e6f8a47f36
Add config comments, remove subplugins, remove NPCEnderTeleportEvent
2023-03-15 01:41:24 +08:00
fullwall
8235ed160f
PICKUP_ITEMS now defaults to false rather than isProtected
2023-02-26 15:51:59 +08:00
fullwall
61fd34df0b
Reformat pom
2023-02-23 00:06:13 +08:00
fullwall
8fa5a965e1
Fix logic error in allay reset, code cleanup
2023-02-23 00:00:47 +08:00
fullwall
ffac34f734
Fix player ticking
2023-01-05 22:51:42 +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
c11da48fc2
Set nophysics flag on setGameMode
2022-12-28 23:14:41 +08:00
fullwall
b8050199f1
Add per-player rotation API
2022-11-28 23:10:50 +08:00
fullwall
ed9230c680
Implement knockback event
2022-11-13 23:33:18 +08:00
fullwall
35245a580b
Fix /npc pickupitems message and for players, null casing for /npc panimate START_SLEEPING
2022-11-10 21:31:32 +08:00
fullwall
73689cf9c2
Widen navigating definition
2022-11-07 23:30:39 +08:00
fullwall
98c2d3492a
Add /npc piglin --dancing
2022-07-07 23:34:15 +08:00
fullwall
36cbef81a7
Fix dropstrait, allow player hurt/death sound to be set
2022-06-24 12:43:23 +08:00
fullwall
8694603c85
Refactor PlayerControllerLook into RotationTrait
2022-04-25 02:22:39 +08:00
fullwall
3685d33980
Add /npc bossbar --track and fix equipment caching logic
2022-04-23 13:42:48 +08:00
fullwall
908e678135
entityBaseTick should update some variables
2022-03-10 03:12:43 +08:00
fullwall
626b6d6b42
Allow NPCs to push other entities
2022-02-20 21:21:50 +08:00
fullwall
7683516d62
Avoid setting NPC.COLLIDABLE_METADATA on Player NPCs
2022-01-20 17:10:52 +08:00
fullwall
5fffa23e94
Add packet update delay setting
2022-01-02 01:22:35 +08:00
fullwall
19ee0e2c19
Use metadata and track players if on the playerlist which should make mobs spawn nearby
2021-12-28 20:13:25 +08:00
fullwall
840f32469b
First pass at fall damage
2021-10-25 00:22:19 +08:00
fullwall
3d3de6576d
Use onPreSpawn event to avoid 'FOUC' in armorstands. Fix invulnerable ticks being reduced too quickly.
2021-09-23 14:12:44 +08:00
fullwall
15f57c4970
Add null checks
2021-01-24 20:51:12 +08:00
fullwall
9cbc1c6bd8
Send equipment packets when equipment changes
2021-01-24 19:25:59 +08:00
fullwall
0a6b1235db
Reduce jar size by refactoring push event
2021-01-03 00:09:21 +08:00
fullwall
7743763d3c
Refactor common code, add missing condition
2020-11-14 18:41:21 +08:00
fullwall
dffbf60465
Simplify inBlock check to avoid chunk loading
2020-11-14 17:27:54 +08:00
fullwall
7450c4db45
Use new getOrAddTrait methodf
2020-09-14 17:57:58 +08:00
fullwall
0c7dd3b4f0
Set default invulnerability ticks to 0
2020-09-01 23:51:17 +08:00
fullwall
45907da2d7
Hologram bugfixes
2020-08-11 22:47:45 +08:00
fullwall
b902879ca6
Fix gravity
2020-08-08 15:21:54 +08:00
fullwall
2a8f54f2d6
Move movement code into playerTick to avoid inter-world crashes
2020-07-27 17:14:57 +08:00
fullwall
16c418415b
Cleanup, reduce number of packets per packet update cycle
2020-05-01 17:49:03 +08:00
fullwall
32429f140d
Run clientside player ticking at a different time
2020-04-29 20:56:39 +08:00
fullwall
80011eed41
Revamp SkinnableEntity into SkinTrait
2020-04-19 02:07:03 +08:00
Alex "mcmonkey" Goodwin
221eb4b8d5
Fix for client NPE issue - don't missend player spawn packets ( #1525 )
...
* Fix #1360 - don't missend player spawn packets
Player spawn packets were improperly sent by the Minecraft internals in early NPC spawn sequence, when they are not valid to be sent yet. This patch blocks their sending until the tracker system is pushed onto the NPC. Tested and functional.
* improve long name cutting order, fixes #1422
ensures that root name will always be 16 characters if the given name was too long - previously, the root name could be as small as a single character (for input name of 17 characters).
2018-06-28 23:51:41 +08:00
fullwall
f33804609e
Add -l flag to /npc spawn and add /npc metadata
...
Add /npc remove --owner
2018-01-01 14:41:10 +08:00
fullwall
ffbedcd841
Implement a rudimentary setSkinPersistent API
2017-10-19 00:27:27 +08:00
fullwall
c02fec9ca0
Set noclip for spectator NPCs
2017-06-09 20:27:44 +08:00