Fix up dispenser handling, add in new params for the dispenser: breaks IDispenseHandler, sorry

This commit is contained in:
Christian committed 2012-08-20 21:44:54 -04:00
1 parent 38f4a22bc4
commit 6e6436ee41
8 files changed
+52 -7

No files matched your search

+3 -2
View File
@@ -195,9 +195,10 @@ public abstract class BaseMod implements cpw.mods.fml.common.modloader.BaseModPr
* @param item
* @return
*/
public boolean dispenseEntity(World world, double x, double y, double z, int xVel, int zVel, ItemStack item)
@Override
public int dispenseEntity(World world, ItemStack item, Random rnd, double x, double y, double z, int xVel, int zVel, double entX, double entY, double entZ)
{
return false;
return -1;
}
/**