23w12a
This commit is contained in:
1 parent
4e94d1bc15
commit
f1586b3809
9 files changed
+33
-43
No files matched your search
@@ -3,11 +3,11 @@ package carpet.helpers;
|
||||
import carpet.CarpetSettings;
|
||||
|
||||
import net.minecraft.core.BlockPos;
|
||||
import net.minecraft.world.level.Level;
|
||||
import net.minecraft.world.level.SignalGetter;
|
||||
|
||||
public class QuasiConnectivity {
|
||||
|
||||
public static boolean hasQuasiSignal(Level level, BlockPos pos) {
|
||||
public static boolean hasQuasiSignal(SignalGetter level, BlockPos pos) {
|
||||
for (int i = 1; i <= CarpetSettings.quasiConnectivity; i++) {
|
||||
BlockPos above = pos.above(i);
|
||||
|
||||
|
||||
Reference in new issue
Block a user