wiki通知情報

2023年10月からルールが変更されています。再度ルールをご確認ください。
更新情報(2021/5/5) / 重要告知(2021/5/9)

差分

このページの2つのバージョン間の差分を表示します。

この比較画面にリンクする

test4 [2012/03/10 22:27] (現在)
ecolight 作成
行 1: 行 1:
  
 +コード貼り付けテスト。
 +ハイライトされるはず。
 +
 +<code java>
 +public class BlockTNT extends Block
 +{
 +
 +    public BlockTNT(int i, int j)
 +    {
 +        super(i, j, Material.tnt);
 +    }
 +
 +    public int getBlockTextureFromSide(int i)
 +    {
 +        if(i == 0)
 +        {
 +            return blockIndexInTexture + 2;
 +        }
 +        if(i == 1)
 +        {
 +            return blockIndexInTexture + 1;
 +        } else
 +        {
 +            return blockIndexInTexture;
 +        }
 +    }
 +</code>
プリント/エキスポート
QRコード
QR Code test4 (generated for current page)