Commit Graph

248 Commits

Author SHA1 Message Date
fullwall f88c2771a8 Use armor stands for holograms 2023-03-30 23:13:38 +08:00
fullwall efff2ff9ab Add /npc enderdragon --destroywalls 2023-03-29 20:01:07 +08:00
fullwall c171e3f29b Sync ender dragon parts 2023-03-29 00:30:56 +08:00
fullwall 84c581dd09 Allow on the fly /npc trackingrange 2023-03-27 02:52:56 +08:00
fullwall 299f781308 Initial 1.19.4 update. Of note: sniffers are known to not be working 2023-03-15 03:37:05 +08:00
fullwall e6f8a47f36 Add config comments, remove subplugins, remove NPCEnderTeleportEvent 2023-03-15 01:41:24 +08:00
fullwall 74a861142b Add durations to settings, allow falling distance to be set for all mobs 2023-03-12 22:30:19 +08:00
fullwall b02a3d8766 Implement player filtering, replace all entity trackers, compatibility update for async entity tracking 2023-03-07 23:58:03 +08:00
fullwall 248e9de2e6 Fix NPCs constantly trying to swim, relicense to LGPL 2023-03-06 00:28:44 +08:00
fullwall 98e95b6ffb Block ignition for protected creepers 2023-03-02 22:52:31 +08:00
fullwall 8235ed160f PICKUP_ITEMS now defaults to false rather than isProtected 2023-02-26 15:51:59 +08:00
fullwall 61fd34df0b Reformat pom 2023-02-23 00:06:13 +08:00
fullwall 8fa5a965e1 Fix logic error in allay reset, code cleanup 2023-02-23 00:00:47 +08:00
fullwall d35dcb8ae7 Trial teleporting players directly without calling PlayerTeleportEvent 2023-02-21 22:56:50 +08:00
fullwall 679873c7d4 Added a name update delay 2023-02-20 23:34:12 +08:00
fullwall 420005c6aa Add isPushable implementations for 1.17-1.19 2023-02-19 00:55:16 +08:00
fullwall bd50e42c52 Get rid of a second stack overflow 2023-02-14 00:46:30 +08:00
fullwall ad218261ff Code size reduction 2023-02-13 21:25:26 +08:00
fullwall 8f43ca70e5 Fix bug in item parsing for holograms, allow arbitrary bounding boxes for BoundingBoxTrait, attempt to unify common code across NMS implementations 2023-02-13 20:32:20 +08:00
fullwall fe4434de91 Don't clear uuid version 2023-02-09 21:09:53 +08:00
fullwall 7244834e34 Make NPCs more likely to swim, add speed setting in water 2023-02-08 22:07:15 +08:00
fullwall c258ad1b9a Send entity teleport packet instead of look only for packet sessions, remove from tablist 2023-01-29 22:15:32 +08:00
fullwall e828782be6 Snowman performance change 2023-01-27 01:54:13 +08:00
fullwall a0439a3272 Mirror result slot 2023-01-06 23:25:57 +08:00
fullwall 1e50f47f92 Correct repair/result inventory fields 2023-01-06 00:50:28 +08:00
fullwall aee977ebb3 Fix some 1.8.8 shop compat 2023-01-06 00:41:47 +08:00
fullwall ffac34f734 Fix player ticking 2023-01-05 22:51:42 +08:00
fullwall 98c5c48c23 Implement new API 2023-01-05 20:05:15 +08:00
fullwall ffef42efb7 Packet NPCs now properly spawn, fix NPE in new pathfinder, fix 1.8.8 compatibility with /npc shop 2023-01-04 23:02:33 +08:00
fullwall e21681fa26 Add /npc hitbox, WIP packet NPCs 2023-01-03 20:55:27 +08:00
fullwall b4280103c1 Simplify PlayerUpdateTask 2023-01-01 18:15:10 +08:00
fullwall b8e79b20cf Implement API, check for invalid Player references, remove Text min/max-cooldown settings and fix Text delay/right click cancellations, make SitTrait work with npc#teleport 2023-01-01 15:26:35 +08:00
fullwall c11da48fc2 Set nophysics flag on setGameMode 2022-12-28 23:14:41 +08:00
fullwall f6823fd842 Refresh sleep timers 2022-12-26 00:53:38 +08:00
fullwall 27603afdf4 Add /npc mirror for skins 2022-12-25 01:37:54 +08:00
fullwall 886d83eeb4 Use new API 2022-12-24 21:43:08 +08:00
fullwall 8c10fe8b18 Use per player metadata API 2022-12-24 19:53:59 +08:00
fullwall 8f21f87867 Be more aggressive with bed packets in older minecraft versions 2022-12-22 23:35:19 +08:00
fullwall 4c958b5e7c Fix custom name components in 1.8.8-1.12.2, 2022-12-22 23:17:28 +08:00
fullwall 75b3ec1ceb Catch NSME on network listener set 2022-12-20 21:35:51 +08:00
fullwall 8d202aa988 Implement metadata 2022-12-19 00:36:53 +08:00
fullwall c6e7ce65f5 Add /npc camel, minor code cleanup 2022-12-18 13:25:08 +08:00
fullwall 46b18eee49 Run cleanup 2022-12-10 13:31:11 +08:00
fullwall b243d9698c Use npc.isProtected() 2022-12-10 13:29:05 +08:00
fullwall 139158cb48 Initial update to 1.19.3 2022-12-08 23:21:09 +08:00
fullwall d34fd48533 Make lookAtFunction use packets for yaw, tweak API further 2022-12-06 23:50:11 +08:00
fullwall c935caa140 Remove some dead code 2022-12-03 21:02:59 +08:00
fullwall ede598cc9b Fix some issues with ShopTrait item costs/results and add NBT filter API. Adjust /npc item to be more flexible. 2022-12-03 18:21:46 +08:00
fullwall 8a65d4a5a0 Add way to set custom name directly 2022-11-30 06:13:55 +08:00
fullwall b8050199f1 Add per-player rotation API 2022-11-28 23:10:50 +08:00
fullwall d9c55b97b0 Implement cancellable variant 2022-11-14 23:53:14 +08:00
fullwall ed9230c680 Implement knockback event 2022-11-13 23:33:18 +08:00
fullwall 7d2a222143 Trial using runtime maven dependencies to reduce jar size 2022-11-13 12:50:45 +08:00
fullwall 35245a580b Fix /npc pickupitems message and for players, null casing for /npc panimate START_SLEEPING 2022-11-10 21:31:32 +08:00
fullwall 73689cf9c2 Widen navigating definition 2022-11-07 23:30:39 +08:00
fullwall f8cdbc4515 Add SleepTrait 2022-10-25 17:07:11 +08:00
fullwall d04ea81225 WIP fix for NPCs not despawning properly 2022-10-17 01:17:32 +08:00
fullwall fc83c28085 Consolidate sit implementation, persist sit location to avoid sinking over successive restarts 2022-10-04 23:42:23 +08:00
fullwall 03e757d411 Fix wither arrow shield typo 2022-09-15 01:01:48 +08:00
fullwall 1977e146d0 Try to deploy parent pom 2022-09-10 10:08:33 +08:00
fullwall d64cfda050 Update poms for new repo 2022-09-09 19:05:23 +08:00
fullwall 1ccc2eae6d Adjust /npc wither charged -> invulnerable, add arrow-shield 2022-09-08 13:28:14 +08:00
fullwall 4347901cab Backport changes 2022-08-22 23:05:57 +08:00
fullwall 972be828a1 Use new netty method 2022-08-04 11:49:42 +08:00
fullwall 7b3c0c8126 Add /npc allay 2022-07-28 06:36:51 +08:00
fullwall 5dbc578fd2 Integrate team creation directly into ScoreboardTrait 2022-07-25 23:14:00 +08:00
fullwall b28348ec52 Cleanup 2022-07-22 16:40:18 +08:00
fullwall d7ce79fe85 Update maven pom plugin version and trial a microoptimisation for players 2022-07-22 15:22:55 +08:00
fullwall 4dfac9c62d Remove team unregistering to ScoreboardTrait, add scoreboard-teams send ticks to assist with a possible scoreboard conflict 2022-07-13 20:09:21 +08:00
fullwall 98c2d3492a Add /npc piglin --dancing 2022-07-07 23:34:15 +08:00
fullwall 36cbef81a7 Fix dropstrait, allow player hurt/death sound to be set 2022-06-24 12:43:23 +08:00
fullwall bf532728d1 Set destination even for non NPCs 2022-06-22 12:35:01 +08:00
fullwall 318596c715 Adjust minecraft pathfinder to look less frequently and pathfind closer to destination in players 2022-06-21 23:52:25 +08:00
fullwall a64ad43d11 Fix block breaker on old versions not picking up the entity held item 2022-06-17 20:36:05 +08:00
fullwall 4768a4f76a Add SitTrait for NPCs 2022-06-14 21:38:15 +08:00
fullwall 2e2a83779e Implement anvil GUI 2022-06-12 19:49:21 +08:00
fullwall 21f3a7755a Implement new API 2022-06-12 01:37:38 +08:00
fullwall d94e83b74c Attempt to update to 1.19 2022-06-08 11:58:22 +08:00
fullwall 8a78c5788f Add SplashPotion for 1.8.8 2022-05-26 16:48:46 +08:00
fullwall 5b274ad7a7 Add ARROW type to 1.8.8 2022-05-11 20:45:11 +08:00
fullwall c03ffef940 Add an arrow type to 1.8.8 2022-05-10 15:12:41 +08:00
fullwall 2341ccfbf9 Update references 2022-04-28 13:47:50 +08:00
fullwall 8694603c85 Refactor PlayerControllerLook into RotationTrait 2022-04-25 02:22:39 +08:00
fullwall 324d94a21f Rename /npc pose --save to /npc pose --mirror and add /npc pose --save to save the current NPC pose 2022-04-24 19:22:55 +08:00
fullwall 3685d33980 Add /npc bossbar --track and fix equipment caching logic 2022-04-23 13:42:48 +08:00
fullwall 53d7a23d9f Renamings from NMS 2022-04-19 15:37:35 +08:00
fullwall b0f1290b58 Change EAT_FOOD to LEAVE_BED in 1.18/17 2022-04-13 11:14:37 +08:00
fullwall 96a5889111 Trial change to knockback in 1.8.8 2022-03-10 03:38:08 +08:00
fullwall 908e678135 entityBaseTick should update some variables 2022-03-10 03:12:43 +08:00
fullwall bd26f30361 Add enchantment method when attacking in 1.8.8 2022-03-10 02:38:39 +08:00
fullwall dfb63084b2 Run source format 2022-02-28 17:01:59 +08:00
fullwall 897c511757 Fix dragon yaw and make it same as rider yaw. Refactor out redundant calculation of yaw 2022-02-20 22:34:29 +08:00
fullwall 97d4c3b117 Make nonliving entities look at entities too, fix /npc lookclose with shulkers spamming noises 2022-02-20 21:56:51 +08:00
fullwall 626b6d6b42 Allow NPCs to push other entities 2022-02-20 21:21:50 +08:00
fullwall ecbab327ed Fix some bugs 2022-02-20 10:04:09 +08:00
fullwall be019c0e83 Refactor blockbreaker, add /npc blockbreak 2022-02-20 01:05:38 +08:00
fullwall b26dfb3d0f Implement new PathStrategy method, improve swimming navigation 2022-02-19 16:36:31 +08:00
fullwall bf56a6dcb2 Add glowing for non-player characters, stop 1.8.8 noDamageTicks from going down too fast 2022-02-15 01:35:07 +08:00
fullwall bef0f16f3b Cancel current move destination when navigator paused 2022-02-02 21:40:19 +08:00
fullwall 5c3878d2f8 Implement destinationTeleportMargin. Tweak pathfinding in an attempt to fix minecraft navigation issues with players. Expect changes. 2022-01-29 14:56:29 +08:00