2015-03-11 21:34:37 +01:00
|
|
|
package com.pahimar.ee3.client.renderer.model;
|
|
|
|
|
|
|
|
import net.minecraft.client.model.ModelBase;
|
|
|
|
import net.minecraft.client.model.ModelRenderer;
|
|
|
|
|
2023-01-03 17:47:36 +01:00
|
|
|
public class ModelTransmutationTablet extends ModelBase {
|
2015-03-19 02:52:53 +01:00
|
|
|
public ModelRenderer transmutationPad;
|
|
|
|
public ModelRenderer base;
|
2015-03-11 21:34:37 +01:00
|
|
|
|
2023-01-03 17:47:36 +01:00
|
|
|
public ModelTransmutationTablet() {
|
2015-03-19 02:52:53 +01:00
|
|
|
this.textureWidth = 128;
|
|
|
|
this.textureHeight = 58;
|
|
|
|
this.transmutationPad = new ModelRenderer(this, 0, 24);
|
|
|
|
this.transmutationPad.setRotationPoint(0.0F, 0.0F, 0.0F);
|
|
|
|
this.transmutationPad.addBox(-16.0F, 14.0F, -16.0F, 32, 2, 32, 0.0F);
|
|
|
|
this.base = new ModelRenderer(this, 0, 0);
|
|
|
|
this.base.setRotationPoint(0.0F, 0.0F, 0.0F);
|
|
|
|
this.base.addBox(-8.0F, 6.0F, -8.0F, 16, 8, 16, 0.0F);
|
2015-03-11 21:34:37 +01:00
|
|
|
}
|
|
|
|
|
2023-01-03 17:47:36 +01:00
|
|
|
public void renderTransmutationPad(float scale) {
|
2015-03-19 02:52:53 +01:00
|
|
|
this.transmutationPad.render(scale);
|
2015-03-19 04:33:09 +01:00
|
|
|
}
|
|
|
|
|
2023-01-03 17:47:36 +01:00
|
|
|
public void renderBase(float scale) {
|
2015-03-19 02:52:53 +01:00
|
|
|
this.base.render(scale);
|
2015-03-11 21:34:37 +01:00
|
|
|
}
|
|
|
|
}
|