Jump to content

Recommended Posts

Posted

In 1.13 item record requires an integer be passed to its constructor, used as a comparative value. For checking what's already in the jukebox as far as I can tell. How should I handle this?

Posted
1 hour ago, salvestrom said:

For checking what's already in the jukebox as far as I can tell.

If you look at the usages of ItemRecord#getComparatorValue you can see that it is used for the comparator redstone output strength, not for comparing against the record in the jukebox.

You can put whatever you'd like in it, not that you can have more than 16 redstone strength variants anyway, and I doubt players who use modded need your disk to output a uniqie strength anyway.

  • Thanks 1
Posted
27 minutes ago, V0idWa1k3r said:

You can put whatever you'd like in it, not that you can have more than 16 redstone strength variants anyway, and I doubt players who use modded need your disk to output a uniqie strength anyway.

Yeah it doesn't seem like I'll be screwing anything up by passing through a zero. Thanks.

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.