Added all the crafting cpu "blocks" - needs textures and renders.
Updated API
This commit is contained in:
@@ -4,6 +4,7 @@ import net.minecraft.block.Block;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.tileentity.TileEntity;
|
||||
import net.minecraft.world.IBlockAccess;
|
||||
import appeng.api.util.AEItemDefinition;
|
||||
|
||||
public class DamagedItemDefinition implements AEItemDefinition
|
||||
@@ -53,7 +54,7 @@ public class DamagedItemDefinition implements AEItemDefinition
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean sameAs(ItemStack comparableItem)
|
||||
public boolean sameAsStack(ItemStack comparableItem)
|
||||
{
|
||||
if ( comparableItem == null )
|
||||
return false;
|
||||
@@ -61,4 +62,10 @@ public class DamagedItemDefinition implements AEItemDefinition
|
||||
return comparableItem.getItem() == baseItem && comparableItem.getItemDamage() == damage;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean sameAsBlock(IBlockAccess world, int x, int y, int z)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user