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

Is it possible to render techne model with ISimpleBlockRenderingHandler?

Featured Replies

Any time i try to render, i get «already tessellating» on modelMy.render((Entity)null, 0.0F, 0.0F, -0.1F, 0.0F, 0.0F, 0.0625F); even if the whole render method is just

public boolean renderWorldBlock(IBlockAccess world, int i, int j, int k, Block block, int modelId, RenderBlocks renderer){
   if(modelId == this.renderStuffId){
   modelMy.render((Entity)null, 0.0F, 0.0F, -0.1F, 0.0F, 0.0F, 0.0625F);
   return true;
}

Any ideas?


I do NOT want TE, because it consumes more resources, if my memory doesn't fail me.

If i helped you, don't forget pressing "Thank You" button. Thanks for your time.

I've seen that error before, not sure what the problem was.  Check your tessellator.startDrawing() and tessellator.draw() calls, they should match up like GL11.glPushMatrix() and GL11.glPopMatrix().

  • Author

I've seen that error before, not sure what the problem was.  Check your tessellator.startDrawing() and tessellator.draw() calls, they should match up like GL11.glPushMatrix() and GL11.glPopMatrix().

public boolean renderWorldBlock(IBlockAccess world, int i, int j, int k, Block block, int modelId, RenderBlocks renderer){
   if(modelId == this.renderStuffId){
   modelMy.render((Entity)null, 0.0F, 0.0F, -0.1F, 0.0F, 0.0F, 0.0625F);
   return true;
}

There are none of those calls in my code, and if i comment modelMy.render() game works fine...

If i helped you, don't forget pressing "Thank You" button. Thanks for your time.

Not sure if this helps, but this is how I render my model as a block. I'm still having a slight directional issue but this works.

https://github.com/x...eEntity-EXAMPLE

 

Your link doesn't work, but from what I can see of it it's using a TileEntity?

width=463 height=200

http://s13.postimg.org/z9mlly2av/siglogo.png[/img]

My mods (Links coming soon)

Cities | Roads | Remula | SilvaniaMod | MoreStats

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.

Account

Navigation

Search

Search

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.