zh_cn:tutorial:blockentityrenderers
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
zh_cn:tutorial:blockentityrenderers [2023/08/29 09:59] – [例子] wjz_p | zh_cn:tutorial:blockentityrenderers [2023/08/29 10:31] (current) – [例子] wjz_p | ||
---|---|---|---|
Line 80: | Line 80: | ||
// 旋转物品 | // 旋转物品 | ||
- | matrices.multiply(Vec3f.POSITIVE_Y.getDegreesQuaternion((blockEntity.getWorld().getTime() + tickDelta) * 4)); | + | matrices.multiply(RotationAxis.POSITIVE_Y.rotationDegrees((blockEntity.getWorld().getTime() + tickDelta) * 4)); |
} | } | ||
</ | </ |
zh_cn/tutorial/blockentityrenderers.1693303165.txt.gz · Last modified: 2023/08/29 09:59 by wjz_p