Posted April 19, 20223 yr Hi there, I made a new container, screen, block entity and block for a new machine in my mod. However, despite mostly copying code from my other similar machine, when I leave game and rejoin, the block no longer opens its screen. (Works fine with the original machine) I've checked the differences three times and I just don't understand- what am I missing? Block: https://pastebin.com/umfbqnYw Block Entity: https://pastebin.com/VZQ1YkDB Menu/Container: https://pastebin.com/4m0Stnt7 Screen: https://pastebin.com/0qW8yjBG Thank you in advance for any possible help!
April 19, 20223 yr Author Oh my gosh, I uh messed it up lmao https://pastebin.com/M17HhB2p It was late at night and I sent the wrong Class . That's the other machine. Here is the right one
April 19, 20223 yr Author 22 minutes ago, diesieben07 said: The block entity you showed still uses a BlockEntityType called CRAFTER. I changed it to use my BlockEntityType.PLATING_PRESS shortly after sending that message; error still persists.
April 19, 20223 yr Author Here are the right classes (I made sure) Block: https://pastebin.com/q7d7GP0v Block Entity: https://pastebin.com/ACEUPZAP Menu: https://pastebin.com/JBccGb1Q Screen: https://pastebin.com/E0P0YxRS
April 19, 20223 yr Author 6 hours ago, diesieben07 said: Please post a Git repo of your mod. https://github.com/Crescentine/Trajans-Tanks-1.18 Here.
April 20, 20223 yr Author For me, when I load the game and open a world I already made though it doesn't open! When you first place it down it does, but if you leave game and rejoin it doesn't.
April 20, 20223 yr Author Oh and now like magic it loads fine. Goddammit. It must've been the changes I made right before comitting to github or something (didn't touch it afterwards). I swear, I didn't just come here to troll you. Thanks for helping me!
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.