fullwall
a675406eae
Use /npc item for minecarts, and add /npc hologram textshadow
2024-12-17 01:08:30 +08:00
fullwall
b2cedaf36c
Fix players waiting for 60 ticks client timeout delay before becoming interactable in 1.21.4
2024-12-10 19:01:36 +08:00
fullwall
baa629a1e0
Update to 1.21.4
2024-12-04 21:41:23 +08:00
fullwall
2773304f47
Misc bugfixes
2024-11-28 19:37:49 +08:00
ZX夏夜之风
695baf4481
fix: backport of #3177 ( #3179 )
...
* fix: backport of #3177
1.8 backport may not work well because no DataWatcher for fuse in that version, and we can't support it as it is really an old version. It is just a theoretical fix.
* fix: leave fuse ticks very long in MC 1.8 fix
2024-11-08 23:54:05 +08:00
ZX夏夜之风
080bf9ce3d
fix: backport of #3172 ( #3180 )
...
* fix: partial backport of #3172
MC ver <= 1.16.5 is not considered as they are no longer supported officially. Fork devs pls do your own backport.
* fix: different way to get level in different MC version
* fix: finished missing backport for all other MC versions we support
2024-11-08 23:53:33 +08:00
fullwall
f92fb4373f
Implement a lot more methods in custom entity registry to fix tags
2024-11-02 19:05:36 +08:00
fullwall
69acf89ff9
Cleanup, return the navigation destination from NMS.getDestination in case external plugins miss the timing to get it
2024-11-01 20:27:16 +08:00
fullwall
1579aa0e9e
Updated controllable for 1.21.3
2024-10-28 19:57:36 +08:00
fullwall
ff2cecf6f2
Initial update to 1.21.2
2024-10-24 01:42:07 +08:00
fullwall
2247a81150
Add setSpeed calls to fix armorstand not working with movecontrol
2024-10-19 20:01:27 +08:00
fullwall
46f3c31832
Make areaeffectcloud the default hologram renderer over armorstand, add /npc areaeffectcloud
2024-10-13 01:07:28 +08:00
ZX夏夜之风
a7078b2c6d
fix(security): prevent temporary OP from being saved ( #3159 )
...
* fix(security): prevent temporary OP from being saved
* fix: Player#setOp usage is not necessary
* fix: fixed incorrect implementation of setOpWithoutSaving for certain MC version
2024-10-09 20:44:09 +08:00
fullwall
0e62308ba0
Change /npc size to /npc slimesize, centralise item pickup check to EventListen, add /npc textdisplay
2024-10-05 17:07:34 +08:00
fullwall
8f7ae65d93
Standardise SPECTRAL_ARROW treatment and add missing Minecart type
2024-10-02 17:08:31 +08:00
fullwall
59534df8c0
Set step height attribute on spawn centrally instead of locally
2024-09-29 16:18:09 +08:00
fullwall
8c4cf4a4b4
Use new boolean
2024-09-24 20:02:19 +08:00
fullwall
81794f5ece
Remove NMS#getNPC and NMS#getMethod, fix Fox setFaceplanted mapping
2024-09-05 23:57:54 +08:00
fullwall
efb590c45b
Make tracker replacement more durable at the cost of adding a custom filter to all entity classes. Also fixes early player tracker replacement in 1.20.6 and above
2024-08-26 01:02:07 +08:00
fullwall
bce7baced9
Fix impossible cast in old versions of minecraft
2024-08-25 19:07:04 +08:00
fullwall
f27fe08c9c
Use ResourceLocation.tryParse for SoundEvent
2024-07-27 21:03:38 +08:00
fullwall
ad6b47348c
Add /npc collidable --fluids and backport fluid pushable to <1.13.
2024-07-08 00:35:03 +08:00
fullwall
4ba83dd520
Add quotes around commands
2024-07-06 22:13:27 +08:00
fullwall
8cc2f0ea48
Use new inventoryview abstraction
2024-06-26 21:12:28 +08:00
fullwall
6eb9ae4235
Use new API, fix exp orb NPCs, make old waypoint markers use leash knot instead of eye of ender
2024-06-19 22:03:38 +08:00
fullwall
6bcae0f7dd
Initial 1.21 update
2024-06-14 16:06:11 +08:00
fullwall
8f3a396198
Tick attackStrengthTicker and item cooldowns
2024-06-07 00:36:27 +08:00
fullwall
e8eadbfa36
Update tablist display logic
2024-05-14 17:53:17 +08:00
fullwall
73d0698d36
Rework item action NBT matching
2024-04-24 18:38:59 +08:00
fullwall
70c40dcb22
Initial 1.20.5 update. TODO: refactor NBT to remove JNBT and work with trees instead
2024-04-24 05:34:31 +08:00
fullwall
edb4f78ceb
Remove speed setting code in controllermove
2024-04-15 22:12:20 +08:00
fullwall
3563413c06
Fix anvil inventories in old minecraft versions
2024-04-06 20:34:28 +08:00
fullwall
9729e356a5
Add /npc wither --invulnerableticks command
2024-03-31 23:10:01 +08:00
fullwall
8696a5709e
Use new API
2024-03-23 23:46:09 +08:00
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
8be9da5f04
Trial manually calling aiStep for players with /npc ai turned on
2024-03-05 09:47:24 +08:00
fullwall
ed117eac96
Try to detect sneaking state onAttach for SneakTrait
2024-03-03 23:14:11 +08:00
fullwall
a24064ddae
Override teleport method in Shulker rather than blocking tick
2024-03-03 18:07:25 +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
f9c4dbe614
Minor shulker fix
2024-02-05 00:13:42 +08:00
fullwall
deded77f34
Add a setNavigationType NMS method
2024-01-29 22:24:43 +08:00
fullwall
8ca8c14f89
Reset packetrotationsession yaw to physical yaw on removal
2024-01-07 17:06:55 +08:00
fullwall
007c92f797
Consolidate body yaw implementations
2023-12-22 15:59:20 +08:00
fullwall
06b0e2d800
Don't set body yaw with head yaw
2023-12-11 23:17:34 +08:00
fullwall
a1e4255771
Redecompile 1.20.2 minecraft pathfinder
2023-12-01 23:43:58 +08:00
fullwall
81cce42a93
Implement new event
2023-11-15 22:39:09 +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