diff --git a/src/main/java/codechicken/lib/render/CCModel.java b/src/main/java/codechicken/lib/render/CCModel.java index 568144a4..4c953e4d 100644 --- a/src/main/java/codechicken/lib/render/CCModel.java +++ b/src/main/java/codechicken/lib/render/CCModel.java @@ -364,6 +364,13 @@ public CCModel setColour(int c) { return this; } + public CCModel setTex(int tex) { + for (Vertex5 vert : verts) { + vert.uv.tex = tex; + } + return this; + } + /** * Computes the minecraft lighting coordinates for use with a LightMatrix *