Commit Graph

77 Commits

Author SHA1 Message Date
fullwall 74a861142b Add durations to settings, allow falling distance to be set for all mobs 2023-03-12 22:30:19 +08:00
fullwall 420005c6aa Add isPushable implementations for 1.17-1.19 2023-02-19 00:55:16 +08:00
fullwall e21681fa26 Add /npc hitbox, WIP packet NPCs 2023-01-03 20:55:27 +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 cdb75dbc96 Add warning for npc select within commands 2022-12-27 19:57:48 +08:00
fullwall 4c958b5e7c Fix custom name components in 1.8.8-1.12.2, 2022-12-22 23:17:28 +08:00
fullwall 5a82133200 Switch to use new method 2022-12-18 13:50:19 +08:00
fullwall 8f29e6ff73 Plugins seem to mess with netty versioning so just always create metadata 2022-12-14 23:31:25 +08:00
fullwall 5254f65945 Add camel to horse types 2022-12-10 15:56:55 +08:00
fullwall 2034ca6bf0 Add CommandAction 2022-12-10 13:42:07 +08:00
fullwall a74e40eb1d Default to using channel metadata 2022-12-04 03:24:57 +08:00
fullwall 9da5ac7a37 Minimise netty version 2022-12-04 01:00:50 +08:00
fullwall b00ef080c0 Adjust ChannelMetadata Netty version 2022-12-01 22:39:26 +08:00
fullwall cda8aceb5d Minor changes 2022-11-06 23:19:08 +08:00
Peridot 2a4f222c3e
Don't use google commons in Util#requiresNettyChannelMetadata (#2907)
* Improve Util#requiresNettyChannelMetadata

* Fix comment

* Don't use google commons in Util#requiresNettyChannelMetadata
2022-10-03 09:12:39 +08:00
Peridot bfc7a540cf
Improve Util#requiresNettyChannelMetadata - support newer netty version (#2901)
* Improve Util#requiresNettyChannelMetadata

* Fix comment
2022-10-02 02:44:16 +08:00
fullwall f2021cd60e Use @Arg in NPCCommands 2022-09-08 03:01:39 +08:00
fullwall 0645934c1e Clamp yaw properly for smoothrotationtrait 2022-08-09 23:07:48 +08:00
fullwall 0afeb4792d Use EntitiesLoadEvent instead of ChunkLoadEvent, other minor fixes 2022-08-04 11:48:48 +08:00
fullwall 70d7cfa6f2 Work on npc shop; now possible to buy and sell 2022-07-27 17:05:52 +08:00
fullwall 9cf7779ff4 Work on /npc shop, QoL tweaks, fix scoreboard team removal 2022-07-26 23:50:28 +08:00
fullwall 5dbc578fd2 Integrate team creation directly into ScoreboardTrait 2022-07-25 23:14:00 +08:00
fullwall 71bc177298 Try scanning the online players less 2022-07-25 15:53:34 +08:00
fullwall d94e83b74c Attempt to update to 1.19 2022-06-08 11:58:22 +08:00
fullwall 7f1bb5b2b7 Fix yaw/pitch calculations for face towards yaw/pitch 2022-06-05 15:43:46 +08:00
fullwall 8a68b575a2 Reduce skin update distance 2022-05-22 17:39:47 +08:00
fullwall e88a7b6278 Clean up Util 2022-04-19 15:33:52 +08:00
fullwall f358f6fb2e Work towards lookclose rotation speed changing 2022-04-19 15:20:59 +08:00
fullwall 2c8b1864d8 Null check enderdragon bossbar again, set blank hologram names to hover 2022-03-23 20:57:18 +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 927d27e09c List profession/rabbit type values using the pretty formatter 2022-01-27 10:48:52 +08:00
fullwall 7683516d62 Avoid setting NPC.COLLIDABLE_METADATA on Player NPCs 2022-01-20 17:10:52 +08:00
fullwall 1ee92a07ea Implement cross-world teleporting for NPCs 2022-01-16 14:05:23 +08:00
fullwall 3da3cc2ae8 Fix /npc villager --profession error message, more sane boundingbox calculation 2021-11-27 12:19:19 +08:00
fullwall caff1e9ba4 As a safety measure limit maxY <0.6D 2021-11-21 22:14:01 +08:00
fullwall 61c6863d5f Trial collision box checking for pathfinding to assist with half blocks - needs testing especially with doors 2021-11-21 22:12:17 +08:00
fullwall 9c8d26e73b Use new waterlogged methods 2021-06-25 17:01:18 +08:00
Alex "mcmonkey" Goodwin 4dc123bb4b
Refactor scoreboard handling to use instant scoreboard application at spawn (#2544)
Full description in PR https://github.com/CitizensDev/Citizens2/pull/2544
2021-05-08 02:02:17 +08:00
fullwall c24ce1e1ed Use NMS methods for isSolid checking 2021-04-30 10:31:25 +08:00
fullwall 352ec56f5e Add more fallback material 2021-02-10 22:02:14 +08:00
fullwall e6eac4e675 Fix push events with listeners 2021-01-17 07:05:35 +08:00
fullwall 97fae0a7e4 Add UUID to /npc 2021-01-04 00:18:34 +08:00
fullwall c366b5f79e Add missing Util changes 2021-01-03 00:14:00 +08:00
fullwall 7743763d3c Refactor common code, add missing condition 2020-11-14 18:41:21 +08:00
fullwall 002b2b61ff Also cancel push event if not collidable 2020-07-06 21:48:57 +08:00
fullwall c2467b7a25 Adjust horse pathfinding 2020-05-12 16:48:21 +08:00
Alex "mcmonkey" Goodwin 30f2dee4d7
Reduce potential for errors with packet teams (#2138)
* Reduce potential for errors with packet teams

Move scoreboard removal out of NMS to event method, and make more unique names

* remove unneeded isCancelled check
2020-05-05 18:20:56 +08:00
Alex "mcmonkey" Goodwin 2c24671ae3
simplify scoreboard patch to be 100% packet based (#2129)
* simplify scoreboard patch to be 100% packet based

which fixes edge case client errors

* fix edge cases of respawning and multinpc boards
2020-05-01 17:49:25 +08:00
fullwall a2208f0d32 Minor style changes 2020-05-01 01:47:07 +08:00
Alex "mcmonkey" Goodwin 981ade8974
patch the majority of potential scoreboard packet errors (#2128) 2020-05-01 01:39:07 +08:00