Jump to content

Recommended Posts

Posted

Hey there, I'm trying to study some 1.20.1 modding in hopes of making my own mod and I need to figure out how items that work upon right clicking on a player work so I'm looking for those but after an hour of searching CurseForge, I can't find what I'm looking for. If anyone knows a mod that has an item with these properties it would be appreciated, one that doesn't fire a projectile but upon right clicking on a player or entity, does something.

Thank you.

Posted

I feel as though looking at the code for the nametag would give you something to work with, isn't that used on entities to give them names? Honestly never used one before lol, but if it were me, that's where I would start.

Posted
8 hours ago, Ugdhar said:

I feel as though looking at the code for the nametag would give you something to work with, isn't that used on entities to give them names? Honestly never used one before lol, but if it were me, that's where I would start.

Unfortunately the nametag is more of a interact with an entity by right clicking with it while I'm more looking for interact with an entity by right clicking with it in line of sight, thank you though

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.