Jump to content

EntityMountableBlocks


MHPage12

Recommended Posts

I would make a blank entity and that it would spawn whenever the block was initialized. Then, when the block is right clicked it would call the entity's interact function (note: you should change so it does player.mountEntity(this) ) this putting the place on the chair

"you seem to be THE best modder I've seen imo."

~spynathan

 

ლ(́◉◞౪◟◉‵ლ

Link to comment
Share on other sites

Alright so when I call the onBlockActivated I spawn the entity, yet when I try to mount it nothing happens, but the continuous right clicking of the player. Here are my codes.

 

BlockClass: http://paste.minecraftforge.net/view/5ec66a4a

MainClass: http://paste.minecraftforge.net/view/2a2d7e47

Entity: http://paste.minecraftforge.net/view/93d72395 (oops no title)

I think it is because I need to do a new render for the entity could someone confirm or deny this?

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.



×
×
  • Create New...

Important Information

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