Run formatter

This commit is contained in:
Nicholas Ignoffo 2017-08-15 21:30:48 -07:00
parent 61c44a831b
commit 08258fd6ef
606 changed files with 13464 additions and 22975 deletions

View file

@ -5,8 +5,7 @@ import net.minecraft.util.math.BlockPos;
/**
* Used for building the altar structure.
*/
public class AltarComponent
{
public class AltarComponent {
private BlockPos offset;
private boolean upgradeSlot;
@ -14,14 +13,11 @@ public class AltarComponent
/**
* Sets a component location for the altar.
*
* @param offset
* - Where the block should be in relation to the Altar
* @param component
* - The type of Component the location should contain
*
* @param offset - Where the block should be in relation to the Altar
* @param component - The type of Component the location should contain
*/
public AltarComponent(BlockPos offset, EnumAltarComponent component)
{
public AltarComponent(BlockPos offset, EnumAltarComponent component) {
this.offset = offset;
this.component = component;
}
@ -29,22 +25,19 @@ public class AltarComponent
/**
* Use for setting a location at which there must be a block, but the type
* of block does not matter.
*
* @param offset
* - Where the block should be in relation to the Altar
*
* @param offset - Where the block should be in relation to the Altar
*/
public AltarComponent(BlockPos offset)
{
public AltarComponent(BlockPos offset) {
this(offset, EnumAltarComponent.NOTAIR);
}
/**
* Sets the location to an upgrade slot.
*
*
* @return the current instance for further use.
*/
public AltarComponent setUpgradeSlot()
{
public AltarComponent setUpgradeSlot() {
this.upgradeSlot = true;
return this;
}