-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Here is a simple item overlay that just fills a black square next to every item.
object TestOverlayRenderer : ItemOverlayRenderer {
override fun isActive(stack: ItemStack) = true
override fun render(stack: ItemStack, graphics: DrawContext) {
graphics.fill(1, 1, 4, 4, (0xff_000000).toInt())
}
}However in the image below, you can see that only items with flat textures ( not blocks ) have a visible overlay. I have experimented transforming the matrix stack provided by graphics.getMatrices() and found that it is not failing it to render; the block transformations just make it render rotated in such a way that it gets culled from behind or doesn't render.

Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working