Jump to content

Recommended Posts

Posted

I want to creat a custom Anvil but i cant open the Gui the Custom Anvil Class extends the Vanilla Anvil

I know there is a Methode in the Vanilla Gui which binds the gui to the block but where can i find this method (name? / class name?)

Posted (edited)
21 minutes ago, Beethoven92 said:

The method is canInteractWith. Actually for anvil (RepairContainer) it seems to be checking if the block belongs to the ANVIL block tag

I've already seen that and I've added my block to the tag but it dont work

(now it works)

Edited by Luis_ST

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.