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

I have a weird problem. I have a TESR that used to work fine. i.e. if I have multiple blocks that all use that TESR then they would all render fine. However, today I upgraded my CoFH in the dev env to the latest. I was still using a very old CoFH. And now only one block shows. I already debugged stuff and it appears that the TESR render code is only called for one of my blocks. If I break that block then another block will be rendered. But always just one.

 

I have no clue why this appears after updating CoFH as I don't see a relation with that. However, I was already having a similar issue with another TESR in my mod. In my dev env that used to work fine but I had already noticed that in my own custom modpack (which was already using a recent CoFH) it wasn't rendering properly either. i.e. again only one would render.

 

So... I'm probably doing my TESR wrong but I have no clue what or how. Here is the relevant code:

 

https://github.com/McJty/RFTools/tree/master/src/main/java/com/mcjty/rftools/blocks/screens

 

The relevant TESR is ScreenRenderer.java and it is attached to the ScreenTileEntity class.

 

Any hints as to what I'm doing wrong would help a lot as I'm out of idea. It is probably something stupid. Thanks!

  • Author

I'm wondering if this could be a TESR culling issue. But the blocks to which the TESR belongs are clearly in view.

  • Author

I found the issue. I had equals/hashCode defined in my TE superclass which apparently for some reason confused the MC renderer. Removing that (as it was actually not needed) solved everything. Not sure why updating CoFH triggered this however.

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.