Commit Graph

45 Commits

Author SHA1 Message Date
tastybento
9ffe0c740a Refactor code to enable golem spawning. #180 2024-01-09 17:47:24 +09:00
tastybento
6b770d083e Fix tests. Use world#nearbyEntities method. 2023-04-15 12:15:14 -07:00
tastybento
68f696a46c
Merge pull request #166 from emmanuelvlad/new-placeholders 2023-04-10 06:52:59 -07:00
evlad
97006d28c1 huge performance boost for entity limit 2022-11-07 02:05:09 +01:00
Piotr Skiba
989ebcba7b disable villagers breeding when limit is reached 2022-09-28 00:08:05 +02:00
BONNe
baa73b76a5
Merge pull request #160 from YellowZaki/develop
Turned into a Pladdon
2022-03-25 21:18:06 +02:00
YellowZaki
d7bff1df7d Turned into a Pladdon 2022-03-25 17:29:27 +01:00
tastybento
1a7d2b8f3e
Merge pull request #156 from YellowZaki/develop
Fixes Villager limit
2022-01-21 18:55:21 -08:00
tastybento
e8dffc76f5 Avoid NPE with ibc
https://github.com/BentoBoxWorld/Limits/issues/157
2022-01-21 18:53:45 -08:00
Alberto
fe0e935e14
Fixes Villager limit 2022-01-09 20:50:34 +01:00
tastybento
360ba0b2de Rework how offsets are used.
https://github.com/BentoBoxWorld/Upgrades/issues/40
https://github.com/BentoBoxWorld/Limits/issues/117
2022-01-02 16:31:02 -08:00
tastybento
4cff598aee Fix bugs in map keys and groups. Fix code smells. 2021-12-25 09:10:53 -08:00
tastybento
51408751a6 Code clean up. Java updates. 2021-12-22 14:37:10 -08:00
tastybento
0248c398f6 Enable Op or mod override for breeding. 2021-12-22 13:43:45 -08:00
tastybento
d6f12c29dc Prevent breeding using breeding event 2021-12-22 12:16:02 -08:00
tastybento
14c38869df WIP try to use EntityBreedEvent to track breeding 2021-12-22 09:19:00 -08:00
tastybento
76c582ba1d Added API to enable offset for limits. 2021-09-06 17:11:02 -07:00
tastybento
4c5fdd6390 Remove async around entity call
https://github.com/BentoBoxWorld/Limits/issues/135
2021-07-24 14:13:44 -07:00
tastybento
6a2768e572 Adds setting option for async golum checking
https://github.com/BentoBoxWorld/Limits/issues/127
2021-05-03 16:22:42 -07:00
tastybento
dc4efb2a0c Entity limiting was happening in BentoBox worlds not specified in config 2021-02-21 19:02:50 -08:00
tastybento
514f2158cc Remove Wither from async checking
The fake wither explosion was not convincing enough...

If we ever get an API to set the summoned wither state then this could
be put back in.
2020-12-22 09:40:09 -08:00
Baterka
90b5a65c62 Fixed https://github.com/BentoBoxWorld/Limits/issues/114 2020-11-24 15:43:37 +01:00
tastybento
4f92611df0 Check for specific types and not classes
https://github.com/BentoBoxWorld/Limits/issues/105
2020-09-30 14:46:07 -07:00
tastybento
d0e7ec0d68 Adds tests for EntityLimitListener 2020-09-27 16:54:00 -07:00
tastybento
3b367407ae Fixes uncounting of blocks used by wither, golem or snowman making
https://github.com/BentoBoxWorld/Limits/issues/103
2020-09-20 09:07:35 -07:00
tastybento
0c107f2bab Temporarily not do async checked for entity spawns
https://github.com/BentoBoxWorld/Limits/issues/98
https://github.com/BentoBoxWorld/Limits/issues/100
2020-09-17 18:54:02 -07:00
tastybento
33d16d16e2 Add special handling for armor stands for jetsminions
https://github.com/BentoBoxWorld/Limits/issues/99
2020-09-12 07:42:46 -07:00
tastybento
1870a309f7 Handles golem, wither and snowman orientations
https://github.com/BentoBoxWorld/Limits/issues/97
2020-09-11 18:43:36 -07:00
tastybento
07101c72dc Possible fix for dupe exploits
https://github.com/BentoBoxWorld/Limits/issues/97
2020-09-10 19:19:49 -07:00
tastybento
d3a5c23cf0 Reworked entity limits to avoid glitching.
https://github.com/BentoBoxWorld/Limits/issues/95
2020-09-06 18:30:05 -07:00
tastybento
989143d218 Removed code smells. 2020-07-26 14:35:05 -07:00
tastybento
088f853f0a Removed debug 2020-07-26 14:24:03 -07:00
tastybento
64b25b0ca6 Fixed bug where world entities were counted. 2020-07-25 08:15:55 -07:00
tastybento
b9ea6ecddd Added type chevrons 2020-06-26 16:22:18 -07:00
wea_ondara
54cb8b3a10 fix limits for simple entity limit 2020-04-12 15:00:09 +02:00
wea_ondara
cc6781bf44 fix group limits when limit is -1 2020-04-12 15:00:03 +02:00
wea_ondara
346f2b8ed8 integrate group limits into limit messages in entity listener 2020-04-12 14:59:55 +02:00
wea_ondara
f77c48218a added entity group limits via permissions to islands 2020-04-12 14:55:30 +02:00
wea_ondara
e0c208e049 added entity group limit settings 2020-04-12 14:55:21 +02:00
tastybento
086d251d3f Changed to use notify instead of sendmessage to avoid spam
https://github.com/BentoBoxWorld/Limits/issues/75
2020-03-28 11:15:29 -07:00
tastybento
4cb061d594 Avoids counting entities if the type spawned is not limited.
https://github.com/BentoBoxWorld/Limits/issues/74
2020-03-25 21:00:37 -07:00
tastybento
8fa551ff7c Bug fixes
Fixes https://github.com/BentoBoxWorld/Limits/issues/62
2020-01-11 09:38:45 -08:00
tastybento
789b73d3b3 Fixed bugs with adding entity perm limits.
https://github.com/BentoBoxWorld/Limits/issues/47
2020-01-10 16:08:21 -08:00
tastybento
fb6f6757d5 Added permission limits for entities
https://github.com/BentoBoxWorld/Limits/issues/47
2020-01-09 14:42:37 -08:00
tastybento
6abd0e3588 Renamed package to world.bentobox for CI 2019-12-16 07:47:51 -08:00