Fork of Poseidon providing Bukkit #1060 to older Beta versions (b1.0-b1.7.3)
1package net.minecraft.server;
2
3import java.util.Random;
4
5public class BlockDeadBush extends BlockFlower {
6
7 protected BlockDeadBush(int i, int j) {
8 super(i, j);
9 float f = 0.4F;
10
11 this.a(0.5F - f, 0.0F, 0.5F - f, 0.5F + f, 0.8F, 0.5F + f);
12 }
13
14 protected boolean c(int i) {
15 return i == Block.SAND.id;
16 }
17
18 public int a(int i, int j) {
19 return this.textureId;
20 }
21
22 public int a(int i, Random random) {
23 return -1;
24 }
25}