Posted January 29, 201411 yr There is a problem with setTextureOffset i think, reguardless of what values i pass it it displays the same texture, code: DeskItem1.setTextureSize( tile.inventory[1].getItem().getIconIndex(tile.inventory[1]).getIconWidth()*4, tile.inventory[1].getItem().getIconIndex(tile.inventory[1]).getIconHeight()+1); DeskItem1.setTextureOffset( (int) tile.inventory[1].getItem().getIconIndex(tile.inventory[1]).getMinU()*16, (int) tile.inventory[1].getItem().getIconIndex(tile.inventory[1]).getMinV()*16); DeskItem1.render(f); ive tried changing the numbers at the end, i even changed it to +500 yet it displayed exctly the same thing
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.