Jump to content

Recommended Posts

Posted

Hi, I'm starting to code a multiblock device, 3x3x3 and I'm now looking for some wisdom :)

There is a master TE, a slave TE, a TE for receiving the input and another for giving the output.

 

I was thinking, are slave TEs really needed in this particular case? The other TEs (I/O) do more than checking if the master still exists.

Couldn't those I/O TEs also check for the master and if the other blocks, blocks without TEs, are in place?

This would surely increase performance.

 

Also, I'd like to try to code the multiblock in a way that there are actually only 2 TEs, master and slave, with the slave TEs checking for master and, based on their position from it (and so their location in the multiblock) operating with different behaviour (receiving input / spitting output).

Of course, the slave would only be spawned based on the block's position, where the input and output locations will be.

Is this a wild dream?

 

 

Posted

I was thinking, are slave TEs really needed in this particular case? The other TEs (I/O) do more than checking if the master still exists.

Couldn't those I/O TEs also check for the master and if the other blocks, blocks without TEs, are in place?

This would surely increase performance.

Yes thats possible.

 

Also, I'd like to try to code the multiblock in a way that there are actually only 2 TEs, master and slave, with the slave TEs checking for master and, based on their position from it (and so their location in the multiblock) operating with different behaviour (receiving input / spitting output).

Of course, the slave would only be spawned based on the block's position, where the input and output locations will be.

Is this a wild dream?

 

Should also be possible, but take some mind power to make it work. U could simply do checks like "if the block is in the lowest row only output if the tank is 20% filled"

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.