[SPIGOT-6220] structures in the world with custom generator not work Created: 05/Nov/20 Updated: 31/Jul/21 Resolved: 31/Jul/21 |
|
Status: | Resolved |
Project: | Spigot |
Component/s: | None |
Affects Version/s: | None |
Fix Version/s: | None |
Type: | Bug | Priority: | Minor |
Reporter: | Molean | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | None | ||
Environment: |
spigot 1.16.2 or later a world management plugin(multiverse-core) a custom generator plugin that generate vanilla structure |
Attachments: |
![]() |
Version: | git-Spigot-57bbdd8-dea4138 |
Guidelines Read: | Yes |
Description |
This problem began with spigot1.16.2. Vanilla structure in world with custom genrator do not spawn specific mob. Such as pillager outpost not spawn pillager.
Here's how to reproduce the problem 1.install any world generator plugin that generate vanilla structure. could like this: public class EmptyChunkGenerator extends ChunkGenerator { @Override public ChunkData generateChunkData(World world, Random random, int x, int z, BiomeGrid biome) { return createChunkData(world); } @Override public boolean canSpawn(World world, int x, int z) { return true; } @Override public Location getFixedSpawnLocation(World world, Random random) { final Location spawnLocation = new Location(world, 0.0D, 64.0D, 0.0D); final Location blockLocation = spawnLocation.clone().subtract(0D, 1D, 0D); blockLocation.getBlock().setType(Material.BEDROCK); return spawnLocation; } public boolean shouldGenerateStructures() { return true; } } I put this plugin in attachment. 2.use multiverse-core create a world
/mv create test normal -g void-generator 3.use locate command find a pillager_outpust /locate pillager_outpust 4.teleport to it, and build a platform. you will find no pillager spawn. But in spigot 1.16.1 and before, there will spawn many pillagers.
|
Comments |
Comment by Marvin Rieple [ 31/Jul/21 ] |
Made a PR for this: craftbukkit#907 |
Comment by SouthStu [ 19/Nov/20 ] |
I believe it is a bug, even if it is not a bug, please let us know. |
Comment by SouthStu [ 19/Nov/20 ] |
Please, fix this bug. Our server is having trouble with this bug. Molean feedback to https://issues.intellectualsites.com/issue/PS-124 , and the other person said that it was a problem with spigot, and I hope that spigot can fix it. |
Comment by Molean [ 14/Nov/20 ] |
I hope that spigot will fix it in the near future, and it has a profound impact on my server. |