Your issue is in your Provider
https://github.com/Oeku/RPG-Mod/blob/master/src/main/java/net/zeldadungeons/capability/CapabilityProvider.java
as you don't check if the capability is of the same type but just cast to it without any checks
the version of the mod you are using is for a later version of minecraft as capabilities weren't added until 1.8.9 and a btw a quick search for custom npc showed a 1.12.2 version so update
Edit: And yes 1.7.10 is not supported on this forum
That is weird considering that I just created a json file in my recipes folder and then just dropped in your code and made the changes to the type
The code
{
"type": "minecraft:crafting_shaped",
"pattern": [
" ",
" O ",
"OOO"
],
"key": {
"O": {
"item": "minecraft:obsidian"
}
},
"result": {
"item": "minecraft:diamond_block",
"count": 1
}
}
Recipes will show up in the recipe book only under certain conditions (assuming you have the recipe)
1. All mod recipes if you use a custom creative tab will show under the miscellaneous tab
2. If recipe can be crafted the player crafting gird(2x2 or smaller) than you can see it when looking in from the player inventory if it is larger than it will only show up when you are looking at the crafting table
Jjust below create new world button there is a button called re-create world which regens with world with the same seed and generator settings
Side note if mods are reseting your spawnpoint something is wrong with those mods
1) Your reflection is broken you need to add the srg names as well. The findMethod you are using is deprecated and switching to the other one will make it compile. I believe that the problem is the null instance
2) All the other errors are that you are not implementing things in the classes. You need to implement the missing methods.
Once these things are fixed it compiles