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 have been making a gun that shoots a throwable entity, I have followed a few tutorials and followed them but nothing ever changed. Thanks for helping

 

 

Entity Class: http://pastebin.com/KSZAwAmP

Render Class: http://pastebin.com/3PnZmjEa

Model Class: http://pastebin.com/vQPGEY19

Item Class: http://pastebin.com/Y8654fnm

Client Proxy: http://pastebin.com/2tmjPaNc

Main Class: http://pastebin.com/1vdJzhzX

  • Author

Did you register your entity render with rendering reg.? In your client proxy.

Oh, yes I did. I forgot to post that. I will update the main post with that code

  • Author

Register it with registerModEntity, not with global. I use it always.

Ok thanks, that seems to work :). Btw its spawning way above my head, got any idea why?

For one, you didn't read all my notes:

// note [b]all the values should be 0[/b] except the final argument, which is scale
model.render(entity, 0.0625F, 0.0625F, 0.0625F, 0.0625F, 0.0625F, 0.0625F);

Why did you put 0.0625F for ALL of them?

 

Btw, the link to your entity class is opening up your item class rather than the entity.

  • Author

For one, you didn't read all my notes:

// note [b]all the values should be 0[/b] except the final argument, which is scale
model.render(entity, 0.0625F, 0.0625F, 0.0625F, 0.0625F, 0.0625F, 0.0625F);

Why did you put 0.0625F for ALL of them?

 

Btw, the link to your entity class is opening up your item class rather than the entity.

Oh, sorry. I saw the one that says

 vanilla Minecraft almost excusively uses 0.0625F, but you can change it to whatever works

and I didn't look at the other one for some reason. Thanks for you're help!

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.