Way being picky.

This commit is contained in:
Fenn 2014-01-17 21:43:13 +00:00
parent e3644f2d2b
commit 7e30b02d69
303 changed files with 622 additions and 311 deletions

View file

@ -8,7 +8,8 @@ import java.util.ArrayList;
import java.util.Collection;
import java.util.LinkedHashMap;
public class Aspect {
public class Aspect
{
String tag;
Aspect[] components;
int color;

View file

@ -8,7 +8,8 @@ import thaumcraft.api.ThaumcraftApiHelper;
import java.io.Serializable;
import java.util.LinkedHashMap;
public class AspectList implements Serializable {
public class AspectList implements Serializable
{
public LinkedHashMap<Aspect,Integer> aspects = new LinkedHashMap<Aspect,Integer>(); //aspects associated with this object
/**

View file

@ -6,7 +6,8 @@ package thaumcraft.api.aspects;
* Used by blocks like the crucible and alembic to hold their aspects.
* Tiles extending this interface will have their aspects show up when viewed by goggles of revealing
*/
public interface IAspectContainer {
public interface IAspectContainer
{
public AspectList getAspects();
public void setAspects(AspectList aspects);

View file

@ -6,5 +6,6 @@ package thaumcraft.api.aspects;
* This interface is implemented by tile entites (or possibly anything else) like jars
* so that they can act as an essentia source for blocks like the infusion altar.
*/
public interface IAspectSource extends IAspectContainer {
public interface IAspectSource extends IAspectContainer
{
}

View file

@ -9,7 +9,8 @@ import net.minecraft.item.ItemStack;
* Useful for similar item containers that store their aspect information in nbt form so TC
* automatically picks up the aspects they contain
*/
public interface IEssentiaContainerItem {
public interface IEssentiaContainerItem
{
public AspectList getAspects(ItemStack itemstack);
public void setAspects(ItemStack itemstack, AspectList aspects);

View file

@ -7,7 +7,8 @@ import net.minecraftforge.common.ForgeDirection;
* This interface is used by tiles that use or transport vis.
* Only tiles that implement this interface will be able to connect to vis conduits or other thaumic devices
*/
public interface IEssentiaTransport {
public interface IEssentiaTransport
{
/**
* Is this tile able to connect to other vis users/sources on the specified side?
*