Adding custom items is very simple and only requires very basic resource pack knowledge. For this tutorial, we will be adding a custom sword.
Assuming you have completed the basic setup guide, you can now navigate to assets/minecraft/textures/custom/item and add your texture.

Next, you’ll need to add a model file. Please read the options below to see which step you should use:
→ Step 2A - Using a base model
→ Step 2B - Adding a custom model
If you are adding an item that doesn’t use a custom model, you can use one of Minecraft’s base models. First, navigate to assets/minecraft/models/custom/item and add a file called <my_item_name>.json.
Next, you can copy this into that JSON file:

{
"credit": "Made with Blockbench",
"parent": "item/handheld",
"textures": {
"layer0": "custom/item/green_sword"
}
}
You can now move on ****to Step 3.
If you are adding an item that uses a custom texture, like a 3d modeled sword, you will have to complete different steps. This guide assumes you use Blockbench for creating your models.
Blockbench makes exporting your items very simple. Simply click File > Export > Export Block/Item Model, and then export it to the correct directory.