auto-format all files I touched

This commit is contained in:
rycbar0 2022-09-29 21:52:15 +02:00
parent e99fcbbe36
commit 484b3326c7
2 changed files with 4 additions and 1 deletions

View File

@ -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;

View File

@ -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.