clean up a bit
This commit is contained in:
4
scripts/proguard.pro
vendored
4
scripts/proguard.pro
vendored
@ -32,9 +32,9 @@
|
|||||||
-keep class baritone.launch.** { *; }
|
-keep class baritone.launch.** { *; }
|
||||||
|
|
||||||
#try to keep usage of schematica in separate classes
|
#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
|
#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
|
# copy all necessary libraries into tempLibraries to build
|
||||||
|
|
||||||
|
@ -23,11 +23,9 @@ import com.github.lunatrius.schematica.client.world.SchematicWorld;
|
|||||||
import net.minecraft.block.state.IBlockState;
|
import net.minecraft.block.state.IBlockState;
|
||||||
import net.minecraft.util.math.BlockPos;
|
import net.minecraft.util.math.BlockPos;
|
||||||
|
|
||||||
// TODO: this only works for the default rotation
|
|
||||||
public final class SchematicAdapter implements ISchematic {
|
public final class SchematicAdapter implements ISchematic {
|
||||||
private final SchematicWorld schematic;
|
private final SchematicWorld schematic;
|
||||||
|
|
||||||
|
|
||||||
public SchematicAdapter(SchematicWorld schematicWorld) {
|
public SchematicAdapter(SchematicWorld schematicWorld) {
|
||||||
this.schematic = schematicWorld;
|
this.schematic = schematicWorld;
|
||||||
}
|
}
|
||||||
|
@ -46,5 +46,4 @@ public enum SchematicaHelper {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
private static void meme(Class<?> clazz) throws ClassNotFoundException {}
|
|
||||||
}
|
}
|
||||||
|
@ -19,11 +19,8 @@ package com.github.lunatrius.schematica.client.world;
|
|||||||
|
|
||||||
import com.github.lunatrius.core.util.math.MBlockPos;
|
import com.github.lunatrius.core.util.math.MBlockPos;
|
||||||
import com.github.lunatrius.schematica.api.ISchematic;
|
import com.github.lunatrius.schematica.api.ISchematic;
|
||||||
import net.minecraft.block.state.IBlockState;
|
|
||||||
import net.minecraft.util.math.BlockPos;
|
|
||||||
|
|
||||||
public class SchematicWorld {
|
public class SchematicWorld {
|
||||||
private ISchematic schematic;
|
|
||||||
public final MBlockPos position = (MBlockPos)(Object)"cringe";
|
public final MBlockPos position = (MBlockPos)(Object)"cringe";
|
||||||
|
|
||||||
public ISchematic getSchematic() {
|
public ISchematic getSchematic() {
|
||||||
|
Reference in New Issue
Block a user