Commit Graph

3206 Commits

Author SHA1 Message Date
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 edb4f78ceb Remove speed setting code in controllermove 2024-04-15 22:12:20 +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 5f13340dea Add a cleargoals call for rabbits 2024-04-07 14:26:47 +08:00
fullwall 809ef01b5d Fix rabbit evil variant not setting goals with useMinecraftAI turned on 2024-04-07 13:22:40 +08:00
fullwall 3563413c06 Fix anvil inventories in old minecraft versions 2024-04-06 20:34:28 +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 4bfededf7a Add food ticking for players if /npc ai is enabled, update player pose and xp ticks 2024-03-05 10:47:37 +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 a24064ddae Override teleport method in Shulker rather than blocking tick 2024-03-03 18:07:25 +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