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

Hi

 

I don't see any obvious problems that would cause lag.  How complicated is the model? (# of vertices)?

 

Just a thought - your AWPRender class is only created once, right?  You're not creating a fresh instance every frame (or every worse - every item render?) Might be worth putting a breakpoint or System.out.println("constructed"); into the constructor.

 

-TGG

  • Author

Just one print from the constructor(I forget that I register the render in ClientProxy with MCForgeClient.registerItemRender). Also, I think the problem is that the model is too complicated... 1.2 MB, there are more than 12000 vertices!

I think the problem is that the model is too complicated... 1.2 MB, there are more than 12000 vertices!

Yeah that's quite large for minecraft.

Try a model with less vertices (say 120) and see if your lag goes away... if so, perhaps you should consider simplifying your model :)  Minecraft is supposed to look blocky, after all...

 

-TGG

  • Author

Yes, Minecraft is still made of blocks with a few magic things. Anyway, thanks for your help.!

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.