You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
873 B
Java
30 lines
873 B
Java
package net.minecraft.client.model;
|
|
|
|
import cpw.mods.fml.relauncher.Side;
|
|
import cpw.mods.fml.relauncher.SideOnly;
|
|
|
|
@SideOnly(Side.CLIENT)
|
|
public class ModelSign extends ModelBase
|
|
{
|
|
/** The board on a sign that has the writing on it. */
|
|
public ModelRenderer signBoard = new ModelRenderer(this, 0, 0);
|
|
/** The stick a sign stands on. */
|
|
public ModelRenderer signStick;
|
|
private static final String __OBFID = "CL_00000854";
|
|
|
|
public ModelSign()
|
|
{
|
|
this.signBoard.addBox(-12.0F, -14.0F, -1.0F, 24, 12, 2, 0.0F);
|
|
this.signStick = new ModelRenderer(this, 0, 14);
|
|
this.signStick.addBox(-1.0F, -2.0F, -1.0F, 2, 14, 2, 0.0F);
|
|
}
|
|
|
|
/**
|
|
* Renders the sign model through TileEntitySignRenderer
|
|
*/
|
|
public void renderSign()
|
|
{
|
|
this.signBoard.render(0.0625F);
|
|
this.signStick.render(0.0625F);
|
|
}
|
|
} |