Commit Graph

1362 Commits

Author SHA1 Message Date
fullwall
2dd4a2001b Check for item meta presence as well 2024-05-08 03:21:53 +08:00
fullwall
bb43940a0a Make command item missing-item error use display name if present 2024-05-08 03:19:55 +08:00
fullwall
28e2e87a80 Rework command costs to split global and command costs up 2024-05-07 10:03:17 +08:00
fullwall
f2241cf104 Add /npc boat, misc cleanup 2024-05-06 02:11:34 +08:00
fullwall
26706f658d Add /npc attribute 2024-05-04 00:48:08 +08:00
fullwall
d1798eb8a2 extra line 2024-04-29 23:29:34 +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
245d76a78c Add /npc wolf --variant and /npc armadillo 2024-04-24 06:04:02 +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
5533961066 EXPERIMENTAL: trial not updating scoreboard every tick 2024-04-22 17:40:12 +08:00
fullwall
b09a8bae56 Null check hologram entity 2024-04-22 16:14:54 +08:00
fullwall
77d34b53e6 Fix inconsistency in canNavigate where flyable/living status was not respected 2024-04-21 23:24:37 +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
1b32596c37 Allow colors in money item shop editor 2024-04-15 22:30:53 +08:00
fullwall
d3c0205d9e Bugfix TextDisplayVehicleRenderer 2024-04-15 20:21:26 +08:00
fullwall
ccce76d9f0 Add some interaction debug for holograms 2024-04-15 15:47:59 +08:00
fullwall
b0ba7b2062 Further bugfixes for item holograms 2024-04-15 13:08:02 +08:00
fullwall
fe5a088f7a Correct item hologram offset as well 2024-04-15 12:17:01 +08:00
fullwall
1e368e71a5 Fix two bugs with new hologram trait impl 2024-04-15 11:14:24 +08:00
fullwall
9fb4b11ce7 Add back getNameEntity internal method to fix denizen compat 2024-04-15 01:56:10 +08:00
fullwall
3d44a09756 Armorstand renderer should incorporate entity height 2024-04-15 01:48:17 +08:00
fullwall
cd7f3366ab Rework hologram rendering (WIP: text displays not yet functional) 2024-04-15 01:42:09 +08:00
fullwall
fcd2908723 Try parsing commands early in /npc rename to avoid index out of bounds 2024-04-06 12:41:56 +08:00
fullwall
9729e356a5 Add /npc wither --invulnerableticks command 2024-03-31 23:10:01 +08:00
fullwall
8cf37b0ecc Give item holograms the same tracking range as the base hologram 2024-03-27 16:18:11 +08:00
fullwall
321088784c Check player world in lookclose 2024-03-25 00:39:47 +08:00
fullwall
8f538721cc Modify items in ItemAction 2024-03-24 00:53:47 +08:00
fullwall
8696a5709e Use new API 2024-03-23 23:46:09 +08:00
fullwall
45fff0f420 Fix incorrectly inverted canSee check breaking getNearbyPlayers 2024-03-23 20:47:11 +08:00
fullwall
4090a625e9 Remove debug message 2024-03-23 20:38:31 +08:00
fullwall
c1b7a99bd8 Push InventoryMultiplexer type down to allow for inventory refreshing 2024-03-18 23:36:42 +08:00
fullwall
70ac5c9193 Make /npc shop delete (name) output a message, send head yaw packet to just the viewer rather than cached nearby players, bump translations 2024-03-16 23:10:12 +08:00
fullwall
a9b85961a9 Null check entity in death event 2024-03-12 23:48:13 +08:00
fullwall
3c314c1d3e Add a helper method to NPCShopAction to save the inventory properly 2024-03-11 22:44:40 +08:00
fullwall
c683b752a5 Rewrite itemaction to use the provided item array 2024-03-11 20:37:30 +08:00
fullwall
40a60fbc8f Remove push override as Paper broke source compatibility 2024-03-10 11:52:38 +08:00
fullwall
6642923b49 Fix /npc passive flipped message 2024-03-08 12:16:31 +08:00
fullwall
e757344d41 Another attempt to avoid charging costs inappropriately 2024-03-07 01:59:47 +08:00
fullwall
b6e6a66eb3 Update translations 2024-03-05 10:17:23 +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
903ba91b4c Delete old template code 2024-03-04 20:46:36 +08:00
fullwall
249fa6675d Added missing spawned check 2024-03-04 02:33:31 +08:00
fullwall
143e642802 Add missing NMS commit 2024-03-03 23:15:50 +08:00
fullwall
ed117eac96 Try to detect sneaking state onAttach for SneakTrait 2024-03-03 23:14:11 +08:00
fullwall
b6f5184192 Further command trait cleanup of /npc command clearerrors and added /npc command forgetplayer 2024-03-03 18:49:45 +08:00
fullwall
473135c7fb Rework individual command cost to be a value flag rather than an argument, reduce public-facing command ID exposure 2024-03-03 18:20:09 +08:00
fullwall
40c6b4b85e Add toggle trait command back 2024-03-03 14:57:51 +08:00
fullwall
0491f5ed20 Remove using_templates metric 2024-03-03 01:39:21 +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
716bc4730b Fix JSON 2024-03-02 22:37:24 +08:00
fullwall
2c501409ab Add untranslated help keys 2024-03-02 22:36:07 +08:00
fullwall
52bb50fd8c Add missing description messages, and prompt users to join Discord to contribute to translations 2024-03-02 22:29:05 +08:00
fullwall
b629eab8be Translation bump 2024-03-02 22:09:07 +08:00
fullwall
88bfd3baa1 Update translations 2024-03-01 22:31:10 +08:00
fullwall
992acc5c56 Null check death message 2024-03-01 19:20:29 +08:00
fullwall
81bc83d15a Utilise new API 2024-03-01 01:03:30 +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
3869e310a2 Trial protocollib change suggested in #3097 2024-02-28 01:57:23 +08:00
fullwall
5a33c5cdbf Add korean translation kindly contributed by mangchi57 2024-02-28 01:04:32 +08:00
fullwall
3c8429aa6d Nullcheck getShopType() 2024-02-25 01:07:30 +08:00
fullwall
a8f37635f8 Make trader view work, with limitations 2024-02-19 05:50:16 +08:00
fullwall
8864d89791 Preliminary trader view support for /npc shop 2024-02-19 05:41:48 +08:00
fullwall
f498391c1f Replace $/{ in shop placeholders 2024-02-18 21:06:02 +08:00
fullwall
19f08c4607 Attempt to replace the entity tracker without sending packets for initial spawn. EXPERIMENTAL: needs testing. Also add /npc armorstand --headpose 2024-02-18 00:44:38 +08:00
fullwall
4d1b3ee357 Remove STORAGE_TYPE setting, fix a few setting comments 2024-02-11 01:13:49 +08:00
fullwall
e60bb33508 Add new metric 2024-02-11 00:57:37 +08:00
fullwall
d557be5f35 Use new pathfinder should be loaded 2024-02-10 23:58:04 +08:00
fullwall
66708ac314 Add /npc command cycle 2024-02-05 00:05:51 +08:00
fullwall
deded77f34 Add a setNavigationType NMS method 2024-01-29 22:24:43 +08:00
fullwall
a5fea96114 Cancel follow navigation if parameters are changed 2024-01-29 20:20:26 +08:00
fullwall
95d678312b Add a 1 second delay for failed chair spawns 2024-01-29 02:07:51 +08:00
fullwall
44e68147ab Fix hand recording 2024-01-26 23:43:50 +08:00
fullwall
c3791d162f Fix for commands with multiple preconditions 2024-01-26 19:48:53 +08:00
fullwall
dbd9cdf1f1 Fix hand tracking 2024-01-26 18:55:11 +08:00
fullwall
af728ec4b1 Set hologram tracking range to the same as the npc's 2024-01-21 15:47:00 +08:00
fullwall
647215e8dd Fixes to per-player name holograms 2024-01-18 17:22:22 +08:00
fullwall
4529f7dc39 Use new method 2024-01-18 15:37:37 +08:00
fullwall
1f1b0debbe Despawn NPCs on chunk borders 2024-01-13 22:48:27 +08:00
fullwall
107e3b3296 More robust backwards compat 2024-01-13 14:05:57 +08:00
fullwall
cd25930373 Fix canSee(Entity) not existing on old minecraft versions 2024-01-13 14:02:12 +08:00
fullwall
8ca8c14f89 Reset packetrotationsession yaw to physical yaw on removal 2024-01-07 17:06:55 +08:00
fullwall
1416557ce3 Fix protocollib detection for /npc mirror 2024-01-02 23:31:02 +08:00
fullwall
007c92f797 Consolidate body yaw implementations 2023-12-22 15:59:20 +08:00
fullwall
d005c228ff Move PlayerShearEntityEvent handling to EventListen to cover for snowman 2023-12-22 04:15:00 +08:00
fullwall
4e4112d531 Bump adventure dependency 2023-12-22 02:21:18 +08:00
fullwall
ea2df83ca5 Avoid NPE for rotationtrait removal 2023-12-14 21:06:50 +08:00
fullwall
ccf4f6b085 Fix guided waypoint provider 2023-12-11 23:39:34 +08:00
fullwall
06b0e2d800 Don't set body yaw with head yaw 2023-12-11 23:17:34 +08:00
fullwall
7d2b50be40 Missed messages file 2023-12-03 16:08:44 +08:00
fullwall
c81aa299fb Add /npc snowman -f to form snow 2023-12-03 12:33:46 +08:00
fullwall
e4fba63408 Fix template#getTemplates() 2023-12-03 01:16:34 +08:00
fullwall
49036e1967 Support FollowTrait on 1.8.8 2023-12-02 14:55:37 +08:00
fullwall
a1e4255771 Redecompile 1.20.2 minecraft pathfinder 2023-12-01 23:43:58 +08:00
fullwall
7a676e3420 Default sneaking in sneaktrait to true 2023-12-01 22:42:43 +08:00
fullwall
578b8d38c1 Remove metadata clearing code 2023-11-29 22:53:42 +08:00