BiomesOPlenty/common/biomesoplenty/entities/projectiles/DispenserBehaviorDart.java

16 lines
500 B
Java
Raw Normal View History

2013-07-03 07:51:39 +00:00
package biomesoplenty.entities.projectiles;
import net.minecraft.dispenser.BehaviorProjectileDispense;
import net.minecraft.dispenser.IPosition;
import net.minecraft.entity.IProjectile;
import net.minecraft.world.World;
public class DispenserBehaviorDart extends BehaviorProjectileDispense
{
2013-05-31 10:34:02 +00:00
@Override
protected IProjectile getProjectileEntity(World par1World, IPosition par2IPosition)
2013-05-31 10:34:02 +00:00
{
return new EntityDart(par1World, par2IPosition.getX(), par2IPosition.getY(), par2IPosition.getZ());
}
}