Jump to content
  • Sky
  • Blueberry
  • Slate
  • Blackcurrant
  • Watermelon
  • Strawberry
  • Orange
  • Banana
  • Apple
  • Emerald
  • Chocolate
  • Charcoal
  • 0
Exabyte the Protogen

Transposer Troubles

Question

I've been playing Minecraft with a few friends, and we're playing some Stone Block 2.
After manually adding OpenComputers to it, I decided to try and automate a few things.

Right now, I'm trying to automate the breeding of better resource chickens (from Roost), and I'm using transposers to do it.

The issue is that there doesn't seem to be a way to distinguish chickens by their stats. The best I can get is using getAllStacks(1)[1] to see the chicken in the first slot of the breeding roost on top of the transposer. All this gives me is its name, max stack size, current stack size, internal name, damage/max damage, and its "hasTag" value that I guess is whether it has attached data.

I need to know if there's any way to find data about an item, whatever form it may be in. Is this possible with Transposers, or should I look for another solution?

Link to post
Share on other sites

1 answer to this question

Recommended Posts

  • 0

This is normally impossible, as OpenComputers hides item Nbt data by default (to ensure no one can read possible secret data that is hidden in the nbt data)

You can, however, change config option 'allowItemStackNBTTags' inside 'vanilla' inside 'integration' to 'true', allowing you to read the NBT data in GZIP format. However, the data card uses ZLIB. Fortunately, from what I can find, GZIP is basically ZLIB with a header, so it shouldn't be hard to make a program that ignores the header and then decompresses it as ZLIB.

Link to post
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
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  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.

Loading...

×
×
  • Create New...

Important Information

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