Jump to content

[1.7] Throwable Entity is invisible/has no hitbox


FishSauce

Recommended Posts

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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!

Link to comment
Share on other sites

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.