Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

So, I've been following a tutorial on how to add power and pipes into the game and once I get to adding the tile entities the block works but the textures won't appear on the blocks.

I have a feeling it's got something to do with the registerProxies method not being run inside of the ClientProxy but if I try and run it in the init method in the main file I get a null pointer exception and I'm not sure why it's returning that.

 

Here's the code.

  • Author

Okay, I know where to look now. I'm going to go make some changes and I'll let to know if I get it to work.

  • Author

Could you point me to where I could find an answer to this like a part of the wiki that explains it or something because I can't seem to find anything at all on using the IProxy class and none of the youtube videos for 1.7.2 or 1.7.10 seem to say you need them even though they're doing stuff with tile entities. The only reason I even have a class that implements it is because a single tutorial I found said that you needed it at the start.

I am on a mobile device some navigating your code is difficult right now however I do not see where you called your proxy methods and I also had a similar issue but I was calling the registrations in the proxy methods before registering my items. Make sure you register the icons after registering the items if that makes sense.

I'll need help, and I'll give help. Just ask, you know I will!

Exactly. if I am not mistaken your iproxy and commonproxy are both a waste, and your client proxy can simply extend your server proxy. Then you can call the method in your serverproxy after registering the items, and you should be all set, or at least on your way!

I'll need help, and I'll give help. Just ask, you know I will!

That's much cleaner than what I did - although it works - I would listen to d over me! (Obviously)

I'll need help, and I'll give help. Just ask, you know I will!

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...

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.