Removed Debug output

This commit is contained in:
Frank 2022-01-28 17:39:30 +01:00
parent 96820cff84
commit 89516870c9
3 changed files with 2 additions and 13 deletions

View file

@ -30,12 +30,6 @@ public class BCLib implements ModInitializer {
@Override
public void onInitialize() {
System.out.println(ModUtil.convertModVersion("1.2"));
System.out.println(ModUtil.convertModVersion("1.2.3"));
System.out.println(ModUtil.convertModVersion("1.2.3-4.5"));
var mods = ModUtil.getMods();
mods.entrySet().forEach(e->System.out.println(e.getKey() + ": " + ModUtil.getModVersion(e.getKey()) +" - " + ModUtil.convertModVersion(ModUtil.convertModVersion(e.getValue().getVersion()))));
BaseRegistry.register();
GeneratorOptions.init();
BaseBlockEntities.register();

View file

@ -31,12 +31,8 @@ public class BlocksHelper {
public static final Direction[] HORIZONTAL = makeHorizontal();
public static final Direction[] DIRECTIONS = Direction.values();
private static final ThreadLocal<MutableBlockPos> TL_POS = new ThreadLocal<>(){
@Override
protected MutableBlockPos initialValue() {
return new MutableBlockPos();
}
};
private static final ThreadLocal<MutableBlockPos> TL_POS = ThreadLocal.withInitial(() -> new MutableBlockPos());
protected static final BlockState AIR = Blocks.AIR.defaultBlockState();
protected static final BlockState WATER = Blocks.WATER.defaultBlockState();

View file

@ -372,7 +372,6 @@ public class ModUtil {
private static void accept(Path file) {
try {
URI uri = URI.create("jar:" + file.toUri());
System.out.println(uri);
FileSystem fs;
try {