#customDamage handler int Fabric Minecraft modding

1 messages · Page 1 of 1 (latest)

distant halo
#

This probably a really dumb question but I am coding for a Minecraft mod and I was making a custom item and I was wondering what the int is for the handler in customDamage in the FabricItemSettings.
This is at the end of the last line where is says handler

sullen archBOT
#

This post has been reserved for your question.

Hey @distant halo! Please use /close or the Close Post button above when you're finished. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.

TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.

stiff sandal
#

for questions specific to minecraft modding, you are better off asking in a dedicated discord (there are a few I know of, namely the 'minecraft mod development' discord)
otherwise you can search for usages of the method in question to see what values are provided elsewhere (outside of your own code), then make a decision based on that

distant halo
#

ok thanks

sullen archBOT
# distant halo ok thanks

If you are finished with your post, please close it.
If you are not, please ignore this message.
Note that you will not be able to send further messages here after this post have been closed but you will be able to create new posts.