destro174
ed3188b37a
Remove unused code
2022-02-19 21:06:41 +01:00
destro174
b4a60683d9
Remove unused check for creative mode
2022-02-19 20:57:34 +01:00
destro174
2c8121dd2c
remove ClaimsMode.Creative
2022-02-19 20:40:52 +01:00
destro174
1d9b5ed1f4
remove ClaimsMode.SurvivalRequiringClaims
2022-02-19 20:31:16 +01:00
destro174
537803028b
remove sieges
2022-02-19 20:07:28 +01:00
destro174
1017a49c41
fix npe when mypet isn't loaded
2022-02-14 10:05:42 +01:00
destro174
bf491d649a
Ignore mypets in listeners
2022-02-14 10:00:17 +01:00
Adam
a844e39865
Fix some issues with splash potions ( #1636 )
...
- Fix NPE on non-player thrower
- Fix non-player thrower warning console when blocked
- Fix only first entity being saved
- Allow dispensers inside the same claim to harm entities with potions (consistent with arrows)
- Fix spamming player on multi-hit/multi-effect
2021-10-25 09:38:33 -07:00
Adam
d930e45440
Fix falling block and vehicle block change handling ( #1424 )
2021-07-16 09:22:15 -07:00
Adam
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
drbot7
fbf4c7c45b
Protect glow item frames ( #1413 )
...
Consistent with regular item frames
2021-06-19 09:52:16 -07:00
Adam
b3774efad8
Check before casting to mob ( #1281 )
...
fixes #1278
2021-02-23 10:39:41 -08:00
RoboMWM
83e89b3772
remove unused lightning strike event handler
2021-01-19 17:29:53 -08:00
Frank van der Heijden
e95b7986e4
Add the involved entities in PreventPvPEvent ( #1186 )
2021-01-09 09:11:28 -08:00
Adam
e74ad1f94b
revert to using static calls instead of instance ( #1017 )
2020-12-09 00:47:39 -08:00
Adam
293142deca
Stop block explosions damaging claimed entities ( #1122 )
...
#1115
2020-11-29 11:54:48 -08:00
Luis Michaelis
97cbd80a70
Allow any type of Zombie to convert villagers. ( #1050 )
2020-10-08 20:53:11 -07:00
Adam
1237276823
Use EnumSet for Material ( #1038 )
2020-10-02 17:35:45 -07:00
Adam
26124d3dee
Finalize fields where possible ( #1021 )
2020-09-20 09:01:37 -07:00
Adam
bf214afe2e
Use enhanced for loop where applicable ( #1016 )
2020-09-19 14:14:11 -07:00
Adam
47cd376610
Remove explicit type declaration ( #1015 )
2020-09-17 08:25:38 -07:00
Frank van der Heijden
cd5046fc71
Stop execution if PreventPvPEvent is canceled ( #998 )
2020-09-07 05:20:12 -07:00
Adam
766b34a970
Add several hostile non-monsters ( #927 )
...
* Add a couple of new/missed hostile cases
* "Zoo" friendliness
* Prevent food attack vector for neutral animals
2020-09-07 05:09:14 -07:00
RoboMWM
ac5a666b8d
remove all suppressions of deprecation warnings
2020-06-20 12:28:25 -07:00
RoboMWM
732fa2e015
these changes are sometimes not getting exported or something
2020-06-08 23:15:52 -07:00
RoboMWM
40f554d386
reformat code
...
- Lots of tabs to spaces going on
- That's a lot of changes!
#63
2020-06-08 21:57:55 -07:00
RoboMWM
8760ad69bc
change priority of some denial events to LOWEST
...
Thanks to OliPulse in IRC, we discovered some events at the wrong
priority in GP.
2020-02-02 13:30:56 -08:00
coralpapa
935e7f8797
Correct item merge handler ( #588 )
...
Fixes #585
2019-08-18 10:49:29 -07:00
coralpapa
08f8d81ca4
Classify damage from fired fireworks as PvP damage
...
Closes #538
2019-08-15 21:38:21 -07:00
RoboMWM
8f3f944cc4
a wild curly brace has appeared
2019-07-29 21:57:07 -07:00
RoboMWM
cdeac80635
config to prevent ravagers from breaking blocks in claims
...
Defaults to true to remain consistent with behavior of preventing
enderman from taking blocks and entities from trampling crops
Closes #530
Also intellij is insistent on replacing tabs
2019-07-29 21:48:33 -07:00
RoboMWM
99a676a6d1
Ignore hanging entities that break due to lack of supporting blocks
...
Closes #573
2019-07-29 21:19:52 -07:00
RoboMWM
c4a0012959
Block lightning from starting fires in claims
...
Should close #532
2019-06-14 00:49:26 -07:00
RoboMWM
a9a7fe41a0
disallow use of dyes in claims
...
Dyes can be used to change sign colors according to cities7
- Also use 1.14 signs
2019-06-09 13:54:54 -07:00
Shane Bee
522d225548
Protect wolves under certain conditions ( #507 )
...
- Protects wolves unless the attacker is being targeted by the wolf.
2019-04-09 21:20:36 -07:00
112madgamer
3a9b253401
Block fire, damage from lightning caused by trident channeling enchant ( #417 )
2018-11-22 01:06:51 -08:00
112madgamer
3e1e058001
Allow Donkey and llama protection to be disabled ( #406 )
2018-11-03 01:38:45 -07:00
RoboMWM
5bb3c70b77
Prevent drivers in unauthorized claims from destroying lilypads. Fixes #250
2018-09-19 01:02:37 -07:00
RoboMWM
59196f4742
Also protect pets from cacti, drowning in non-PvP worlds.
...
Closes #213 , #79
2018-09-19 00:28:29 -07:00
RoboMWM
e21a781536
Cancel item merging with protected drops. Closes #255
2018-09-19 00:02:40 -07:00
RoboMWM
0581f7314a
Don't destroy tridents, mitigates #330
2018-08-17 09:20:41 -07:00
zedwick
19c0f3220f
The 1.13 PR ( #320 )
...
- Removes all code and config pertaining to the "mods" config section
- RestoreNature has issues in oceans
2018-08-13 06:53:14 -07:00
Kris
2f5a2eea9c
Allow wither to break blocks in claims that have temporarily allowed explosions
2018-06-17 16:50:57 -07:00
Narimm
b38e4aedb6
Refactor to maven standard layout ( #270 )
2018-06-11 23:11:37 -07:00