added server side of the previous commit
This commit is contained in:
parent
db1f438c2d
commit
17c9f9bf9b
1 changed files with 10 additions and 3 deletions
|
@ -8,7 +8,7 @@
|
|||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Random;
|
||||
@@ -384,26 +385,43 @@
|
||||
@@ -384,26 +385,50 @@
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
@ -18,6 +18,13 @@
|
|||
+ {
|
||||
+ return func_40162_a(fortune, random);
|
||||
+ }
|
||||
+
|
||||
+ /* FORGE: Metadata-sensitive version.
|
||||
+ */
|
||||
+ public int quantityDropped(int meta, Random random)
|
||||
+ {
|
||||
+ return quantityDropped(meta, 0, random);
|
||||
+ }
|
||||
+
|
||||
public int idDropped(int i, Random random, int j)
|
||||
{
|
||||
|
@ -65,7 +72,7 @@
|
|||
public final void dropBlockAsItem(World world, int i, int j, int k, int l, int i1)
|
||||
{
|
||||
dropBlockAsItemWithChance(world, i, j, k, l, 1.0F, i1);
|
||||
@@ -415,18 +433,14 @@
|
||||
@@ -415,18 +440,14 @@
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
@ -87,7 +94,7 @@
|
|||
}
|
||||
|
||||
}
|
||||
@@ -725,6 +739,99 @@
|
||||
@@ -725,6 +746,99 @@
|
||||
return blockMaterial.getMaterialMobility();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue