Posted December 30, 20204 yr 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?)
December 30, 20204 yr The method is canInteractWith. Actually for anvil (RepairContainer) it seems to be checking if the block belongs to the ANVIL block tag Check out the port of the BetterEnd fabric mod (WIP): https://www.curseforge.com/minecraft/mc-mods/betterend-forge-port
December 30, 20204 yr Author 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 December 30, 20204 yr 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.