tutorial:blockentityrenderers
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Last revisionBoth sides next revision | ||
tutorial:blockentityrenderers [2022/12/16 02:28] – solidblock | tutorial:blockentityrenderers [2022/12/17 15:35] – remove vec3f references miir | ||
---|---|---|---|
Line 77: | Line 77: | ||
// Rotate the item | // Rotate the item | ||
- | matrices.multiply(Vec3f.POSITIVE_Y.getDegreesQuaternion((blockEntity.getWorld().getTime() + tickDelta) * 4)); | + | matrices.multiply(RotationAxis.POSITIVE_Y.rotationDegrees((blockEntity.getWorld().getTime() + tickDelta) * 4)); |
} | } | ||
</ | </ |
tutorial/blockentityrenderers.txt · Last modified: 2023/02/09 13:14 by mschae23