| 2006 | } |
| 2007 | |
| 2008 | public static void printIntBuffer(String title, IntBuffer buf) |
| 2009 | { |
| 2010 | StringBuilder stringbuilder = new StringBuilder(128); |
| 2011 | stringbuilder.append(title).append(" [pos ").append(buf.position()).append(" lim ").append(buf.limit()).append(" cap ").append(buf.capacity()).append(" :"); |
| 2012 | int i = buf.limit(); |
| 2013 | |
| 2014 | for (int j = 0; j < i; ++j) |
| 2015 | { |
| 2016 | stringbuilder.append(" ").append(buf.get(j)); |
| 2017 | } |
| 2018 | |
| 2019 | stringbuilder.append("]"); |
| 2020 | SMCLog.info(stringbuilder.toString()); |
| 2021 | } |
| 2022 | |
| 2023 | public static void startup(Minecraft mcIn) |
| 2024 | { |