Commit Graph

48 Commits

Author SHA1 Message Date
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
ZX夏夜之风
0e0e91e106
fix: remove duplicate and wrong entity controller definition for TippedArrow (#3155) 2024-10-02 17:00:17 +08:00
ZX夏夜之风
75ee655487
fix: remove duplicate entity controller definition for POTION in 1.21 (#3153) 2024-09-29 17:27:14 +08:00
fullwall
59534df8c0 Set step height attribute on spawn centrally instead of locally 2024-09-29 16:18:09 +08:00
fullwall
0f701a3c40 Missed 1.21 change 2024-09-24 22:22:12 +08:00
fullwall
905dff7eec Nuke the custom tag as well 2024-09-17 23:52:02 +08:00
fullwall
7f9b4c629c Edit Minecraft trade selection clearing again 2024-09-16 19:06:58 +08:00
fullwall
826008dac6 Fix infinite loop in last ocmmit 2024-09-09 19:47:48 +08:00
fullwall
d4fba3b549 Trial clearing component predicates for merchant offers in 1.20.6+ 2024-09-09 19:35:05 +08:00
fullwall
fa4ea79606 Set hover in place to true for parrot npcs 2024-09-09 17:05:45 +08:00
fullwall
a87756616d Make meta filter more strict, move custom -> custom_data to match NBT 2024-09-09 01:26:27 +08:00
fullwall
d0ff1d147e Add custom tag parsing to shop, add /npc hologram insert, add /npc text send text to chat toggle 2024-09-08 19:41:53 +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
bce7baced9 Fix impossible cast in old versions of minecraft 2024-08-25 19:07:04 +08:00
fullwall
cd24ce0e61 Add refreshDimensions calls to player tick() 2024-08-25 17:08:53 +08:00
fullwall
79cf3f7bac Don't use Y velocity in boat movement 2024-08-25 02:39:31 +08:00
fullwall
fbb6a48349 Remove villager reset pitch code 2024-08-25 02:15:40 +08:00
fullwall
f71e9e47d9 Add /npc inventory [player name] and fix some NPEs 2024-08-22 23:13:57 +08:00
fullwall
2fcdeec49e Assume auth url has trailing slash 2024-08-20 02:28:48 +08:00
fullwall
ca12c83c25 Fix auth server url 2024-08-19 20:43:26 +08:00
fullwall
5ffd6e40dc Restore AUTH_SERVER_URL functionality 2024-08-19 11:50:15 +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
f78c87b576 Add some hologram debug 2024-08-12 08:04:43 +08:00
fullwall
c8f6e4f4ec Update anvil code 2024-08-04 13:23:47 +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
7447351c22 Fix duplicate entity tracker creation 2024-07-14 22:22:51 +08:00
fullwall
6d18bc16c7 Replace entity tracked fields as well as chunk map ones 2024-07-12 17:25:26 +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
6e27ec8920 Prevent armadillo scutes from dropping in protected npcs 2024-06-29 14:16:09 +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