Commit Graph

3410 Commits

Author SHA1 Message Date
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
fullwall
5ffd6e40dc Restore AUTH_SERVER_URL functionality 2024-08-19 11:50:15 +08:00
fullwall
412f67c4ef Remove noisy debug 2024-08-19 11:29:34 +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
8ee9ecb5ed Fix text setting loading to allow empty text 2024-08-18 22:03:35 +08:00
fullwall
2caa1b360a Disable object pooling in PhTree 2024-08-16 21:02:06 +08:00
fullwall
b00e99fedb Update to setting type 2024-08-16 10:25:35 +08:00
fullwall
c66ff1eeee Remove hologram debug 2024-08-13 11:23:54 +08:00
fullwall
c291c0513d Make shift click default to moving items in the shop trait and shift right click to copy 2024-08-13 10:54:34 +08:00
fullwall
f43f919df9 Tweak unequipping wolf armor 2024-08-12 20:31:57 +08:00
fullwall
f78c87b576 Add some hologram debug 2024-08-12 08:04:43 +08:00
fullwall
57df21d13b Set wolf armor in BODY slot 2024-08-11 07:13:57 +08:00
fullwall
0bc5d870fb Make pausepathfinding trait reset pitch on unpause, fix trader shops 2024-08-11 07:01:03 +08:00
fullwall
fe2a9990d3 Add Wolf armor equipper 2024-08-08 10:19:19 +08:00
fullwall
c8f6e4f4ec Update anvil code 2024-08-04 13:23:47 +08:00
fullwall
103ecfd369 Fix /npc shop copyfrom 2024-08-03 18:01:09 +08:00
fullwall
f27fe08c9c Use ResourceLocation.tryParse for SoundEvent 2024-07-27 21:03:38 +08:00
fullwall
c9696cc6c1 Change default name renderer to interaction instead of text displays 2024-07-20 22:20:35 +08:00
fullwall
3370fdde5d Fix interaction height on 1.19.4 2024-07-20 18:13:17 +08:00
fullwall
219e016ee7 Make scoreboard trait iterate over NPCs from all registries 2024-07-20 00:45:40 +08:00
fullwall
155d9c9730 Add inventory trait in horseequipper 2024-07-19 23:49:33 +08:00
fullwall
d2dedef737 Drop 1.16 and 1.8 support due to spigot filesize limitations 2024-07-19 13:44:21 +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
7a9a4db787 Move packet tracker unlinking to post-spawn 2024-07-14 22:24:37 +08:00
fullwall
7447351c22 Fix duplicate entity tracker creation 2024-07-14 22:22:51 +08:00