Dragon respawn changes
This commit is contained in:
parent
2ea71cf8d6
commit
b5f3a4f511
1 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,7 @@ public class EndDragonFightMixin {
|
||||||
BlockPos center = GeneratorOptions.getPortalPos().above(5);
|
BlockPos center = GeneratorOptions.getPortalPos().above(5);
|
||||||
for (Direction dir : BlocksHelper.HORIZONTAL) {
|
for (Direction dir : BlocksHelper.HORIZONTAL) {
|
||||||
BlockPos central = center.relative(dir, 4);
|
BlockPos central = center.relative(dir, 4);
|
||||||
List<EndCrystal> crystalList = level.getEntitiesOfClass(EndCrystal.class, new AABB(central.below(10).south().west(), central.above(10).north().east()));
|
List<EndCrystal> crystalList = level.getEntitiesOfClass(EndCrystal.class, new AABB(central.below(255).south().west(), central.above(255).north().east()));
|
||||||
|
|
||||||
int count = crystalList.size();
|
int count = crystalList.size();
|
||||||
for (int n = 0; n < count; n++) {
|
for (int n = 0; n < count; n++) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue