Skip to content

Numerous Entity interactions bypass /is limits #184

@Alasdairbugs

Description

@Alasdairbugs

Expected behavior

/is limits should restrict entities spawning or persisting if the limit is maximised to a figure set in the config file.

Observed/Actual behavior

Multiple entities ignore this.

  • Iron Golem
  • Villager
  • Zombie Pigman
  • Witch

to name a few. Possibly additional entities

  • slime
  • magma cube
  • zombie

Steps/models to reproduce

The entities listed can bypass the limits in several ways

  • Lightning strikes villagers, converting to witches which can bypass the limit. Natural mob spawns can also spawn additional witches despite the limit being reached in this way from observations.
  • villagers in immediate danger can spawn iron golems which seem to bypass limit if other golems are built in another section of the island, far away.
  • pigs struck by lightning to zombie pigman can bypass the limit
  • villagers can bypass limit by breeding from observations

My thoughts are that not all possible ways of generating an entity are considered, so the limit for which a mob is counted for is not checked in some way.

therefore, zombie reinforcement spawning, or silverfish spawning from infested blocks or endermite generation, zombie pigman portal generation, etc., are perhaps not considered too (untested).

BentoBox version

[22:30:31 INFO]: Running PAPER 1.20.4.
[22:30:31 INFO]: (git-Paper-463 (MC: 1.20.4))
[22:30:31 INFO]: BentoBox version: 2.2.0
[22:30:31 INFO]: Database: JSON
[22:30:31 INFO]: Loaded Game Worlds:
[22:30:31 INFO]: bskyblock_world (BSkyBlock): Overworld
[22:30:31 INFO]: Loaded Addons:
[22:30:31 INFO]: Bank 1.7.1 (ENABLED)
[22:30:31 INFO]: Biomes 2.1.1 (ENABLED)
[22:30:31 INFO]: BSkyBlock 1.17.1 (ENABLED)
[22:30:31 INFO]: Challenges 1.1.0-SNAPSHOT-LOCAL (ENABLED)
[22:30:31 INFO]: ControlPanel 1.13.1 (ENABLED)
[22:30:31 INFO]: DimensionalTrees 1.7.0 (ENABLED)
[22:30:31 INFO]: Likes 2.3.0 (ENABLED)
[22:30:31 INFO]: Limits 1.19.0 (ENABLED)
[22:30:31 INFO]: Visit 1.4.0 (ENABLED)
[22:30:31 INFO]: Warps 1.14.0 (ENABLED)

Plugin list

[22:29:58 INFO]: Server Plugins (50):
[22:29:58 INFO]: Paper Plugins:
[22:29:58 INFO]: - Minepacks
[22:29:58 INFO]: Bukkit Plugins:
[22:29:58 INFO]: - AdvancedRegionMarket, AltDetector, BentoBox, BentoBox-Bank, BentoBox-Biomes, BentoBox-BSkyBlock, BentoBox-Level, BentoBox-Warps, BlockLocker, ChestShop
[22:29:58 INFO]: CoreProtect, CraftingStore, DecentHolograms, DiscordSRV, EpicRename, Essentials, EssentialsAntiBuild, EssentialsChat, EssentialsSpawn, ExcellentCrates
[22:29:58 INFO]: ExecutableItems, HeadDatabase, ImageOnMap, InsaneAnnouncer, InvSeePlusPlus, InvSeePlusPlus_Clear, InvSeePlusPlus_Give, *isSlimeChunk, LuckPerms, MobsManager
[22:29:58 INFO]: MossTweaks, NexEngine, PlaceholderAPI, Pladdon, PlayerParticles, ProtocolLib, PvPManager, SCore, SuperVanish, Vault
[22:29:58 INFO]: ViaBackwards, ViaVersion, VillagerOverhaul, Votifier, VotifierPlus, VotingPlugin, Vulcan, WorldEdit, WorldGuard

Other

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions