Commit Graph

130 Commits

Author SHA1 Message Date
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
ZX夏夜之风
0e0e91e106
fix: remove duplicate and wrong entity controller definition for TippedArrow (#3155) 2024-10-02 17:00:17 +08:00
ZX夏夜之风
ebe00ae5c6
fix: remove other duplicate entity controller for POTION in other NMS modules (#3154)
This appends to #3153
2024-09-30 19:33:37 +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
fa4ea79606 Set hover in place to true for parrot npcs 2024-09-09 17:05:45 +08:00
fullwall
81794f5ece Remove NMS#getNPC and NMS#getMethod, fix Fox setFaceplanted mapping 2024-09-05 23:57:54 +08:00
fullwall
bbd45127b2 Improve advancement performance by stubbing the SAM, don't initialise on every call 2024-09-01 23:29:26 +08:00
fullwall
34126ccd8f Trial removing setPos for perf benefits 2024-09-01 13:17:12 +08:00
fullwall
045054c076 Trial calling super#stopListening() in player advancements 2024-09-01 11:50:32 +08:00
fullwall
0804f90efd Improve player spawn performance by moving advancement loading 2024-09-01 11:45:50 +08:00
fullwall
5e6dabe825 Try redoing 1.19.4 minecraft navigation as first step 2024-08-31 00:54:14 +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
067badad58 Mark pose dirty on NPC link to player 2024-08-25 23:17:03 +08:00
fullwall
b984fb9312 Try using base value for movement speed instead of modified value in movement control 2024-08-25 22:01:34 +08:00
fullwall
fbb6a48349 Remove villager reset pitch code 2024-08-25 02:15:40 +08:00
fullwall
93c78bb418 Attempt fix for boat pathfinding - slightly hacky 2024-08-19 00:04:04 +08:00
fullwall
4f923c904a Fix axolotl/dolphin movement speed being too slow with minecraft AI, remove nonfunctional makeBrain override 2024-08-18 23:03:03 +08:00
fullwall
f27fe08c9c Use ResourceLocation.tryParse for SoundEvent 2024-07-27 21:03:38 +08:00
fullwall
3370fdde5d Fix interaction height on 1.19.4 2024-07-20 18:13:17 +08:00
fullwall
2c0c7bf8a0 Add skin fetching for bedrock players using skin prefix or -b flag in /npc skin. Hide the floodgate prefix for /npc mirror. Add NPCShopPurchaseEvent 2024-07-19 11:19:32 +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
20ea3e8723 Fix players not jumping in newer minecraft versions 2024-06-22 13:21:21 +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
468703fe79 Rework /npc controllable, add /npc shop copyfrom, add /npc entitypose, add /npc forcefield, add /npc display 2024-06-06 12:55:29 +08:00
fullwall
e8eadbfa36 Update tablist display logic 2024-05-14 17:53:17 +08:00
fullwall
66c06fd641 Create and use EntityPoseTrait 2024-04-29 23:13:17 +08:00
fullwall
efd3ec54f5 Use new metadata 2024-04-28 20:23:59 +08:00
fullwall
194198a9ce Modify interaction render height for 1.19, use teleport display entities by default for 1.20+ 2024-04-27 20:06:21 +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
59531a9bc8 Add /npc fox --pouncing/faceplanted/interested 2024-04-20 14:14:01 +08:00
fullwall
6368cb379e Fix to hologram, add /npc itemframe 2024-04-19 15:48:33 +08:00
fullwall
edb4f78ceb Remove speed setting code in controllermove 2024-04-15 22:12:20 +08:00
fullwall
d3c0205d9e Bugfix TextDisplayVehicleRenderer 2024-04-15 20:21:26 +08:00
fullwall
5f13340dea Add a cleargoals call for rabbits 2024-04-07 14:26:47 +08:00
fullwall
809ef01b5d Fix rabbit evil variant not setting goals with useMinecraftAI turned on 2024-04-07 13:22:40 +08:00
fullwall
9729e356a5 Add /npc wither --invulnerableticks command 2024-03-31 23:10:01 +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
8672b4b997 Revert previous change. Fix commandtrait charging for a cost of 0 2024-03-05 10:00:42 +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
92066dde7b Fix non-english locales, multiplex shop inventories for better trader UI experience 2024-03-03 01:27:23 +08:00
fullwall
3a5b13c170 Cleanup, change packet tracker removal method (needs checking for geyser debug message) 2024-02-29 13:10:44 +08:00