Jump to content

Recommended Posts

Posted (edited)

Hello. I have been trying to change the behaviour of the note block using mixin. Currently it is expected to send a message in logger when I click the noteblock. Does not work and I am not sure what the problem is. This is some of my code and it'd be appreciated if anyone could point out what's wrong.

(I suspect I have to add nbaddons.refmap.json somewhere?)

 

Note: Code is removed because I decided to resort to other methods. Note that this thread provides no answer to the problem mentioned.

Edited by monkeysHK
Posted

My goal is to add NBT tags on picking up note block (ctrl+middle click in creative mode like for chest containing items, where it will show "+NBT" and will have the items in it)

Should I coremod to add a custom tile entity (with nbt values) to the vanilla note block?

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.