mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-18 10:19:08 +00:00
Redo All Puppet Conversions from Old Puppet Job to New ModelRotate
This commit is contained in:
1 parent
4976e059f5
commit
9eb2052bdb
9 files changed
+202
-128
No files matched your search
@@ -5,7 +5,7 @@ import net.minecraft.client.model.ModelBox;
|
||||
import net.minecraft.client.model.ModelRenderer;
|
||||
import net.minecraft.client.renderer.GLAllocation;
|
||||
import net.minecraft.client.renderer.Tessellator;
|
||||
import noppes.npcs.ModelPartConfig;
|
||||
import noppes.npcs.ModelLimbConfig;
|
||||
import org.lwjgl.opengl.GL11;
|
||||
|
||||
public class ModelScaleRenderer extends ModelRenderer {
|
||||
@@ -15,7 +15,7 @@ public class ModelScaleRenderer extends ModelRenderer {
|
||||
/** The GL display list rendered by the Tessellator for this model */
|
||||
public int displayList;
|
||||
|
||||
protected ModelPartConfig config;
|
||||
protected ModelLimbConfig config;
|
||||
|
||||
public float x, y, z;
|
||||
|
||||
@@ -28,7 +28,7 @@ public class ModelScaleRenderer extends ModelRenderer {
|
||||
this.setTextureOffset(par2, par3);
|
||||
}
|
||||
|
||||
public void setConfig(ModelPartConfig config, float x, float y, float z){
|
||||
public void setConfig(ModelLimbConfig config, float x, float y, float z){
|
||||
this.config = config;
|
||||
this.x = x;
|
||||
this.y = y;
|
||||
|
||||
Reference in new issue
Block a user