-
Notifications
You must be signed in to change notification settings - Fork 3
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
[1.16] Incompability with Endergetic Expansion #3
Comments
This gets the topmost empty position at that location. I don't think moving the block higher would help? |
It gets the topmost position for vanilla generation. EE replaces bedrock blocks with its own (and it does it very strange, because, for example, when you delete DIM1 folder and let The End generate second time, it generates without the nest (?!?)). |
Hmm it might only see full blocks. |
|
give please 1.19.2 Forge worked build |
…ng GrigLog's fix as well as extending the DragonEggMixin to apply to EE's EndergeticDragonFightManager
EE overrides vanilla dragon nest and makes it 1 block higher. EE tweaks vanilla code to make the egg spawn 1 block higher, but your codee does not and 2+ eggs dont spawn.
Solution: change the code to
World world = event.getEntity().getEntityWorld();
BlockPos pos = world.getHeight(Heightmap.Type.MOTION_BLOCKING, EndPodiumFeature.END_PODIUM_LOCATION);
while (world.getBlockState(pos).getBlock() != Blocks.AIR) pos.up();
world.setBlockState(pos, Blocks.DRAGON_EGG.getDefaultState());
The text was updated successfully, but these errors were encountered: