Jump to content

These ints won't rise!


KeeganDeathman

Recommended Posts

I have this class

https://github.com/KeeganDeathman/DeathmanLabsStuff/blob/master/main/java/keegan/dlstuff/tileentity/TileEntityAcceleratorTube.java

in the updateSides function, it is supposed to check to see which of the legal scenarios the pipe is, and then update the pipelines internal settings to reflect if there is a new corner or straight. The detector boolean is updated whn I check the NBTS with NBTExplorer, but the ints are not, nor is anything else. Hmmmm.

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

Link to comment
Share on other sites

In case you are wondering, yes the function is getting called with what seems to be correct variables. It is called in the tubes renderer.

Wait, duh. O.M.G.

SERVER-CLIENT SIDE CONFLICTS!

Be right back, I'm gonna rewrite the way this works.

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

Link to comment
Share on other sites

Okay, now the values dont evenly distbute around the ring. All tubes are aware of only one corner, some only know of one straight, 8 straights, 11 straights, 10 straights. There's 27 straights. 11 on each side, 3 on one end, 2 on the other, the third middle block is the detector core.

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

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.