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 founded some stuff on this, but i can't understand a single word of all the stuff written.

How do i assign a texture to an EntityThrowable?

 

 

P.S Since i solved, if someone is asking the same thing here's my GitHub repo to analyze my code :T (The renderBeams class is a copy of the RenderSnowball class)

https://github.com/Crax97/PortalGunModMinecraft/

  • Author

So you mean that i need to create another item, assign this item che texture i want to use for my entityThrowable and then render the item?

But doesn't arrows have a separate non-item renderer? (Entity) Arrows aren't items afaik.

--Remember to "Thank you" posts that actually helped you, and if a person seems nice, why not give them an applaud while you're at it--

  • Author

No, he's saying that you need to use a custom item renderer for your item

No.

I am saying this: If you want your throwable to look like an item (which is often the case, since you throw an Item...) you can use RenderSnowball.

If that's not the case you will need your own Entity renderer.

 

... I Don't understand..:

So, i'm making a Portal Gun mod, and if you played Portal you should know that the portal gun fires two beams

I already made the Portal Gun, which i want to fire blue beams for now... What should i do?

One workaround would be just recoloring a snowball(with no gravity applied to it) and use that as the "beam".

--Remember to "Thank you" posts that actually helped you, and if a person seems nice, why not give them an applaud while you're at it--

  • Author

One workaround would be just recoloring a snowball(with no gravity applied to it) and use that as the "beam".

 

That's what i did C:

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.