Massive rework of configs, items and blocks.
I redone where the items/blocsks are stored and how the configs are handled to clean up it and give space. You can change the config line to AWWayofTime if you want to keep the compatibility with old configs. Now you reference the blocks from the ModBlocks and Items from the ModItems.
This commit is contained in:
parent
8601e9faff
commit
e3644f2d2b
304 changed files with 3941 additions and 5108 deletions
|
@ -1,20 +1,19 @@
|
|||
package thaumcraft.api.aspects;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author azanor
|
||||
*
|
||||
* 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
|
||||
*
|
||||
* <p/>
|
||||
* 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);
|
||||
|
||||
/**
|
||||
* This method is used to determine of a specific aspect can be added to this container.
|
||||
*
|
||||
* @param tag
|
||||
* @return true or false
|
||||
*/
|
||||
|
@ -22,6 +21,7 @@ public interface IAspectContainer
|
|||
|
||||
/**
|
||||
* This method is used to add a certain amount of an aspect to the tile entity.
|
||||
*
|
||||
* @param tag
|
||||
* @param amount
|
||||
* @return the amount of aspect left over that could not be added.
|
||||
|
@ -30,6 +30,7 @@ public interface IAspectContainer
|
|||
|
||||
/**
|
||||
* Removes a certain amount of a specific aspect from the tile entity
|
||||
*
|
||||
* @param tag
|
||||
* @param amount
|
||||
* @return true if that amount of aspect was available and was removed
|
||||
|
@ -38,6 +39,7 @@ public interface IAspectContainer
|
|||
|
||||
/**
|
||||
* removes a bunch of different aspects and amounts from the tile entity.
|
||||
*
|
||||
* @param ot the ObjectTags object that contains the aspects and their amounts.
|
||||
* @return true if all the aspects and their amounts were available and successfully removed
|
||||
*/
|
||||
|
@ -45,6 +47,7 @@ public interface IAspectContainer
|
|||
|
||||
/**
|
||||
* Checks if the tile entity contains the listed amount (or more) of the aspect
|
||||
*
|
||||
* @param tag
|
||||
* @param amount
|
||||
* @return
|
||||
|
@ -53,6 +56,7 @@ public interface IAspectContainer
|
|||
|
||||
/**
|
||||
* Checks if the tile entity contains all the listed aspects and their amounts
|
||||
*
|
||||
* @param ot the ObjectTags object that contains the aspects and their amounts.
|
||||
* @return
|
||||
*/
|
||||
|
@ -60,6 +64,7 @@ public interface IAspectContainer
|
|||
|
||||
/**
|
||||
* Returns how much of the aspect this tile entity contains
|
||||
*
|
||||
* @param tag
|
||||
* @return the amount of that aspect found
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue