auto-format all files I touched
This commit is contained in:
parent
e99fcbbe36
commit
484b3326c7
@ -19,9 +19,9 @@ package baritone.utils.schematic.format;
|
||||
|
||||
import baritone.api.schematic.IStaticSchematic;
|
||||
import baritone.api.schematic.format.ISchematicFormat;
|
||||
import baritone.utils.schematic.format.defaults.LitematicaSchematic;
|
||||
import baritone.utils.schematic.format.defaults.MCEditSchematic;
|
||||
import baritone.utils.schematic.format.defaults.SpongeSchematic;
|
||||
import baritone.utils.schematic.format.defaults.LitematicaSchematic;
|
||||
import net.minecraft.nbt.CompressedStreamTools;
|
||||
import net.minecraft.nbt.NBTTagCompound;
|
||||
import org.apache.commons.io.FilenameUtils;
|
||||
|
@ -82,6 +82,7 @@ public final class LitematicaSchematic extends StaticSchematic {
|
||||
|
||||
/**
|
||||
* Gets both ends from schematic box for a given axis and returns the lower one.
|
||||
*
|
||||
* @param s axis that should be read.
|
||||
* @return the lower coord of the requested axis.
|
||||
*/
|
||||
@ -152,6 +153,7 @@ public final class LitematicaSchematic extends StaticSchematic {
|
||||
/**
|
||||
* Calculates the volume of the subregion. As size can be a negative value we take the absolute value of the
|
||||
* multiplication as the volume still holds a positive amount of blocks.
|
||||
*
|
||||
* @return the volume of the subregion.
|
||||
*/
|
||||
private static long getVolume(NBTTagCompound nbt, String subReg) {
|
||||
@ -170,6 +172,7 @@ public final class LitematicaSchematic extends StaticSchematic {
|
||||
|
||||
/**
|
||||
* Subregion don't have to be the same size as the enclosing size of the schematic. If they are smaller we check here if the current block is part of the subregion.
|
||||
*
|
||||
* @param x coord of the block relative to the minimum corner.
|
||||
* @param y coord of the block relative to the minimum corner.
|
||||
* @param z coord of the block relative to the minimum corner.
|
||||
|
Loading…
Reference in New Issue
Block a user