Update to 26.1

This commit is contained in:
Jonas Herzig
2026-03-29 11:20:59 +02:00
parent b72fad4055
commit 27d5432fff
40 changed files with 667 additions and 58 deletions

View File

@@ -185,6 +185,8 @@ public class Util {
}
}
//#if MC >= 26.1
//#else
public static String getTileEntityId(BlockEntity tileEntity) {
//#if MC>=12006
//$$ return net.minecraft.block.entity.BlockEntityType.getId(tileEntity.getType()).toString();
@@ -202,6 +204,7 @@ public class Util {
return nbt.getString("id");
//#endif
}
//#endif
public interface IOCallable<R> {
R call() throws IOException;