Jump to content

Recommended Posts

Posted

Im trying to make it so that when you finish my multiblock, it renders a model, ive set up the multiblock correctly, but setting the boolean that allows the  model to render isnt working. heres my code:

 

multiblock function

 

  Reveal hidden contents

 

 

tile entity:

 

  Reveal hidden contents

 

 

Tile Entity render:

 

  Reveal hidden contents

 

 

ive had the block create the tile entity, registered it, bound the renderer to the tile entity, any one know whats happening? cause i dont

[shadow=gray,left][glow=red,2,300]KEEGAN[/glow][/shadow]

Posted

Hmm i'd set a breakpoint at the place where you set the value to true and see what happens and what the server and client is doing?

 

Also using breakpoints you could make the program pause whenever the variable is changed, so you can see if it's switched back and forth between true and false :)

  Quote

If you guys dont get it.. then well ya.. try harder...

  • 3 weeks later...
Posted

Well, my guess is it's something to do with packets.

None of my tileentity variables are being retained.

I'm adding packet handling code now.

I'll report back with how I go.

Posted

At the start of my onBlockPlacedBy I had

if (!world.isRemote){  onBlockPlacedBy

 

When I removed that it worked.

 

But, I'll probably sort out the packet handling stuff, anyway.

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.