Рендер линии в BlockEntityRender [Fabric 1.18.2]

Версия Minecraft
1.18.2
API
Fabric
4
1
0
matrices.push();
Matrix4f matrixPos = matrices.peek().getPositionMatrix();
VertexConsumer buffer = vertexConsumers.getBuffer(RenderLayer.getLines());
buffer.vertex(matrixPos,0f,0f,0f).color(0f,0f,1f,1f).next();
buffer.vertex(matrixPos,2f,2f,2f).color(0f,0f,1f,1f).next();;
matrices.pop();

выдаёт ошибку java.lang.illegalstateexception: not filled all elements of the vertex
помогите пожалуйста
 
Сверху