Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mobs going through the central end exit portal ends up at spawn even if protected by a worldguard region #2071

Closed
6 tasks done
snurre0 opened this issue Mar 26, 2024 · 2 comments
Labels
status:invalid This does not describe a request or bug with WorldGuard type:bug Incorrect behavior, not working as intended

Comments

@snurre0
Copy link

snurre0 commented Mar 26, 2024

WorldEdit Version

7.3.0-beta-03+d6d222e

WorldGuard Version

7.0.10-SNAPSHOT+2260-c7319f1

Platform Version

Paper version git-Paper-408 (MC: 1.20.4) (Implementing API version 1.20.4-R0.1-SNAPSHOT) (Git: c5d168c)

Confirmations

  • I am using the most recent Minecraft release.
  • I am using a version of WorldEdit compatible with my Minecraft version.
  • I am using a version of WorldGuard compatible with my Minecraft version.
  • I am using the latest or recommended version of my platform software.
  • I am NOT using a hybrid server, e.g. a server that combines Bukkit and Forge. Examples include Arclight, Mohist, and Cardboard.
  • I am NOT using a fork of WorldEdit, such as FastAsyncWorldEdit (FAWE) or AsyncWorldEdit (AWE)

Bug Description

I'm unsure if this is actually a bug, but for many years using WorldGuard, players who tried to move mobs(e.g. shulkers) from the end through the central exit portal to spawn, ended up having their mobs automatically vanish when doing so, because our spawn is protected by a WorldGuard region.
I assume that was happening because we have the deny-spawn flag set to true for the spawn area, but I am not entirely sure.
At some point quite a while ago, moving mobs from the end to spawn was suddenly possible again, and mobs started ending up at spawn.

Expected Behavior

I would expect that setting the flag deny-spawn to true for a region covering the overworld spawn area, should prevent mobs from being teleported to spawn from the end through the portal.

Reproduction Steps

  1. Create a region covering the overworld spawn area and set deny-spawn to true for that region
  2. Spawn a mob close to the central end exit portal and push it through the portal
  3. Observe the mob appearing at spawn

Optional WorldGuard-Report

No response

Anything Else?

No response

@snurre0 snurre0 added status:pending Pending acceptance or closure. type:bug Incorrect behavior, not working as intended labels Mar 26, 2024
@aurorasmiles
Copy link

This is technically not a bug, deny-spawn only affects spawning, but moving an entity through a portal is not spawning, it's teleporting.
Pretty similar to deny-spawn enderman - enderman won't spawn in that region, but they can still teleport there

@wizjany wizjany added status:invalid This does not describe a request or bug with WorldGuard and removed status:pending Pending acceptance or closure. labels May 11, 2024
@wizjany
Copy link
Collaborator

wizjany commented May 11, 2024

yea working as expected. there's separate feature requests to handle mob movement with flags but that's another can of worms entirely.

@wizjany wizjany closed this as not planned Won't fix, can't repro, duplicate, stale May 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status:invalid This does not describe a request or bug with WorldGuard type:bug Incorrect behavior, not working as intended
Projects
None yet
Development

No branches or pull requests

3 participants