You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
The version you are using is no longer supported on this forum.
Please update to a modern version of Minecraft to receive support.
Currently supported versions are 1.19.3 (Latest), 1.19.2, and 1.18.2 (LTS).
First, recipes are a vanilla system. The best thing to do is look at how vanilla does it in the source code and replicate it, replacing any necessary steps with their Forge wrapped counterpart (registries, itemstack result, etc.)
Additionally, there is some documentation on the custom recipe process; however, it is community generated. If you choose to complain about the Forge documentation, please provide information on where it is lacking on an issue on the repo. I will be happy to address those concerns since I've put myself in the position to be responsible for it.
Hmm, maybe you should just copy what the EnderpearlItem does since you seem to be more or less doing the same thing. You can pass in the player in that case since the method is called on both sides.
As for the sound not playing, how are you defining your sound? Do you have the sounds.json set up? Is your sound in the sounds folder?
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.