resonant-induction/minecraft/liquidmechanics/api/IColor.java

17 lines
368 B
Java
Raw Normal View History

getting Closer to being done I'm getting closer to making this mod more universal for all liquids. Right now after a bit of coding i can say i have: *Fixed Pipes *Fixed Tanks *Removed Mengenta as a color(no need for another simi red/pinkish color) *Create a IColor interface for future use with other color selective blocks *Created a object feed version of get for PipeColor so you can use numbers, Strings, or LiquidData to ID a color. Useful for setColor(Object obj) *Worked on some textures however i need to either make a better model for tanks or find a texture artist for help *Found the tank model files so they can be edited Issues still to be worked on *Lang file, still item names are not working *Release Valve *Pipe Changer tool, not sure if i should use a GUI with the tool or have 15 color brushs. The ladder seems wasteful *Block, and bucket for Waste Liquid *Textures need some help, especial Tanks so i can add the rest of the colored version to the creative menu *Crafting for all Pipes, Tanks, and items need redone or added for the new system *Pumps needs reworked to have a diffrent version for lava,water, and large area pumping. Small version for filling system, large for draining source pools for constuction. Lava pump will fall under large. Might add an oil pump, or create one for oil craft using the same design. *Tanks still need to be tested and fixed to create pressure for Pipes if side == down and liquid || side == up and gas *LiquidHandler needs worked on to pre catch and add liquids to the allowed List similar to how e methain, oil, fuel are register.
2013-01-07 04:24:28 +01:00
package liquidmechanics.api;
import liquidmechanics.api.helpers.PipeColor;
public interface IColor
{
/**
* gets the pipeColor being used by this object
*/
public PipeColor getColor();
/**
* sets the pipeColor to be used by this object *
* @param obj-can be anything must be sorted
*/
public void setColor(Object obj);
}