Commit Graph

3385 Commits

Author SHA1 Message Date
fullwall
3c3a8102d6 Allow players to click on their inventory during trader view 2024-09-15 18:52:14 +08:00
fullwall
c87193b3fd Add optional minecraft namespace to item hologram regex 2024-09-15 00:57:05 +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
5d1a1ad642 Make meta comparison ignore ingredients that don't match the meta instead of rejecting the transaction 2024-09-09 02:22:34 +08:00
fullwall
b26f185de2 Trial clearing meta if compare similarity set to false in trading inventory. This is to use Citizens logic instead of Minecraft logic for trade selection 2024-09-09 02:09:13 +08:00
fullwall
91e4fb10fc Remove debug 2024-09-09 01:42:39 +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
1ab4bfe177 Add open shop action to shops 2024-09-09 00:26:52 +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
7cabe94b14 Null check for bad economy plugins 2024-09-05 23:40:10 +08:00
fullwall
8a53ac68f8 Log some errors in MoneyAction if they occur 2024-09-05 23:38:52 +08:00
fullwall
4b00b48c21 Make NMS more consistent and reduce static field usage 2024-09-05 23:25:14 +08:00
fullwall
d4501cc372 Fix skin placeholder respawning too much 2024-09-04 08:50:16 +08:00
fullwall
b6234fcd24 Fix migrate path for pathfinding debug 2024-09-03 22:59:05 +08:00
fullwall
ffea6bd2f4 Add /npc command -n 2024-09-03 22:57:52 +08:00
fullwall
f0105a578f Simplify skin.applyAndRespawn slightly 2024-09-02 23:34:23 +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
ceb8d10cd2 Move from trove to fastutil to match Minecraft. Add /npc text speech bubbles duration. Fix old Java back compatibility. 2024-08-31 00:15:54 +08:00
fullwall
a1d208fe1e Move NPC_SPAWNING_IN_PROGRESS metadata 2024-08-26 23:45:11 +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
92628df235 Add /npc forcefield vertical strength 2024-08-25 23:23:17 +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
310ebb1458 Add /npc bat 2024-08-25 17:19:09 +08:00
fullwall
cd24ce0e61 Add refreshDimensions calls to player tick() 2024-08-25 17:08:53 +08:00
fullwall
82851e673c Add setTags method to scoreboard trait 2024-08-25 03:28:54 +08:00
fullwall
3c036f371f Move scoreboard tags outside of team code 2024-08-25 03:11:32 +08:00
fullwall
3cd096f84d Fix NPCShopItem cloning 2024-08-25 03:02:26 +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
2d8267a606 Try getting packet tracker directly, remove some unused string constants in Messages 2024-08-21 01:12:01 +08:00
fullwall
61f7560561 Make /npc skin -l (argless) work 2024-08-21 00:18:34 +08:00
fullwall
0dfbc33aec Update translations from translate.citizensnpcs.co - thanks to Arkyoh 2024-08-20 23:12:46 +08:00
fullwall
757691261c Add /npc shop show [name] (playername) 2024-08-20 23:05:18 +08:00
fullwall
2fcdeec49e Assume auth url has trailing slash 2024-08-20 02:28:48 +08:00
fullwall
73a5cfdee6 Update gravity trait methods to make sense 2024-08-19 20:56:13 +08:00
fullwall
ca12c83c25 Fix auth server url 2024-08-19 20:43:26 +08:00
fullwall
44c697180f Make controllable inner classes static 2024-08-19 15:40:40 +08:00
fullwall
6bfb2a0dd7 Actually this is in a sync context so just null check is fine 2024-08-19 15:10:26 +08:00
fullwall
d0f7ba7695 Make hologram renderer variables volatile 2024-08-19 15:08:14 +08:00
fullwall
e45f4b784d Fix /npc breakblock not breaking the block 2024-08-19 15:00:40 +08:00