1
0
mirror of https://github.com/cabaletta/baritone synced 2024-12-17 20:55:09 +00:00

clean up a bit

This commit is contained in:
Babbaj 2019-07-21 21:57:59 -04:00
parent d505ec4f9f
commit 074ec333cf
No known key found for this signature in database
GPG Key ID: 48FD0BEFD63C8E3F
4 changed files with 2 additions and 8 deletions

View File

@ -32,9 +32,9 @@
-keep class baritone.launch.** { *; }
#try to keep usage of schematica in separate classes
-keep class baritone.utils.schematic.schematica.*
-keep class baritone.utils.schematic.schematica.**
#proguard doesnt like it when it cant find our fake schematica classes
-dontwarn baritone.utils.schematic.schematica.*
-dontwarn baritone.utils.schematic.schematica.**
# copy all necessary libraries into tempLibraries to build

View File

@ -23,11 +23,9 @@ import com.github.lunatrius.schematica.client.world.SchematicWorld;
import net.minecraft.block.state.IBlockState;
import net.minecraft.util.math.BlockPos;
// TODO: this only works for the default rotation
public final class SchematicAdapter implements ISchematic {
private final SchematicWorld schematic;
public SchematicAdapter(SchematicWorld schematicWorld) {
this.schematic = schematicWorld;
}

View File

@ -46,5 +46,4 @@ public enum SchematicaHelper {
});
}
private static void meme(Class<?> clazz) throws ClassNotFoundException {}
}

View File

@ -19,11 +19,8 @@ package com.github.lunatrius.schematica.client.world;
import com.github.lunatrius.core.util.math.MBlockPos;
import com.github.lunatrius.schematica.api.ISchematic;
import net.minecraft.block.state.IBlockState;
import net.minecraft.util.math.BlockPos;
public class SchematicWorld {
private ISchematic schematic;
public final MBlockPos position = (MBlockPos)(Object)"cringe";
public ISchematic getSchematic() {