Fork of Poseidon providing Bukkit #1060 to older Beta versions (b1.0-b1.7.3)
1package net.minecraft.server;
2
3public class BlockCloth extends Block {
4
5 public BlockCloth() {
6 super(35, 64, Material.CLOTH);
7 }
8
9 public int a(int i, int j) {
10 if (j == 0) {
11 return this.textureId;
12 } else {
13 j = ~(j & 15);
14 return 113 + ((j & 8) >> 3) + (j & 7) * 16;
15 }
16 }
17
18 protected int a_(int i) {
19 return i;
20 }
21
22 public static int c(int i) {
23 return ~i & 15;
24 }
25
26 public static int d(int i) {
27 return ~i & 15;
28 }
29}