mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-21 20:52:34 +00:00
31 lines
622 B
Java
31 lines
622 B
Java
package cpw.mods.fml.common;
|
|
|
|
import java.util.Random;
|
|
|
|
import net.minecraft.src.ItemStack;
|
|
import net.minecraft.src.World;
|
|
|
|
/**
|
|
* @author cpw
|
|
*
|
|
*/
|
|
public interface IDispenserHandler
|
|
{
|
|
/**
|
|
* Called to dispense an entity
|
|
* @param x
|
|
* @param y
|
|
* @param z
|
|
* @param xVelocity
|
|
* @param zVelocity
|
|
* @param world
|
|
* @param item
|
|
* @param random
|
|
* @param entX
|
|
* @param entY
|
|
* @param entZ
|
|
* @return
|
|
*/
|
|
int dispense(int x, int y, int z, int xVelocity, int zVelocity, World world, ItemStack item, Random random, double entX, double entY, double entZ);
|
|
}
|