2014-01-28 21:20:19 +01:00
|
|
|
package appeng.core.features;
|
|
|
|
|
|
|
|
import net.minecraft.block.Block;
|
|
|
|
import net.minecraft.item.Item;
|
|
|
|
import net.minecraft.item.ItemStack;
|
|
|
|
import net.minecraft.tileentity.TileEntity;
|
2014-05-10 07:00:02 +02:00
|
|
|
import net.minecraft.world.IBlockAccess;
|
2014-01-28 21:20:19 +01:00
|
|
|
import appeng.api.util.AEItemDefinition;
|
|
|
|
|
|
|
|
public class NullItemDefinition implements AEItemDefinition
|
|
|
|
{
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public Block block()
|
|
|
|
{
|
|
|
|
return null;
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public Item item()
|
|
|
|
{
|
|
|
|
return null;
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public Class<? extends TileEntity> entity()
|
|
|
|
{
|
|
|
|
return null;
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public ItemStack stack(int stackSize)
|
|
|
|
{
|
|
|
|
return null;
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
2014-05-10 07:00:02 +02:00
|
|
|
public boolean sameAsStack(ItemStack comparableItem)
|
|
|
|
{
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public boolean sameAsBlock(IBlockAccess world, int x, int y, int z)
|
2014-01-28 21:20:19 +01:00
|
|
|
{
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|