Inspired by 2020's April Fools' 20w14infinite Snapshot, this mod brings endless randomly generated dimensions into Minecraft.

Forward port new CC compat

+17 -5
+4 -4
common/src/main/java/net/lerariemann/infinity/compat/ComputerCraftCompat.java
··· 1 1 package net.lerariemann.infinity.compat; 2 2 3 - import dan200.computercraft.shared.ModRegistry; 3 + import dan200.computercraft.api.media.PrintoutContents; 4 4 import net.minecraft.item.ItemStack; 5 5 6 6 public class ComputerCraftCompat { 7 7 public static String checkPrintedPage(ItemStack itemStack) { 8 - var print = (itemStack.getComponents().get(ModRegistry.DataComponents.PRINTOUT.get())); 8 + var print = PrintoutContents.get(itemStack); 9 9 if (print != null) { 10 10 String string = ""; 11 - for (var l : print.lines()) { 12 - string = string.concat(l.text().strip()); 11 + for (var l : print.getTextLines().toArray()) { 12 + string = string.concat(l.toString().strip()); 13 13 } 14 14 return string; 15 15 }
+12
fabric/build.gradle
··· 36 36 name = "Terraformers" 37 37 url = "https://maven.terraformersmc.com/" 38 38 } 39 + exclusiveContent { 40 + forRepository { 41 + maven { 42 + name = "CC: Tweaked" 43 + url = "https://maven.squiddev.cc" 44 + } 45 + } 46 + filter { 47 + includeGroup "cc.tweaked" 48 + } 49 + } 39 50 } 40 51 41 52 dependencies { ··· 60 71 // Devenv helpers 61 72 modImplementation "maven.modrinth:uwrad:1.1.0" 62 73 modImplementation "maven.modrinth:dev-tools-unlocker:1.0.0" 74 + modImplementation("cc.tweaked:cc-tweaked-$minecraft_version-fabric:$cct_version") 63 75 64 76 65 77 common(project(path: ':common', configuration: 'namedElements')) { transitive false }
+1 -1
gradle.properties
··· 38 38 catalogue_version = 5631367 39 39 cloth_version = 15.0.140 40 40 modmenu_version = 11.0.2 41 - cct_version = 1.113.1 41 + cct_version = 1.115.0 42 42 emi_version = 1.1.18