blob: 12a0628555f25299879800c8b789b772fd1d1bb8 (
plain)
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
42
43
44
45
46
47
48
49
50
51
|
package net.minecraft.server;
public class InventoryCraftResult implements IInventory {
private ItemStack[] a = new ItemStack[1];
// CraftBukkit start
public ItemStack[] getContents() {
return a;
}
// CraftBukkit end
public InventoryCraftResult() {}
public int h_() {
return 1;
}
public ItemStack a(int i) {
return this.a[i];
}
public String b() {
return "Result";
}
public ItemStack b(int i, int j) {
if (this.a[i] != null) {
ItemStack itemstack = this.a[i];
this.a[i] = null;
return itemstack;
} else {
return null;
}
}
public void a(int i, ItemStack itemstack) {
this.a[i] = itemstack;
}
public int c() {
return 64;
}
public void d() {}
public boolean a_(EntityHuman entityhuman) {
return true;
}
}
|