Welcome, guest! Login / Register - Why register?
Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so just use oauth login instead. :)

Paste

Pasted as Java by minedude ( 15 years ago )
package net.minecraft.src;

import java.util.Random;

public class BlockOrnament extends Block
{

    public BlockOrnament(int i, int j)
    {
        super(i, j, Material.rock);
    }

    public int getBlockTextureFromSide(int i)
    {
        if(i == 0)
        {
            return blockIndexInTexture + 1;
        }
        if(i == 1)
        {
            return blockIndexInTexture + 1;
        } else
        {
            return blockIndexInTexture;
        }
    }
}

 

Revise this Paste

Your Name: Code Language: