geforkt von Mirrors/Paper
Add option to allow iron golems to spawn in air
Dieser Commit ist enthalten in:
Ursprung
26067ca04b
Commit
fd378a7262
@ -9,3 +9,12 @@
|
||||
}
|
||||
|
||||
super.doPush(entity);
|
||||
@@ -319,7 +319,7 @@
|
||||
BlockPos blockposition1 = blockposition.below();
|
||||
BlockState iblockdata = world.getBlockState(blockposition1);
|
||||
|
||||
- if (!iblockdata.entityCanStandOn(world, blockposition1, this)) {
|
||||
+ if (!iblockdata.entityCanStandOn(world, blockposition1, this) && !this.level().paperConfig().entities.spawning.ironGolemsCanSpawnInAir) { // Paper - Add option to allow iron golems to spawn in air
|
||||
return false;
|
||||
} else {
|
||||
for (int i = 1; i < 3; ++i) {
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren