Commit Graph

1323 Commits

Author SHA1 Message Date
fullwall
81c666eca2 Fix some bugs with command errors 2024-06-12 10:56:05 +08:00
fullwall
6bb52c0515 Specify key type in attribute trait 2024-06-08 17:24:41 +08:00
fullwall
613770bd4e Text display component has a different index on 1.19.4 2024-06-06 18:48:29 +08:00
fullwall
d4b41bd0cd Fix protocollib integration and overwrite text display component 2024-06-06 18:22:56 +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
c6207e6d99 Added /npc hologram bgcolor 2024-06-05 20:04:27 +08:00
fullwall
b899e26c39 Fix initialisation order of locationlookup 2024-06-05 10:27:04 +08:00
fullwall
ff5b718a17 Make hologram renderer impl static 2024-06-05 10:10:51 +08:00
fullwall
f9e78c732d Move display holograms around 2024-05-31 11:31:22 +08:00
fullwall
224b43d75b Implement new /template generate command, bugfixes 2024-05-30 12:00:17 +08:00
fullwall
b12732d805 Manually update to adventure snapshots to fix 1.20.6 adventure 2024-05-08 21:32:43 +08:00
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