001package net.minecraft.client.model;
002
003import cpw.mods.fml.relauncher.Side;
004import cpw.mods.fml.relauncher.SideOnly;
005
006@SideOnly(Side.CLIENT)
007public class ModelSign extends ModelBase
008{
009    /** The board on a sign that has the writing on it. */
010    public ModelRenderer signBoard = new ModelRenderer(this, 0, 0);
011
012    /** The stick a sign stands on. */
013    public ModelRenderer signStick;
014
015    public ModelSign()
016    {
017        this.signBoard.addBox(-12.0F, -14.0F, -1.0F, 24, 12, 2, 0.0F);
018        this.signStick = new ModelRenderer(this, 0, 14);
019        this.signStick.addBox(-1.0F, -2.0F, -1.0F, 2, 14, 2, 0.0F);
020    }
021
022    /**
023     * Renders the sign model through TileEntitySignRenderer
024     */
025    public void renderSign()
026    {
027        this.signBoard.render(0.0625F);
028        this.signStick.render(0.0625F);
029    }
030}