Allow only gravitation stabilizer between injectors and blackhole, require empty space between collector and blackhole

This commit is contained in:
DBotThePony 2024-11-05 22:25:31 +07:00
parent cdfa529d7b
commit 7bf309173f
Signed by: DBot
GPG Key ID: DCC23B5715498507

View File

@ -217,6 +217,26 @@ class BlackHoleGeneratorBlockEntity(blockPos: BlockPos, blockState: BlockState)
tag(BLACK_HOLE)
}
for (p in i until i * 2) {
relative(BlockPos(0, 0, p)) {
air()
}
}
for (p in 0 until i) {
relative(BlockPos(p, 0, i)) {
air()
block(MBlocks.GRAVITATION_STABILIZER)
block(MBlocks.GRAVITATION_STABILIZER_LENS)
}
relative(BlockPos(-p, 0, i)) {
air()
block(MBlocks.GRAVITATION_STABILIZER)
block(MBlocks.GRAVITATION_STABILIZER_LENS)
}
}
val ring = ring(i)
for (pos in ring) {