Commit Graph
339 Commits
Author SHA1 Message Date
AdamandGitHub 528f9f9777 Update to 1.17 (#1448)
* Update to include 1.17 materials and tags

* Use world height for claim max height

* Account for worlds with min height < 0

Fix restore not working under y 0
Change default max claim depth to integer min value
Fix creative claims always going to 0, not world min height

* Update material listings to include new blocks
  * Fixes a few missed cases from previous versions
* Replaced claim to bounding box bandaid for world max height increase with actual world limit
* Account for worlds with min height less than zero
  * New default maximum depth is now integer min value (-2147483648) to not restrict users no matter how weirdly they set up worlds
  * Creative claims always extend to world min height, not 0
  * RestoreNature restores to a max depth of world min height instead of 0

Closes #1309 
Closes #1431
2021-07-10 12:31:12 -07:00
AdamandGitHub 6727fa76e3 Fix deprecated claim API (#1439)
Closes #1438
2021-07-04 11:38:39 -07:00
AdamandGitHub bbb1e5d58c Add ClaimPermissionCheckEvent (#1006)
Also contains a bit of refactoring on internal logic. Modifies (secondary) siege mechanics.

* Un-couple siege from core claim functions

* UUID overload, documentation, naming clarity

* Add internal special message override support

* Fix permission calculation issues in subclaims

* Migrate egg handling to new methods

* Use suppliers for denial message

In many use cases addons don't care why a denial occurred, only that it did. On-demand calculation is vastly preferable to reduce server impact.
2021-06-24 01:28:59 -07:00
drbot7andGitHub fbf4c7c45b Protect glow item frames (#1413)
Consistent with regular item frames
2021-06-19 09:52:16 -07:00
zhenghanleeandGitHub f4680c4051 Change method signature of allowBreak method in main class (#1406) 2021-06-17 14:11:46 -07:00
AdamandGitHub cac5aa04f1 Prevent nametag usage unless player can kill target (#1337)
Addresses discussion #1333
2021-05-29 12:36:02 -07:00
RoboMWM 64df0e8297 don't delete claims in unloaded worlds in flatfile storage
Closes #1338
2021-05-29 12:33:41 -07:00
AdamandGitHub e6d608bcb9 Fix ignoring height (#1260) 2021-04-07 19:33:44 -07:00
AdamandGitHub b3774efad8 Check before casting to mob (#1281)
fixes #1278
2021-02-23 10:39:41 -08:00
RoboMWM 8956a37e9d use git describe variable for version
I wish there was an inverse of describe-short, i.e. only includes the
count + commit hash
2021-01-24 12:00:24 -08:00
RoboMWM 83e89b3772 remove unused lightning strike event handler 2021-01-19 17:29:53 -08:00
RoboMWM 6ac16665b3 Add cocoa to farm blocks
closes #839
2021-01-19 17:29:23 -08:00
YanisBftandGitHub 5a70d694e7 Prevent egg hatching in claims without container permission (#1128) 2021-01-13 08:17:38 -08:00
Frank van der HeijdenandGitHub e95b7986e4 Add the involved entities in PreventPvPEvent (#1186) 2021-01-09 09:11:28 -08:00
Erik EideandGitHub 7ce30c6bec Allow for sqlite backend to be used (#1157) 2020-12-18 08:55:02 -08:00
329bfb54de Add waterlogging check for buckets (#1156)
Co-authored-by: Adam <[email protected]>
2020-12-16 12:32:43 -08:00
AdamandGitHub 1edd0a921e Fix resizing 1-wide claims (#1148) 2020-12-12 10:33:29 -08:00
AdamandGitHub d126b90ce9 Fix rounding error on partial negative coordinates (#1147) 2020-12-11 09:18:03 -08:00
Frank van der HeijdenandGitHub c014901b7a Prevent doublechests forming on claim boundary (#1054) 2020-12-10 11:13:44 -08:00
AdamandGitHub 3350e2a0bf Fix claim bounding boxes not covering whole claim (#1145) 2020-12-10 09:56:14 -08:00
AdamandGitHub 03ab872f6d Fix reversed conditional (#1138) 2020-12-09 08:02:46 -08:00
AdamandGitHub f01798fb46 Refactor pistons to use new bounding box (#1139) 2020-12-09 07:59:35 -08:00
AdamandGitHub e74ad1f94b revert to using static calls instead of instance (#1017) 2020-12-09 00:47:39 -08:00
AdamandGitHub de7a1372f0 Avoid requesting invalid names from Mojang (old UUID conversion code) (#1092) 2020-12-09 00:31:38 -08:00
AdamandGitHub d5c5e4983e Refactor boundary checks into unified bounding box (#1126) 2020-12-09 00:28:22 -08:00
AdamandGitHub 293142deca Stop block explosions damaging claimed entities (#1122)
#1115
2020-11-29 11:54:48 -08:00
RoboMWM eaaa42365e reinstate default of max accrual blocks to 80k
comment in #1107

c7327d4#diff-bd72da6eb91964fbaa474bafcaac56434a55926a9743ec41c3dba6de30eedc86L531

This is when it changed, when he added the multiple accrual rate
permissions.
2020-11-28 22:28:08 -08:00
AdamandGitHub 8465d19d28 Update to current Biome API (#1044) 2020-11-18 07:46:57 -08:00
AdamandGitHub 1f98733f3b Fix claims in other worlds preventing piston movement with EVERYWHERE_SIMPLE(#1099) 2020-11-15 06:15:00 -08:00
AdamandGitHub 8c7abf9fd5 Piston should not be included in moved block bounding box (#1088) 2020-11-05 09:04:27 -08:00
AdamandGitHub e1086c3206 Fix incorrect retract check and everywhere modes checking subclaim (#1083)
* Retraction checked block behind piston when no blocks were moved
* Everywhere modes are supposed to ignore subclaims, so piston claim should not be a subclaim
2020-10-29 09:52:43 -07:00
AdamandGitHub 0ceb6f8e21 Fix subclaims being added to chunk claims map when resized (#1082) 2020-10-29 09:23:33 -07:00
FreeMonoidandGitHub 746f10449d Fix restore nature removing top level of liquids (#1066) 2020-10-23 19:41:46 -07:00
FreeMonoidandGitHub 03074bf934 Make placing and breaking boats use containertrust (#1065)
Consistent with minecarts
2020-10-23 19:36:47 -07:00
Frank van der HeijdenandGitHub af25b289f4 Fix piston checks in subclaims (#1056) 2020-10-11 21:21:43 -07:00
jacob1andGitHub a34a0fecab Fix piston retraction checking one block further than it needs to (#1036) 2020-10-11 21:15:54 -07:00
Frank van der HeijdenandGitHub e4a666f8be Make sound of piston explosions toggleable (#996) 2020-10-11 20:59:17 -07:00
Luis MichaelisandGitHub 97cbd80a70 Allow any type of Zombie to convert villagers. (#1050) 2020-10-08 20:53:11 -07:00
AdamandGitHub ddd57834aa Remove duplicates, move to Tags where possible (#1041) 2020-10-07 08:41:00 -07:00
AdamandGitHub 2df648f50f Update and improve economy handling (#1042) 2020-10-05 20:34:11 -07:00
AdamandGitHub 287bf2202f Fix /gpblockinfo causing legacy load (#1043) 2020-10-04 16:07:22 -07:00
AdamandGitHub 6e42ed0da4 Fix WordFinder matching anything with empty BannedWords.txt (#1045) 2020-10-04 15:24:52 -07:00
AdamandGitHub 1237276823 Use EnumSet for Material (#1038) 2020-10-02 17:35:45 -07:00
AdamandGitHub dbe4a106bd Fix new config node not being created (#1040) 2020-10-02 13:05:08 -07:00
AdamandGitHub 74700dc3de Add option to enforce a minimum claim size for automatically-generated claims (#1037) 2020-10-02 09:02:37 -07:00
DrBot7andGitHub 6e055c90c3 Stop boats from breaking item frames in claims (#1029) 2020-09-26 12:54:19 -07:00
AdamandGitHub 9622eea434 StringBuilder#append should not contain concatenation (#1020) 2020-09-20 09:06:53 -07:00
AdamandGitHub 26124d3dee Finalize fields where possible (#1021) 2020-09-20 09:01:37 -07:00
AdamandGitHub bf214afe2e Use enhanced for loop where applicable (#1016) 2020-09-19 14:14:11 -07:00
AdamandGitHub 47cd376610 Remove explicit type declaration (#1015) 2020-09-17 08:25:38 -07:00