Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

I am currently working on a Minecraft 1.19 mod, and I am trying to create a feature where the item in the player's hand becomes invisible when a certain condition is met. For example, I have an item that makes the player invisible, and I would like to make the item in the player's hand also become invisible along with the player. I am having trouble figuring out how to implement this feature and would greatly appreciate any help on how to do this.

can you make it change sprite depending on condition (like clock or a bow)? once you have that, having one piece of png file transparent should do the job.

disclaimer: haven't tried.

i was thinking in that back in 1.12 when i was doing the guns 
but mi plans was to make a holder item something like an small box but in the json display firstperson/left/right hand set the size to 0.0  this box has an nbt container whit only one space for an itemstack and to avoid missing the item the box count 20 ticks in OnUpdate() and delete itself returning the stored itemstack back to that hand slot 

well is not easy solution i never do the code for that 
may is posible to delete the rendered arm for the client side or something the bow does 



 

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...

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.