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:
parent
d505ec4f9f
commit
074ec333cf
4
scripts/proguard.pro
vendored
4
scripts/proguard.pro
vendored
@ -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
|
||||
|
||||
|
@ -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;
|
||||
}
|
||||
|
@ -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.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() {
|
||||
|
Loading…
Reference in New Issue
Block a user