Inspired by 2020's April Fools' 20w14infinite Snapshot, this mod brings endless randomly generated dimensions into Minecraft.
1package net.lerariemann.infinity.compat;
2
3//? if <1.21.2
4/*import net.createmod.ponder.api.level.PonderLevel;*/
5//? if >1.21.4 && fabric {
6import com.zurrtum.create.client.ponder.api.level.PonderLevel;
7//?}
8import net.minecraft.world.level.Level;
9
10public class PonderCompat {
11 public static boolean isPonderLevel(Level world) {
12 //? if <1.21.2 || fabric {
13 return world instanceof PonderLevel;
14 //?} else {
15 /*return false;
16 *///?}
17 }
18}