-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBlockCloth.java
More file actions
41 lines (34 loc) · 849 Bytes
/
BlockCloth.java
File metadata and controls
41 lines (34 loc) · 849 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
package net.minecraft.src;
// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3) braces deadcode
public class BlockCloth extends Block
{
public BlockCloth()
{
super(35, 64, Material.cloth);
}
public int getBlockTextureFromSideAndMetadata(int i, int j)
{
if(j == 0)
{
return blockIndexInTexture;
} else
{
j = ~(j & 0xf);
return 113 + ((j & 8) >> 3) + (j & 7) * 16;
}
}
protected int damageDropped(int i)
{
return i;
}
public static int func_21034_c(int i)
{
return ~i & 0xf;
}
public static int func_21035_d(int i)
{
return ~i & 0xf;
}
}