mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-24 05:54:27 +00:00
Update CoFH API to 1.0.13
This commit is contained in:
1 parent
3e25064d38
commit
285cb7338c
4 files changed
+52
-1
No files matched your search
@@ -6,6 +6,6 @@ public class CoFHAPIProps {
|
||||
|
||||
}
|
||||
|
||||
public static final String VERSION = "1.7.10R1.0.12";
|
||||
public static final String VERSION = "1.7.10R1.0.13";
|
||||
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
package cofh.api.item;
|
||||
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraftforge.fluids.FluidStack;
|
||||
|
||||
/**
|
||||
* Implement this interface on subclasses of Item to change how the item works in Thermal Dynamics Fluiducts filter slots.
|
||||
*
|
||||
* This can be used to create customizable Items which are determined to be "equal" for the purposes of filtering.
|
||||
*/
|
||||
public interface ISpecialFilterFluid {
|
||||
|
||||
/**
|
||||
* This method is called to find out if the given FluidStack should be matched by the given Filter ItemStack.
|
||||
*
|
||||
* @param filter
|
||||
* ItemStack representing the filter.
|
||||
* @param fluid
|
||||
* FluidStack representing the queried fluid.
|
||||
* @return True if the filter should match the FluidStack. False if the default matching should be used.
|
||||
*/
|
||||
public boolean matchesFluid(ItemStack filter, FluidStack fluid);
|
||||
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
package cofh.api.item;
|
||||
|
||||
import net.minecraft.item.ItemStack;
|
||||
|
||||
/**
|
||||
* Implement this interface on subclasses of Item to change how the item works in Thermal Dynamics Itemducts filter slots.
|
||||
*
|
||||
* This can be used to create customizable Items which are determined to be "equal" for the purposes of filtering.
|
||||
*/
|
||||
public interface ISpecialFilterItem {
|
||||
|
||||
/**
|
||||
* This method is called to find out if the given ItemStack should be matched by the given Filter ItemStack.
|
||||
*
|
||||
* @param filter
|
||||
* ItemStack representing the filter.
|
||||
* @param item
|
||||
* ItemStack representing the queried item.
|
||||
* @return True if the filter should match. False if the default matching should be used.
|
||||
*/
|
||||
public boolean matchesItem(ItemStack filter, ItemStack item);
|
||||
|
||||
}
|
||||
@@ -5,8 +5,11 @@ public interface IEnderDestination extends IEnderAttuned {
|
||||
public boolean isNotValid();
|
||||
|
||||
public int x();
|
||||
|
||||
public int y();
|
||||
|
||||
public int z();
|
||||
|
||||
public int dimension();
|
||||
|
||||
public int getDestination();
|
||||
@@ -14,4 +17,5 @@ public interface IEnderDestination extends IEnderAttuned {
|
||||
public boolean setDestination(int frequency);
|
||||
|
||||
public boolean clearDestination();
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user